[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Re: multiple definition of `__bad_interrupt'

From: Heike C. Zimmerer
Subject: [avr-gcc-list] Re: multiple definition of `__bad_interrupt'
Date: Tue, 09 Jun 2009 10:59:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Thomas D. Dean" <address@hidden> 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

-lc is default, so I removed this too.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]