On 2012-01-11 02:14, Andrew Benton wrote: >> FWIW: libnl-3.2.3 proved quite an interesting 'change', I've needed to >> tweak several packages (hostapd to name one) to deal with the move of >> header files :-( > > Could you tell me how you built hostapd with libnl-3.2.3? I've just > taken the easy route and used libnl-1.1 but it would be nice to keep up > with upstream.
I use this patch for hostapd-0.7.3, which is based on hostap git --- a/src/drivers/drivers.mak 2010-09-07 17:43:39.000000000 +0200 +++ a/src/drivers/drivers.mak 2012-01-04 13:39:48.000000000 +0100 @@ -31,13 +31,24 @@ NEED_AP_MLME=y NEED_NETLINK=y NEED_LINUX_IOCTL=y + +ifdef CONFIG_LIBNL32 + DRV_LIBS += -lnl-3 + DRV_LIBS += -lnl-genl-3 + DRV_CFLAGS += -DCONFIG_LIBNL20 +else + ifdef CONFIG_LIBNL_TINY + DRV_LIBS += -lnl-tiny + else DRV_LIBS += -lnl + endif ifdef CONFIG_LIBNL20 DRV_LIBS += -lnl-genl DRV_CFLAGS += -DCONFIG_LIBNL20 endif endif +endif ifdef CONFIG_DRIVER_BSD ifndef CONFIG_L2_PACKET In addition to that I've put these 2 lines in .config: CFLAGS += -I/usr/include/libnl3 CONFIG_LIBNL32=y Pulling a snapshot from hostap git would probably work too, but I've made it a habbit to use stable releases only. Olaf -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
