PDA

View Full Version : strange error



snk_naveen
12-30-2009, 10:16 PM
hi friends ,
i was trying to compile a program from a tutorial in extreme electronics

http://extremeelectronics.co.in/avr-tutorials/using-the-analog-to-digital-converter/

but a strange error occured ...
make: *** No rule to make target `../../New', needed by `lcd.o'. Stop.

i dont know what it means . please suggest a solution..
and can someone tell me what is a makefile ????

pratheek
12-31-2009, 08:59 AM
I'm not too sure, but have you created the makefile for the program?

snk_naveen
12-31-2009, 11:16 AM
hi pratheek,i said i dont know what a makefile is what it is used for ..i copied the makefile provided in the website and changed the settings to use external makefile.the build suceeded but i got this error message and no hex file was created!!!!

gcc plug-in: Error: Object file not found on expected location C:\c programs\mylcd\mylcd.elf
Make sure your makefile specifies the output .elf file as mylcd.elf

avinash_g
12-31-2009, 12:39 PM
Only if you had followed the steps given in the previous tutorial to setup AVR-GCC + AVRStudio you should not have fallen in the pit for the first time !!!

http://extremeelectronics.co.in/avr-tutorials/part-iv-the-hello-world-project/

Also I remember I deleted the same comment from by Website this morning!

I feel pity on those you can't even setup the tool chain

Did you forget to read the NOTE in the bottom of that page????????

I problem with u guys is that you DON'T KNOW WHAT R U DOING

I am sorry if i am little rude. I am tiered deleting such qustions from by Website the questions simply has no meaning and such guys can't be helped really