Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 1998 19:38:10 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   pcmaudio drivers...
Message-ID:  <Pine.BSF.3.96.980215193241.261e-100000@thelab.hub.org>

next in thread | raw e-mail | index | archive | help

Hi...

	I must be missing something...I just installed the new pcmaudio
drivers, and swear I've followed the directions to the letter, but when I
try to do the compile, I get:

cc -c -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h  /sys/co
mpile/thelab/../../i386/isa/sound/soundcard.c
/sys/compile/thelab/../../i386/isa/sound/soundcard.c: In function `driver_to_voxunit':
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:291: `SNDCARD_ADLIB' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:291: (Each undeclared identifier is reported only once
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:291: for each function it appears in.)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:293: `SNDCARD_SB' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:295: `SNDCARD_PAS' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:297: `SNDCARD_GUS' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:299: `SNDCARD_MPU401' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:301: `SNDCARD_SB16' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:303: `SNDCARD_SB16MIDI' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:305: `SNDCARD_AWE32' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:307: `SNDCARD_UART6850' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:309: `SNDCARD_GUS16' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:311: `SNDCARD_MSS' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:313: `SNDCARD_CS4232' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:315: `SNDCARD_SSCAPE' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:317: `SNDCARD_SSCAPE_MSS' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:319: `SNDCARD_TRXPRO' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:321: `SNDCARD_TRXPRO_SB' undeclared (first use this function)
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:324: warning: control reaches end of non-void function
/sys/compile/thelab/../../i386/isa/sound/soundcard.c: At top level:
/sys/compile/thelab/../../i386/isa/sound/soundcard.c:538: warning: no previous prototype for `sndintr'
*** Error code 1

Stop.


Looking around, these are defined in /sys/i386/isa/snd/sound.h, and found
that it used to be in /sys/i386/include/soundcard.h, but the new drivers
moved it to sound.h ...

I tried adding /sys/i386/isa/snd/sound.h to soundcard.c, but then I got a
series of different errors instead :(

This is with 3.0-CURRENT as of about 10 minutes ago ...

Help?


Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980215193241.261e-100000>