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

Opty opty77 at gmail.com
Sun Nov 20 10:59:45 PST 2022


On Sun, Nov 20, 2022 at 2:38 PM Jouni Malinen <j at w1.fi> wrote:
> 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.

Thanks for the hint, I got it working using
`CFLAGS=-DCONFIG_DEBUG_SYSLOG -DCONFIG_IEEE80211AC
OBJS=../src/ap/ieee802_11_vht.o make`. O:-)

Regards,
Opty



More information about the Hostap mailing list