avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Compile error libm.a/libc.a


From: Georg-Johann Lay
Subject: Re: [avr-gcc-list] Compile error libm.a/libc.a
Date: Tue, 12 Jul 2011 12:46:45 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100302)

Yigit Turgut wrote:
> Hi,
> 
> I have a full Slackware 13.37 x64 install and I am trying to make
> Arduino  work. I am receiving the following error when I try to
> compile the code ;

Please give the command line you used to call gcc together with -v.

> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libm.a when searching
> for -lm
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libm.a when searching for
> -lm
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lm
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/avr5/libgcc.a when searching for -lgcc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/libgcc.a when searching for -lgcc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lgcc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/avr5/libc.a when searching
> for -lc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/../../../../avr/lib/libc.a when searching for
> -lc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/avr5/libgcc.a when searching for -lgcc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: skipping incompatible
> /usr/lib/gcc/avr/4.4.4/libgcc.a when searching for -lgcc
> /usr/lib/gcc/avr/4.4.4/../../../../avr/bin/ld: cannot find -lgcc

You are sure the installation is correct and not broken?

> I double checked everything I did in install procedure, this error
> shouldn't exists in my opinion. Files are there but avr-gcc doesn't
> seem to recognize them. I would appreciate if experienced users could
> provide some insight on this.





reply via email to

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