hostapd cross compilation error

uday kiran kaniki.uday at gmail.com
Wed Jan 11 06:29:49 EST 2012


Hi Sriram

Thanks for the reply . That helps.

But i got a linker error as below

cannot find -lnl
cannot find -lnl-genl

for that I have downloaded libnl3.2.2 and issued the following commands

1) ./configure --host=powerpc CC=powerpc-linux-gnu-gcc

Output >>> configure: WARNING: If you wanted to set the --build type, don't
use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
......
....

2) make CC=powerpc-linux-gnu-gcc

3) make install <== this step is not creating the libnl libraries in the
lib folder which are required for hostapd linking.

Could you please help me sorting it out.

-Uday

On Wed, Jan 11, 2012 at 3:29 PM, Madhvapathi Sriram <
Madhvapathi.Sriram at csr.com> wrote:

> Do you have openssl installed on your machine? If not you need to install
> it.
>
> If you have one already installed, edit the hostapd Makefile to include it
> in the CFLAGS
> Something like: CFLAGS += -I~/openssl/include
>
> Hope this helps...
>
>
>
>
> Member of the CSR plc group of companies. CSR plc registered in England
> and Wales, registered number 4187346, registered office Churchill House,
> Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
> More information can be found at www.csr.com. Follow CSR on Twitter at
> http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20120111/f6baa58b/attachment.htm 


More information about the HostAP mailing list