Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 15:33:12 -0800 (PST)
From:      William Law <willaw79@yahoo.com>
To:        Aleksandar Obradovic <alex@montenegro.com>, FreeBSD <questions@FreeBSD.org>, freebsd@montenegro.com
Subject:   Re: SB 128/ES137x Problems
Message-ID:  <20000216233312.15151.qmail@web108.yahoomail.com>

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

Remove the line:
controller snd0

Edit the following line:
device pcm0
-->
device pcm0 at pnp?

Make sure the following line is there:
controller pnp0

Best Regards,
Kar Wai

--- Aleksandar Obradovic <alex@montenegro.com> wrote:
> I got SoundBlaster PCI 128 with ES 1373  (After
> unsuccessful 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
> 
> 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
> 
> 
> 

> ATTACHMENT part 2 application/ms-tnef
name=winmail.dat

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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?20000216233312.15151.qmail>