hostapd cross compilation error

uday kiran kaniki.uday
Wed Jan 11 03:29:49 PST 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.


On Wed, Jan 11, 2012 at 3:29 PM, Madhvapathi Sriram <
Madhvapathi.Sriram at> 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 Follow CSR on Twitter at
> and read our blog at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Hostap mailing list