hidden symbol errors compilingwpa_supplicant with buildroot

Joel Lindsay joel at waveteq.com
Tue May 8 00:28:46 EDT 2007


Yes,

I have built openssl and several other programs with the toolchain.  I have
also built a new toolchain with binutils 2.16.1 and gcc 3.4.2 with the same
error.

I have submitted to buildroot, I have read some reference to the same
problem building with other applications with latest buildroot.

Joel

-----Original Message-----
From: hostap-bounces+joel=waveteq.com at shmoo.com
[mailto:hostap-bounces+joel=waveteq.com at shmoo.com] On Behalf Of Jouni
Malinen
Sent: May 7, 2007 8:30 PM
To: hostap at shmoo.com
Subject: Re: hidden symbol errors compilingwpa_supplicant with buildroot

On Mon, May 07, 2007 at 10:40:36AM -0700, Joel Lindsay wrote:

> I am cross compiling wpa_supplicant into the latest version of buildroot
(binutils 2.17.1, GCC 4.2)
> 
> I am getting linker problems I don't understand, and am not sure whats
causing it.  They have something to do with a hidden symbol in libgcc.a.  I
am compiling against uClibc 0.9.28.

I haven't tested gcc 4.2 with ARM builds, but I have no problems
building and linking wpa_supplicant with gcc 3.4.1 for armeb using
uClibc.

>
/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uc
libc/4.2.0/../../../../armeb-linux-uclibc/bin/ld: wpa_supplicant: hidden
symbol `__clz_tab' in
/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uc
libc/4.2.0/libgcc.a(_clz.o) is referenced by DSO

This sounds like a toolchain/configuration issue.. Are you only seeing
this with wpa_supplicant build? Have you tried building something else
that uses the same libraries (namely OpenSSL in this case)?

-- 
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap




More information about the HostAP mailing list