<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am cross compiling wpa_supplicant into the latest
version of buildroot (binutils 2.17.1, GCC 4.2)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any help would be appreciated. Attached is
the compiler error. The same thing happens with 0.4.9, 0.5.7.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>make[1]: Entering directory
`/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7'<BR>/home/joel/projects/buildroot/build_armeb/staging_dir/bin/armeb-linux-uclibc-gcc
-o wpa_supplicant config.o eloop.o common.o md5.o rc4.o sha1.o config_file.o
base64.o l2_packet_linux.o eap_tls.o eap_peap.o eap_ttls.o eap_md5.o
eap_mschapv2.o eap_leap.o eap_tlv.o eapol_sm.o eap.o eap_tls_common.o
tls_openssl.o ms_funcs.o crypto.o wpa.o preauth.o aes_wrap.o wpa_supplicant.o
events.o main.o drivers.o driver_madwifi.o driver_wext.o
-L/home/joel/projects/buildroot/build_armeb/openssl-0.9.7e/ -lssl
-lcrypto<BR>/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uclibc/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-uclibc/4.2.0/libgcc.a(_clz.o)
is referenced by
DSO<BR>/home/joel/projects/buildroot/build_armeb/staging_dir/lib/gcc/armeb-linux-uclibc/4.2.0/../../../../armeb-linux-uclibc/bin/ld:
final link failed: Nonrepresentable section on output<BR>collect2: ld returned 1
exit status<BR>make[1]: *** [wpa_supplicant] Error 1<BR>make[1]: Leaving
directory
`/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7'<BR>make: ***
[/home/joel/projects/buildroot/build_armeb/wpa_supplicant-0.4.7/wpa_supplicant]
Error 2<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Joel</FONT></DIV></BODY></HTML>