Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/Ya9rHKdB=nwpnpQ5RxOs1VU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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. Buildker=
nel
> fails. It is a customized kernel.
>=20
> [...]
> Building /usr/obj/usr/src/sys/FREYJA/modules/usr/src/sys/modules/wlan/iee=
e80211.o
> Building /usr/obj/usr/src/sys/FREYJA/modules/usr/src/sys/modules/wlan/iee=
e80211_vht.o
> /usr/src/sys/modules/wlan/../../net80211/ieee80211_vht.c:94:2: error: imp=
licit
> declaration of function 'ieee80211_note' is invalid in C99
> [-Werror,-Wimplicit-function-declaration] ieee80211_note(ni->ni_vap, "%s:
> called; fc=3D0x%.2x/0x%.2x", ^ 1 error generated.
> *** Error code 1
>=20
> Kind regards,
>=20
> 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 lat=
er
device      ath_rate_sample     # SampleRate tx rate control for ath


--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/Ya9rHKdB=nwpnpQ5RxOs1VU
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWHUpiwAKCRDS528fyFhY
lDIfAf9j1XdgGEDZ5l3L/goAnlgjXgPpQWNcqSY8SgwH7g0r8Pumn87a//Q+Ut1B
65fe6PSCXTvJEmkNv0Jrrwww5OpsAgCp+2ayZRjDFY07P9qmc+KUFFWCiTWZfmWd
CIjnJtJl1zMpzzh7qu04eH7age4zGdYeFGxVgghUeChn3W8+FsWY
=b7RP
-----END PGP SIGNATURE-----

--Sig_/Ya9rHKdB=nwpnpQ5RxOs1VU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170110193555.7229b4ce>