Saturday, February 6, 2010

Re: [nslu2-linux] Problem compiling bonjour on SlugOS 5.3 beta - hidden symbol

 

jbronsted wrote:
> Hi
>
> Im trying to compile bonjour for SlugOS 5.2 beta on a NSLU2:
> http://developer.apple.com/opensource/internet/bonjour.html
>
> However, ld tells me that the hidden symbol __aeabi_uidiv in libgcc.a is referenced by DSO. Does anybody know what this means and how I can fix it?
>
> Kind regards
> Jeppe
>
> Full transcript:
> root@slug1:~/mDNSResponder-107.6/mDNSPosix# make clean os=linux
> make[1]: Entering directory `/root/mDNSResponder-107.6/Clients'
> rm -rf build
> make[1]: Leaving directory `/root/mDNSResponder-107.6/Clients'
> root@slug1:~/mDNSResponder-107.6/mDNSPosix# make os=linux
> Responder daemon done
> Client library done
> make[1]: Entering directory `/root/mDNSResponder-107.6/Clients'
> mkdir build
> cc dns-sd.c -L../mDNSPosix/build/prod/ -ldns_sd -I../mDNSShared -o build/dns-sd
> /usr/lib/gcc/armeb-linux-gnueabi/4.2.4/../../../../armeb-linux-gnueabi/bin/ld: build/dns-sd: hidden symbol `__aeabi_uidiv' in /usr/lib/gcc/armeb-linux-gnueabi/4.2.4/libgcc.a(_udivsi3.o) is referenced by DSO
> /usr/lib/gcc/armeb-linux-gnueabi/4.2.4/../../../../armeb-linux-gnueabi/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[1]: *** [build/dns-sd] Error 1
> make[1]: Leaving directory `/root/mDNSResponder-107.6/Clients'
> make: *** [../Clients/build/dns-sd] Error 2
>

My first guess would be that your toolchain may be trying to use a
different (unsupported) floating-point setting for some reason. Check
your compilation options for consistency; soft float is what it should
be using. If that's not it, then I would check to see if the compiler
and libraries perhaps mismatch -- did you get the toolchain from (for
example) the "unstable" feeds?

-Mike (mwester)

__._,_.___
.

__,_._,___

No comments:

Post a Comment