* [Buildroot] Problem building wpa_supplicant using external toolchain
@ 2010-05-06 11:54 Marc-André Hébert
2010-05-06 15:10 ` Gustavo Zacarias
0 siblings, 1 reply; 3+ messages in thread
From: Marc-André Hébert @ 2010-05-06 11:54 UTC (permalink / raw)
To: buildroot
Hello,
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):
/home/vadmin/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-o wpa_supplicant ... ../src/l2_packet/l2_packet_linux.o -lssl
-lcrypto -ldl
/home/vadmin/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
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
Marc
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Problem building wpa_supplicant using external toolchain
2010-05-06 11:54 [Buildroot] Problem building wpa_supplicant using external toolchain Marc-André Hébert
@ 2010-05-06 15:10 ` Gustavo Zacarias
2010-05-06 21:13 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2010-05-06 15:10 UTC (permalink / raw)
To: buildroot
On 05/06/2010 08:54 AM, Marc-Andr? H?bert wrote:
> Hello,
>
> 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):
> /home/vadmin/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
> -o wpa_supplicant ... ../src/l2_packet/l2_packet_linux.o -lssl
> -lcrypto -ldl
> /home/vadmin/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
> 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
> Marc
Try this patch to see if it fixes your problem...
Regards.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: buildroot-wpa_supplicant-external-toolchain.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100506/bc4cfa5d/attachment.diff>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Problem building wpa_supplicant using external toolchain
2010-05-06 15:10 ` Gustavo Zacarias
@ 2010-05-06 21:13 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-05-06 21:13 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Try this patch to see if it fixes your problem...
Gustavo> Regards.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-06 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 11:54 [Buildroot] Problem building wpa_supplicant using external toolchain Marc-André Hébert
2010-05-06 15:10 ` Gustavo Zacarias
2010-05-06 21:13 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox