Date: Tue, 10 Jan 2017 19:35:55 +0100 From: "O. Hartmann" <o.hartmann@walstatt.org> To: "O. Hartmann" <ohartmann@walstatt.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: r311871: kernel build failure: ieee80211_vht.c:94:2: error: implicit declaration ... Message-ID: <20170110193555.7229b4ce@thor.intern.walstatt.dynvpn.de> In-Reply-To: <20170110113200.05865ae3@freyja.zeit4.iv.bundesimmobilien.de> References: <20170110113200.05865ae3@freyja.zeit4.iv.bundesimmobilien.de>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Am Tue, 10 Jan 2017 11:32:00 +0100 "O. Hartmann" <ohartmann@walstatt.org> schrieb: > On CURRENT (r311871), I'm bothered with this error schown below. Buildkernel > fails. It is a customized kernel. > > [...] > Building /usr/obj/usr/src/sys/FREYJA/modules/usr/src/sys/modules/wlan/ieee80211.o > Building /usr/obj/usr/src/sys/FREYJA/modules/usr/src/sys/modules/wlan/ieee80211_vht.o > /usr/src/sys/modules/wlan/../../net80211/ieee80211_vht.c:94:2: error: implicit > declaration of function 'ieee80211_note' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] ieee80211_note(ni->ni_vap, "%s: > called; fc=0x%.2x/0x%.2x", ^ 1 error generated. > *** Error code 1 > > Kind regards, > > oh The problem can be avoided by enabling WiFi infrastructure in the kernel: I have these lines in those boxes which build the kernel in common: # Wireless NIC cards device wlan # 802.11 support options IEEE80211_DEBUG # enable debug msgs options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's options IEEE80211_SUPPORT_MESH # enable 802.11s draft support options IEEE80211_SUPPORT_TDMA #enable TDMA support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device ath # Atheros NICs device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support options AH_SUPPORT_AR5416 # enable AR5416 tx/rx descriptors options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later device ath_rate_sample # SampleRate tx rate control for ath -- O. Hartmann Ich widerspreche der Nutzung oder Übermittlung meiner Daten für Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG). [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWHUpiwAKCRDS528fyFhY lDIfAf9j1XdgGEDZ5l3L/goAnlgjXgPpQWNcqSY8SgwH7g0r8Pumn87a//Q+Ut1B 65fe6PSCXTvJEmkNv0Jrrwww5OpsAgCp+2ayZRjDFY07P9qmc+KUFFWCiTWZfmWd CIjnJtJl1zMpzzh7qu04eH7age4zGdYeFGxVgghUeChn3W8+FsWY =b7RP -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170110193555.7229b4ce>
