From owner-freebsd-current@FreeBSD.ORG Wed Sep 14 22:43:54 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 C8DDA16A41F for ; Wed, 14 Sep 2005 22:43:54 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5126E43D45 for ; Wed, 14 Sep 2005 22:43:54 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (lapdance [192.168.98.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id C401839814; Thu, 15 Sep 2005 00:43:51 +0200 (CEST) Date: Wed, 14 Sep 2005 22:43:34 +0000 From: Marcin Jessa To: "Robert C. Noland III" 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> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.6.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Wed, 14 Sep 2005 22:43:55 -0000 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. > > > _______________________________________________ > 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"