"Thomas D. Dean" <tomd...@speakeasy.org> writes:

> I think I missed something.
>
> I am using the packages: avr-gcc 4.3.2 and avr-libc 1.6.2.cvs100810-2 on
> Ubuntu 9.04.
>
> I get several multiple definition errors
>
> avr-gcc  -Os  -mmcu=atmega128 hello.o hello -o hello.elf  -lc

Shouldn't this read

 avr-gcc  -Os  -mmcu=atmega128 hello.c -o hello.elf 

?  
Your command line contains two instances of hello as input files
(once without any suffix - don't know what type of file that corresponds
to).

-lc is default, so I removed this too.

Heike



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to