From owner-freebsd-current Tue Nov 26 4:10:22 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 1896137B401 for ; Tue, 26 Nov 2002 04:10:20 -0800 (PST) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B0B743E88 for ; Tue, 26 Nov 2002 04:10:19 -0800 (PST) (envelope-from Jan.Stocker@t-online.de) Received: from fwd02.sul.t-online.de by mailout10.sul.t-online.com with smtp id 18GeXQ-0004Mk-0B; Tue, 26 Nov 2002 13:10:00 +0100 Received: from twoflower (320072111332-0001@[217.225.125.14]) by fwd02.sul.t-online.com with smtp id 18GeXI-1QHnY8C; Tue, 26 Nov 2002 13:09:52 +0100 From: Jan.Stocker@t-online.de (Jan Stocker) To: "Ray Kohler" , "cameron grant" Cc: 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 Date: Tue, 26 Nov 2002 13:09:02 +0100 Message-ID: <000101c29544$9be0a220$fe02010a@twoflower.liebende.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20021126120107.GA54242@arkadia.nv.cox.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Sender: 320072111332-0001@t-dialin.net 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 First: sorry for sending same error.... i'ven't seen this thread.... I've the same prob on a freshly installed system with /usr/src only from CVS repository and /usr/obj clean (It is a minimum installed -current from a 2 days onld snapshot CD). Jan > -----Original Message----- > From: owner-freebsd-current@FreeBSD.ORG > [mailto:owner-freebsd-current@FreeBSD.ORG]On Behalf Of Ray Kohler > Sent: Tuesday, November 26, 2002 1:01 PM > 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 > > > 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 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message