[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Compile error libm.a/libc.a
From: |
Yigit Turgut |
Subject: |
Re: [avr-gcc-list] Compile error libm.a/libc.a |
Date: |
Tue, 12 Jul 2011 14:01:13 +0300 |
Yes I suppose it's not broken because I configured and built from
source (respectively from slackbuild) ;
avr-gcc 4.4.4
avr-libc 1.71
avr-dude 5.10
binutils 2.21
arduino 0.22
If install was broken I couldn't complete compile / make / install
procedure, slackbuild makes sure of this in my experience.
On Tue, Jul 12, 2011 at 1:46 PM, Georg-Johann Lay <address@hidden> wrote:
> 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.
>
>
>
Re: [avr-gcc-list] Compile error libm.a/libc.a, Weddington, Eric, 2011/07/14