[En-Nut-Discussion] Example NutRegisterDevice(&devLcd, 0, 0)

Grahame M. Kelly grahame at wildpossum.com
Fri Jun 3 13:32:04 CEST 2005


On Fri, 3 Jun 2005 20:31, Oliver Schulz wrote:
> I'm not sure, but it's a first suggestion. I strumbled over one line in
>
> your make process:
> > avr-gcc nutlcd.o .o -mmcu=atmega128
> > -Wl,--defsym=main=0,-Map=nutlcd.map,--cref
> > -L/AVR/GMK/AVR/EtherNUT/ethernut-3.9/nut/lib/
> > /AVR/GMK/AVR/EtherNUT/ethernut-3.9
> > /nut/lib//nutinit.o  -lnutnet -lnutpro -lnutfs -lnutos
> > -lnutdev -lnutnet
> > -lnutcrt -lnutdev -o nutlcd.elf
>
> After the first object file named "nutlcd.o" there is another parameter
> ".o" which doesn't make sense to me.
> Unfortunately the attached makefile didn't make it to the list, so I
> cannot so what's going on there...
> Perhaps it's a good first try to get rid of this single .o parameter.

Hi Oliver & Ole.

That was it. Sorry I didn't see it myself.
Correcting the makefile as you suggested fixed the problem.
Now I can get back into my development role as my frustration has evaporated.

Thanks guys for your timely and expert assistance. 

----------------------------------------
Regards. Grahame



More information about the En-Nut-Discussion mailing list