From owner-freebsd-current@FreeBSD.ORG Fri Sep 16 01:26:04 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 281E516A425 for ; Fri, 16 Sep 2005 01:26:03 +0000 (GMT) (envelope-from rnoland@2hip.net) Received: from mailserver1.internap.com (mailserver1.internap.com [63.251.68.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5926743D46 for ; Fri, 16 Sep 2005 01:26:03 +0000 (GMT) (envelope-from rnoland@2hip.net) Received: from [24.30.90.186] (account rnoland@mail.internap.com HELO [192.168.1.101]) by mailserver1.internap.com (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 52456910; Thu, 15 Sep 2005 21:26:02 -0400 From: "Robert C. Noland III" To: Marcin Jessa In-Reply-To: <20050914224334.03249148.lists@yazzy.org> References: <1126734222.981.5.camel@bbeng-laptop.acs.internap.com> <20050914224334.03249148.lists@yazzy.org> Content-Type: text/plain Organization: 2 Hip Networks Date: Thu, 15 Sep 2005 21:26:00 -0400 Message-Id: <1126833960.937.3.camel@bbeng-laptop.acs.internap.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ath_rate_sample build error? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2005 01:26:04 -0000 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" 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.