[PATCH 4/7] driver_nl80211: rewrite neigh code to not depend on libnl3-route

Jouni Malinen j at w1.fi
Fri Apr 19 09:13:24 PDT 2024


On Wed, Apr 17, 2024 at 09:40:33AM +0200, Ziga Seilnacht wrote:
> Commit a210fdb1c717b23b0d691b54d9b7be6f7bcf7799 breaks hostapd build
> configuration with
> CONFIG_FULL_DYNAMIC_VLAN=y CONFIG_VLAN_NETLINK=y for me. Those two options are
> also enabled in Debian's hostapd config.
> 
> The build fails with:
> 
> /usr/bin/ld: /build-cache/hostap/build/hostapd/src/ap/vlan_util.o: in
> function `vlan_add':
> /build-cache/hostap/hostapd/../src/ap/vlan_util.c:59: undefined
> reference to `rtnl_link_get_kernel'

It looks like CONFIG_DRIVER_MACSEC_LINUX=y masked this in my tests with
hostapd builds since it is also pulling in libnl3-route.

> Looks like the makefile changes from that commit might need to be changed?

I reverted the makefile related changes for that commit now to avoid
this issue with vlan_util.c.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list