Tema: Re: nepaleidziu win awr
Autorius: AMB
Data: 2012-02-19 20:40:54
Zodziu mistika, nes man tai meta
 make.exe: *** No rule to make target `main.elf', needed by `elf'.  Stop.
be to pasirodo kai padariau make clean, tai nebekompiliuoja ir to projekto 
kuri kompiliavo, meta ta pacia klaida.


"Levas" <kazkur@pasbobute.lt> wrote in message 
news:jhnl8d$b18$1@trimpas.omnitel.net...
> nzn. Jei paprastas projektas, vienintele nuoroda make file buna i koki 
> kintamaji, kurio verte tavo projekto pagrindinis motininis failas.
> As make failu per daug nekaitalioju ir tik biski paredaguoju.
>
> Mano naudojam makefile kaitalioju:
>
> MCU= atmega16
> TARGET=main
>
> Nors makefile galima nurodyti papildomus source, as juos stengiuos ideti 
> per <include> pacioje programoje.
> F_CPU irgi perkeliau i pagrindine programa, kad viskas butu vienoje 
> vietoje.
>
> Jei buna kokiu nors asemblerio navarotu (kaip pas USB)
>
> ASRC= ...
>
> Nu ir programatorius pasirinktas, kad iskarto ir uzprogramuotu cipa.
>
>
> Beja, tavo duotas make failas puikiausiai veikia su mano paskutiniu 
> projektu. Viskas susikompiliavo.
> -- 
> Bye, Levas
> --
> http://www.vabolis.lt
>
>
> "AMB" <dfgdgjj@dgdghg.lt> wrote in message 
> news:jhmhv9$fqb$1@trimpas.omnitel.net...
>> Reikalai pajudejo i gera puse. Kazkieno rasyta projekta jau 
>> sukompiliuoju,
>> bet savo tu keliu eiluciu ne.
>> Ismeta
>> make.exe: *** No rule to make target `main.elf', needed by `elf'.  Stop.
>> Makefile viduje nurodau tik to failo pavadinima kuriame rasau teksta, ar 
>> dar
>> reikia kazkokius failus itraukti ?
>>
>>
>> "Levas" <kazkur@pasbobute.lt> wrote in message
>> news:jhmgq8$ep2$1@trimpas.omnitel.net...
>>> nu path tai ne failas o sistemos kintamasis:
>>>
>>> C:\Documents and Settings\User.ZANZIBARASIII>path
>>> PATH=C:\perl\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\Program 
>>> Files\NVIDIA
>>> Corpo
>>> ration\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>>> C:\Documents and Settings\User.ZANZIBARASIII>
>>>
>>> ziureti vaizdine priemone prikabinta prie zinutes.
>>>
>>>
>>> -- 
>>> Bye, Levas
>>> --
>>> http://www.vabolis.lt
>>>
>>>
>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>> news:jhmge1$ec7$1@trimpas.omnitel.net...
>>>> radau path1 ir patch2 failus, juose ir bus beda:
>>>>
>>>> D:\Borland\Inprise\vbroker\bin;D:\Borland\Delphi7\Bin;D:\Borland\Delphi7\Projects\Bpl\;C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program
>>>> Files\NVIDIA
>>>> Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
>>>> Files\QuickTime\QTSystem\;C:\Program Files\RemObjects
>>>> Software\Oxygene\bin
>>>>
>>>> kas tavo faile nukopink
>>>>
>>>>
>>>>
>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>> news:jhmg5i$e32$1@trimpas.omnitel.net...
>>>>> pakeliui dar visual studio 2010 parsisiusti :) .... matyt taip 
>>>>> lengviau
>>>>> nei PATH komanda perziureti... Arba kai instaliavosi, reikejo "leisti
>>>>> modifikuoti path".
>>>>>
>>>>> -- 
>>>>> Bye, Levas
>>>>> --
>>>>> http://www.vabolis.lt
>>>>>
>>>>>
>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>> news:jhmg07$dt5$1@trimpas.omnitel.net...
>>>>>> turiu instaliaves kompe Borland Delphi, gal jis ka daro. Siunciu
>>>>>> avrstudio5
>>>>>> mazu su juo geriau seksis :)
>>>>>>
>>>>>>
>>>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>>>> news:jhmf60$d1p$1@trimpas.omnitel.net...
>>>>>>> nieko tu nesupratai. Tu tikriausiai turi Borlando paketa kazkoki su
>>>>>>> savo
>>>>>>> "make". O WinAVR ir kitiems siulaikiniams GNU reikia gnu make. 
>>>>>>> WinAVR
>>>>>>> turejo instaliuoti ta make ir taip pat papildyti PATH kintamaji.
>>>>>>> Taciau
>>>>>>> matyt tame PATH ar windows sisteminiose direktorijose yra kazkur
>>>>>>> kazkoks
>>>>>>> senovinis make kuris ir knisa prota.
>>>>>>>
>>>>>>> todel arba turi issinstaliuoti sena make, arba patiuninti PATH
>>>>>>> kintamaji
>>>>>>> arba kazkaip nurodyti absoliutu kelia iki make.
>>>>>>>
>>>>>>> Beja tas pats make tinka ir windowsinem programom kompiliuoti...
>>>>>>> -- 
>>>>>>> Bye, Levas
>>>>>>> --
>>>>>>> http://www.vabolis.lt
>>>>>>>
>>>>>>>
>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>> news:jhmdjr$bdc$1@trimpas.omnitel.net...
>>>>>>>> beje cia perskaiciau
>>>>>>>> http://www.dreifas.net/tikriausiai-paskutinis-winavr
>>>>>>>> tai kaip cia suprasti jau nebepalaikomas tas softas? gal tada 
>>>>>>>> geriau
>>>>>>>> naudot
>>>>>>>> Avrstudio5?
>>>>>>>>
>>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>>> news:jhmcup$aju$1@trimpas.omnitel.net...
>>>>>>>>> parsisiunciau is cia http://winavr.sourceforge.net/
>>>>>>>>> gal is kur kitur siustis?
>>>>>>>>>
>>>>>>>>> programos tekstas:
>>>>>>>>>
>>>>>>>>> include <avr/io.h>
>>>>>>>>>
>>>>>>>>> int main (void) {
>>>>>>>>>
>>>>>>>>>   DDRB  = 0xFF;
>>>>>>>>>   PORTB = 0x03;
>>>>>>>>>
>>>>>>>>>   while(1) {
>>>>>>>>>      }
>>>>>>>>>
>>>>>>>>>      return 0;
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> makefile prisegu, realiai nelabai ten ka pakeiciau kaip buvo.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>>>>>>> news:jhmc1n$9hb$1@trimpas.omnitel.net...
>>>>>>>>>> tai win AVR ar Win AWR? Nes su W tai nezinau.
>>>>>>>>>>
>>>>>>>>>> Jei tai AVR tai:
>>>>>>>>>>
>>>>>>>>>> Parodyk makefaila ir projekta.
>>>>>>>>>>
>>>>>>>>>> Ar prikabintas kompiliuojasi?
>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>>>> Bye, Levas
>>>>>>>>>> --
>>>>>>>>>> http://www.vabolis.lt
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>>>>> news:jhmb48$8bp$1@trimpas.omnitel.net...
>>>>>>>>>>> sugalvojau isbandytti WinAwr. Parsisiunciau, susikuriu nauja
>>>>>>>>>>> projekta,
>>>>>>>>>>> sukuriu c/c++ faila su programeriu notepadu, issaugau, prijungiu
>>>>>>>>>>> prie
>>>>>>>>>>> projekto, pridedu Makefile, spaudziu Make All ir nesuprantu kame
>>>>>>>>>>> reikalas,
>>>>>>>>>>> ismeta :
>>>>>>>>>>>
>>>>>>>>>>> MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
>>>>>>>>>>> Error makefile 463: Command syntax error
>>>>>>>>>>> Error makefile 464: Command syntax error
>>>>>>>>>>> Error makefile 465: Command syntax error
>>>>>>>>>>> Error makefile 466: Command syntax error
>>>>>>>>>>> Error makefile 469: Command syntax error
>>>>>>>>>>> Error makefile 470: Command syntax error
>>>>>>>>>>> Error makefile 472: Command syntax error
>>>>>>>>>>> Error makefile 473: Command syntax error
>>>>>>>>>>> Error makefile 475: Command syntax error
>>>>>>>>>>> Error makefile 477: Command syntax error
>>>>>>>>>>> Error makefile 478: Command syntax error
>>>>>>>>>>> Error makefile 533: Colon expected
>>>>>>>>>>> Error makefile 542: Colon expected
>>>>>>>>>>> Error makefile 564: Too many rules for target './%.o'
>>>>>>>>>>> Error makefile 574: Too many rules for target '%.s'
>>>>>>>>>>> Error makefile 581: Too many rules for target './%.o'
>>>>>>>>>>> Error makefile 612: Command syntax error
>>>>>>>>>>> *** 17 errors during make ***
>>>>>>>>>>>
>>>>>>>>>>>> Process Exit Code: 1
>>>>>>>>>>>> Time Taken: 00:00
>>>>>>>>>>>
>>>>>>>>>>> Paziuriu makefile faile 463 eilute yra:  @echo load  >>
>>>>>>>>>>> $(GDBINIT_FILE)
>>>>>>>>>>> Ko truksta?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>