Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 1997 20:18:28 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Ian Freislich <iang@digs.iafrica.com>
Cc:        multimedia@freebsd.org
Subject:   Re: Guspnp18 problem 
Message-ID:  <199709170318.UAA06958@rah.star-gate.com>
In-Reply-To: Your message of "Sat, 16 Sep 1997 22:35:00 %2B0200." <E0xB4Kq-0007gd-00@brane.digs.iafrica.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Just finished supping -current and the sound driver no longer compiles :(

A few days ago , I believe from reading the cvs mailing list  the "poll" check in changed the interface to drivers.

It will take me a couple of days to sort this issue out.

	Amancio

>From The Desk Of Ian Freislich :
> Hi
> 
> I hope that I'm not commenting on something I've missed in the
> lists or that many other people have pointed out.
> 
> I've encountered a problem when compiling my kernel:
> 
> cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include
> -DNOGUSPNP -DMFS -DCOMPAT_43 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL
> -include opt_global.h  ../../i386/isa/sound/soundcard.c
> ../../i386/isa/sound/soundcard.c:82: parse error before `sndselect'
> ../../i386/isa/sound/soundcard.c:82: warning: data definition has no
> type or storage class
> ../../i386/isa/sound/soundcard.c:82: warning: data definition has no
> type or storage class
> ../../i386/isa/sound/soundcard.c:90: initializer element for
> `snd_cdevsw.d_poll' is not constant
> ../../i386/isa/sound/soundcard.c:227: warning: no previous prototype for
> `sndselect'
> ../../i386/isa/sound/soundcard.c:227: `sndselect' redeclared as
> different kind of symbol
> ../../i386/isa/sound/soundcard.c:82: previous declaration of `sndselect'
> {standard input}: Assembler messages:
> {standard input}:1273: Error: Ignoring attempt to re-define symbol
> *** Error code 1
> 
> It appears that there is no previous definition of d_select_t which
> is used to define sndselect on line 82 in
> /usr/src/sys/i386/isa/sound/soundcard.c:
> 
> static d_select_t sndselect;
> 
> Interestingly enough, it worked with the older version of guspnp18
> which I've now lost :(
> 
> -- igf (Ian Freislich)





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