ath_rate_sample build error?
Robert C. Noland III
rnoland at 2hip.net
Thu Sep 15 18:26:04 PDT 2005
On Wed, 2005-09-14 at 22:43 +0000, Marcin Jessa wrote:
> On Wed, 14 Sep 2005 17:43:42 -0400
> "Robert C. Noland III" <rnoland at 2hip.net> wrote:
>
> > I'm a little confused here, as I can't figure out what change broke this
> > for me. I am getting this with cvs from Tuesday morning until now.
>
> I just recompiled my kernel.
> Worked fine for me with fresh sources for tag=RELENG_6
> This is the relevant part of my kernel config:
>
> # Wireless NIC cards
> device wlan # 802.11 support
> device wlan_wep
> device wlan_ccmp
> device wlan_tkip
> device wlan_xauth
> device wlan_acl
> #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
>
> device iwi # Intel PRO/Wireless 2200BG
>
> #Atheros cards:
> device ath
> device ath_hal
> #device ath_rate_onoe
> #device ath_rate_amrr
> device ath_rate_sample
>
>
> > Relevant kernel config bits...
> >
> > # Wireless NIC cards
> > device wi # WaveLAN/Intersil/Symbol 802.11
> > wireless NICs.
> > device ath
> > device ath_hal # Atheros HAL (includes binary
> > component)
> > #device ath_rate_onoe # Onoe rate control for ath driver
> > #device ath_rate_amrr # AMRR rate control for ath driver
> > device ath_rate_sample # SampleRate rate control for the ath
> > driver
> >
> > device wlan # 802.11 support
> > device wlan_wep # 802.11 WEP support
> > device wlan_ccmp # 802.11 CCMP support
> > device wlan_tkip # 802.11 TKIP support
> > #device wlan_xauth # 802.11 external authenticator support
> > #device wlan_acl # 802.11 MAC ACL support
> >
> > cc -c -O -pipe -march=pentium4m -Wall -Wredundant-decls -Wnested-externs
> > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I.
> > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
> > -I/usr/src/sys/contrib/altq -D_KERNEL -include opt_global.h -fno-common
> > -finline-limit=8000 --param inline-unit-growth=100 --param
> > large-function-growth=1000 -mno-align-long-strings
> > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
> > -mno-sse3 -ffreestanding
> > -Werror /usr/src/sys/dev/ath/ath_rate/sample/sample.c
> > In file included from /usr/src/sys/dev/ath/if_athvar.h:47,
> > from /usr/src/sys/dev/ath/ath_rate/sample/sample.c:74:
> > /usr/src/sys/contrib/dev/ath/ah.h:49:22: ah_osdep.h: No such file or
> > directory
> > In file included from /usr/src/sys/dev/ath/if_athvar.h:47,
> > from /usr/src/sys/dev/ath/ath_rate/sample/sample.c:74:
> > /usr/src/sys/contrib/dev/ath/ah.h:458: error: syntax error before
> > "HAL_SOFTC"
> > /usr/src/sys/contrib/dev/ath/ah.h:610: error: syntax error before
> > "HAL_BUS_ADDR"
> > /usr/src/sys/contrib/dev/ath/ah.h:610: warning: function declaration
> > isn't a prototype
> > /usr/src/sys/contrib/dev/ath/ah.h:639: error: syntax error before
> > "HAL_SOFTC"
> > /usr/src/sys/contrib/dev/ath/ah.h:640: warning: function declaration
> > isn't a prototype
> > *** Error code 1
> >
> > Stop in /usr/obj/usr/src/sys/LAPTOP.
> > *** Error code 1
> >
> > Stop in /usr/src.
> > *** Error code 1
> >
> > Stop in /usr/src.
> >
> > robert.
It looks like this was broken by rev 1.70 of src/sys/conf/kern.pre.mk
can someone take a look...
thanks,
robert.
More information about the freebsd-current
mailing list