Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 07:01:07 -0500
From:      Ray Kohler <ataraxia@cox.net>
To:        cameron grant <gandalf@vilnya.demon.co.uk>
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>
In-Reply-To: <671799546.1038291581@[10.2.4.64]>
References:  <20021126030804.GA52363@arkadia.nv.cox.net> <671799546.1038291581@[10.2.4.64]>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ataraxia@cox.net>
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




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