[PATCH] build: use updated libnl3 header paths

Jouni Malinen j
Wed Aug 15 13:45:19 PDT 2012


On Wed, Aug 15, 2012 at 02:22:47PM -0500, Dan Williams wrote:
> Hmm; do the headers get installed in /usr/include/libnl3 for you?  That
> change (226b3875) was made on 2011-09-13 and should have been included
> in anything after libnl version 3.1.

They do and it is not the compilation part that fails in the build.

> I've got 3.2.7 here and everything appears to build well for me as long
> as you set CONFIG_LIBNL32=y in the config.  What specific issues are you
> seeing?

libnl 3.2.3 works for me, too, when I install it myself. The problem
comes from the Ubuntu packages that are too confusing for me
apparently.. ;-)

/usr/bin/ld.bfd.real: cannot find -lnl-genl-3
collect2: ld returned 1 exit status

So it is now necessary to install both libnl-3-dev and libnl-genl-3-dev
to get the needed files.. libnl-genl-3-dev just adds a libnl-genl-3.so
symlink while the actual library is in libnl-genl-3-200 and header files
in libnl-3-dev..

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list