r311871: kernel build failure: ieee80211_vht.c:94:2: error: implicit declaration ...

O. Hartmann o.hartmann at walstatt.org
Tue Jan 10 18:36:15 UTC 2017


Am Tue, 10 Jan 2017 11:32:00 +0100
"O. Hartmann" <ohartmann at 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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170110/87942f75/attachment.sig>


More information about the freebsd-current mailing list