[PATCH v2] libnl: Document how to configure for libnl 2.0 and 3.2.
Ben Greear
greearb
Tue Jan 7 10:17:42 PST 2014
On 01/07/2014 05:42 AM, Jouni Malinen wrote:
> On Fri, Jan 03, 2014 at 04:09:22PM -0800, greearb at candelatech.com wrote:
>> v2: Make comment more generic.
>>
>> hostapd/defconfig | 15 +++++++++++++++
>> wpa_supplicant/defconfig | 15 +++++++++++++++
>
> Thanks, I'll apply this with a bit different text:
>
>> +# driver_nl80211.c requires libnl. If you are compiling it yourself
>> +# you need to point hostapd to your version of libnl
>> +#
>> +#LIBNLI=${FOO}/3plibs/libnl
>> +#LIBNLL=${FOO}/server/local
>> +#CFLAGS += -I$(LIBNLI)/include
>> +#LIBS += -L$(LIBNLL)/lib
>
> These paths look quite confusing to me since I'd first attempt to
> replace the ${FOO} path with libnl installation root directory and that
> would result in the paths being incorrect since 3plibs and server/local
> here look very much specific to some non-common case (i.e., "make
> install" in libnl would not do that by default).
Ok, I can see how that is confusing. It does pertain to my
particular setup. In general, I found compiling libnl,
iw, hostapd, kernel and related tools a twisty maze of little details
and ended up compiling them in completely non-standard locations
to make it easier to not mix things with the host OS's libraries.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list