[Buildroot] Problem building wpa_supplicant using external toolchain

Marc-André Hébert hebert.marcandre at gmail.com
Thu May 6 11:54:01 UTC 2010


I get an error when I try to get to building wpa_supplicant. I
configured buildroot to use CodeSourcery Lite 2009q1.

I tried both the 2010.02 stable release and the current git source
tree and obtained the same results.

The error I get is (I truncated the object list):
-o wpa_supplicant ... ../src/l2_packet/l2_packet_linux.o -lssl
-lcrypto -ldl
cannot find -lssl

This fails because there is no libssl.so in the CodeSourcery
toolchain. But buildroot has built openssl just before so it is
available somewhere. It builds just fine if I manually instruct
wpa_supplicant to use the libssl from openssl.

Now if I understand how buildroot does things, I guess it should do
something like this:
-Copy libssl.so from openssl to the staging dir
-Configure wpa_supplicant to use --sysroot with the staging dir
-Copy the libssl.so to the target root fs

Or am I supposed to patch my external toolchain myself?
Thank you very much

More information about the buildroot mailing list