Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 21:30:19 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Aleksandar Obradovic <alex@montenegro.com>
Cc:        FreeBSD <questions@freebsd.org>, freebsd@montenegro.com
Subject:   Re: SB 128/ES137x Problems
Message-ID:  <20000216213019.B326@marder-1>
In-Reply-To: <NDBBIHGCEMKHOOANFEOFOEMCCHAA.alex@montenegro.com>
References:  <NDBBIHGCEMKHOOANFEOFOEMCCHAA.alex@montenegro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 16, 2000 at 12:00:07PM -0800, Aleksandar Obradovic wrote:

> I got SoundBlaster PCI 128 with ES 1373 (After unsuccessful
                                  ^^^^^^^
	You sure it's not 1371?

> experiences with SB Live, SB 16 PCI and SB PCI 128) and I used the
> following in my kernel (as suggested from various messages from the
> mailing list):
> 
> controller snd0
> device 	  pcm0
> 

Won't work (as you've discovered). These 2 are mutually exclusive.
snd0 is the Voxware driver and pcm0 is Luigi's pcm driver.

Remove the snd0 line and make sure you include

controller   pnp0

and try again.

HTH

> I made snd0 device. I tried to compile my kernel and this is what I get:
> 
> su-2.03# cd /usr/src/sys/i386/conf
> su-2.03# config P3
> Don't forget to do a ``make depend''
> Kernel build directory is ../../compile/P3
> su-2.03# cd ../../compile/P3
> su-2.03# make depend
> rm -f .newdep
> mkdep -a -f .newdep -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wc
> mkdep -a -f .newdep -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wc
> env MKDEP_CPP="cc -E"  mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -O -Ws
> rm -f .depend
> mv -f .newdep .depend
> su-2.03# make
> 
> <snip>
> 
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> rm -f param.c
> cp ../../conf/param.c .
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> touch hack.c
> cc -elf -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> sh ../../conf/newvers.sh P3 
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externsc
> loading kernel
> soundcard.o: In function `sndpoll':
> soundcard.o(.text+0x2f7): undefined reference to `MIDIbuf_poll'
> sound_switch.o: In function `sound_read_sw':
> sound_switch.o(.text+0x52d): undefined reference to `MIDIbuf_read'
> sound_switch.o: In function `sound_write_sw':
> sound_switch.o(.text+0x5ad): undefined reference to `MIDIbuf_write'
> sound_switch.o: In function `sound_open_sw':
> sound_switch.o(.text+0x68f): undefined reference to `MIDIbuf_open'
> sound_switch.o: In function `sound_release_sw':
> sound_switch.o(.text+0x72b): undefined reference to `MIDIbuf_release'
> sound_switch.o: In function `sound_ioctl_sw':
> sound_switch.o(.text+0x835): undefined reference to `MIDIbuf_ioctl'
> *** Error code 1
> 
> Stop.
> su-2.03# 
> 
> I tried to use the same card on a different FreeBSD machine, and I get the same error. 
> 
> What should I do?
> 
> Alex
> 
> 



-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



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




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