[Buildroot] Problem building wpa_supplicant using external toolchain
gustavo at zacarias.com.ar
Thu May 6 15:10:39 UTC 2010
On 05/06/2010 08:54 AM, Marc-André Hébert wrote:
> 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
Try this patch to see if it fixes your problem...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the buildroot