[Buildroot] iproute2 failing for x86_64 with ext. toolchain

Pkun serj.kalichev at gmail.com
Thu Dec 9 17:28:26 UTC 2010


2010/12/9 Heiko Zuerker <heiko at zuerker.org>

> Quoting Gustavo Zacarias <gustavo at zacarias.com.ar>:
>
>  On 12/07/10 19:21, Heiko Zuerker wrote:
>>
>>  Hey,
>>>
>>> the iproute2 compile fails with:
>>> -------------------
>>>
>>> /data/devil-linux/../x-tools/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc
>>> --sysroot=/data/devil-linux/output/staging -Wl,-export-dynamic  ip.o
>>> ipaddress.o ipaddrlabel.o iproute.o iprule.o rtm_map.o iptunnel.o
>>> ip6tunnel.o tunnel.o ipneigh.o ipntable.o iplink.o ipmaddr.o ipmonitor.o
>>> ipmroute.o ipprefix.o iptuntap.o ipxfrm.o xfrm_state.o xfrm_policy.o
>>> xfrm_monitor.o iplink_vlan.o link_veth.o link_gre.o iplink_can.o
>>> iplink_macvlan.o ../lib/libnetlink.a ../lib/libutil.a  -lresolv -L../lib
>>> -lnetlink -lutil -ldl -o ip
>>> ../lib/libnetlink.a: could not read symbols: Archive has no index; run
>>> ranlib to add one
>>> collect2: ld returned 1 exit status
>>> ------------------------
>>>
>>
>> Can you upload a full build log of the relevant (iproute2) part somewhere?
>> Thanks.
>>
>
> It's on pastebin: http://pastebin.com/hRhJKpkN
>
>
> --
>
> Regards
>  Heiko Zuerker
>  http://www.devil-linux.org
>
>
I think that 'ar' is used from the host but not your
x86_64-unknown-linux-gnu-ar. It can be uncompatible I suppose.

 _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101209/691ef714/attachment-0002.html>


More information about the buildroot mailing list