Can't build using `CFLAGS="-DCONFIG_DEBUG_SYSLOG -DCONFIG_IEEE80211AC" make`

Jouni Malinen j at w1.fi
Sun Nov 20 05:38:39 PST 2022


On Wed, Nov 16, 2022 at 02:25:31PM +0100, Opty wrote:
> using https://slackbuilds.org/slackbuilds/15.0/network/hostapd/hostapd.defconfig
> as .config and `CFLAGS="-DCONFIG_DEBUG_SYSLOG -DCONFIG_IEEE80211AC"
> make`, it fails with:

That's not a valid way to enable CONFIG_IEEE80211AC in the build.

> If i enable CONFIG_IEEE80211AC manually in .config, build passes, am I
> doing anything wrong? It seems like order/dependency issue.

Adding CONFIG_IEEE80211AC=y into .config is the correct mechanism for
this. While that build parameter does add -DCONFIG_IEEE80211AC into
CFLAGS, it also includes ieee802_11_vht.o into the build which is
something that the command above does not.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list