Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 22:43:34 +0000
From:      Marcin Jessa <lists@yazzy.org>
To:        "Robert C. Noland III" <rnoland@2hip.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ath_rate_sample build error?
Message-ID:  <20050914224334.03249148.lists@yazzy.org>
In-Reply-To: <1126734222.981.5.camel@bbeng-laptop.acs.internap.com>
References:  <1126734222.981.5.camel@bbeng-laptop.acs.internap.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Sep 2005 17:43:42 -0400
"Robert C. Noland III" <rnoland@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.
> 
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



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