From owner-freebsd-current Tue Nov 26 4: 1:12 2002 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 E400937B401 for ; Tue, 26 Nov 2002 04:01:09 -0800 (PST) Received: from lakemtao04.cox.net (lakemtao04.cox.net [68.1.17.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0F1C43E9C for ; Tue, 26 Nov 2002 04:01:08 -0800 (PST) (envelope-from ataraxia@cox.net) Received: from arkadia.nv.cox.net ([68.98.181.29]) by lakemtao04.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20021126120108.TTBH1248.lakemtao04.cox.net@arkadia.nv.cox.net>; Tue, 26 Nov 2002 07:01:08 -0500 Received: from arkadia.nv.cox.net (localhost [127.0.0.1]) by arkadia.nv.cox.net (8.12.6/8.12.6) with ESMTP id gAQC17vF057378; Tue, 26 Nov 2002 07:01:07 -0500 (EST) (envelope-from ataraxia@arkadia.nv.cox.net) Received: (from ataraxia@localhost) by arkadia.nv.cox.net (8.12.6/8.12.6/Submit) id gAQC17V1057377; Tue, 26 Nov 2002 07:01:07 -0500 (EST) (envelope-from ataraxia) Date: Tue, 26 Nov 2002 07:01:07 -0500 From: Ray Kohler To: cameron grant Cc: freebsd-current@freebsd.org Subject: Re: cvs commit: src/sys/dev/sound/pcm buffer.c channel.c feeder.c feeder_fmt.c feeder_rate.c sndstat.c sound.c sound.h vchan.c Message-ID: <20021126120107.GA54242@arkadia.nv.cox.net> Mail-Followup-To: cameron grant , freebsd-current@freebsd.org References: <20021126030804.GA52363@arkadia.nv.cox.net> <671799546.1038291581@[10.2.4.64]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <671799546.1038291581@[10.2.4.64]> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 26, 2002 at 06:19:41AM +0000, cameron grant wrote: > >I have no idea why, but this commit broke kernel building: > > > >cc -c -O -pipe -mcpu=athlon -Wall -Wredundant-decls -Wnested-externs > >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > >-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. > >-I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica > >-I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h > >-fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > >-ffreestanding -Werror /usr/src/sys/dev/sound/isa/ad1816.c > >cc1: warnings being treated as errors > >/usr/src/sys/dev/sound/isa/ad1816.c: In function `ad1816_lock': > >/usr/src/sys/dev/sound/isa/ad1816.c:81: warning: dereferencing `void *' > >pointer > >/usr/src/sys/dev/sound/isa/ad1816.c:81: request for member `mtx_lock' in > >something not a structure or union > >/usr/src/sys/dev/sound/isa/ad1816.c: In function `ad1816_unlock': > >/usr/src/sys/dev/sound/isa/ad1816.c:87: warning: dereferencing `void *' > >pointer > >/usr/src/sys/dev/sound/isa/ad1816.c:87: request for member `mtx_lock' in > >something not a structure or union > >*** Error code 1 > > > >And the same result for other consumers of snd_mtx* . > > i'm unable to reproduce this. have you tried a clean build? It was a clean build, done by make buildkernel immediately after make buildworld. SOP. FWIW, I can't even figure out why this doesn't compile, everything looks fine to me and the errors make no sense at all. The only thing I can think to do is blow away /usr/src and get a new one, see if anything changes. -- Ray Kohler It has been said that man is a rational animal. All my life I have been searching for evidence which could support this. -- Bertrand Russell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message