Re: still sound problems....

J. Maynard Gelinas (jmg@iac.net)
Sun, 15 Mar 1998 12:56:35 -0500 (EST)


> Date: Sun, 15 Mar 1998 10:51:43 +0200
> From: Itai Nahshon <nahshon@actcom.co.il>
> To: maynard@jmg.com
> CC: nahshon@actcom.co.il, linux-kernel@vger.rutgers.edu
> Subject: Re: still sound problems....
>
> J. Maynard Gelinas wrote:
> >
[snip]

> > If so then I'm not the only one. I grabbed both 2.1.88
> > and 2.1.89 pristine from Sunsite. I didn't patch up, I took the whole
> > source.
> >
> In that case, which of the source file has a reference to
> sb_audio_ioctl?
>
> In my system:
> nahshon# cd /usr/src/linux
> nahshon# find . -name '*.[hc]' -print0 | xargs -0 grep -w sb_audio_ioctl
> (nothing!)
>

OK, I just untarred 2.1.89 from my tar.gz file again and
started from scratch (the compile still blew up):

[root@marquez linux]# find . -name '*.[hc]' -print0 | xargs -0 grep -w
sb_audio_ioctl

[not there, just like on your system]

[root@marquez linux]# ls -la /usr/include/linux
lrwxrwxrwx 1 root root 28 Mar 8 10:40
/usr/include/linux -> /usr/src/linux/include/linux
[root@marquez linux]# ls -la /usr/include/asm
lrwxrwxrwx 1 root root 31 Mar 8 10:40
/usr/include/asm -> /usr/src/linux/include/asm-i386
[root@marquez linux]# ls -la /usr/include/scsi
lrwxrwxrwx 1 root root 27 Mar 8 10:40
/usr/include/scsi -> /usr/src/linux/include/scsi

[symlinks look right - time to config]

[root@marquez linux]#
[root@marquez linux]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
gcc -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
make -C scripts kconfig.t

[...build it]

[root@marquez linux]# make dep; make clean; make bzImage

[...]

gcc -D__KERNEL__ -I/usr/src/linux-2.1.89/include -D__ASSEMBLY__
-D__SMP__ -traditional -c putuser.S -o putuser.o
rm -f lib.a
ar rcs lib.a checksum.o semaphore.o locks.o delay.o usercopy.o
getuser.o putuser.o
make[2]: Leaving directory `/usr/src/linux-2.1.89/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.1.89/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.1.89/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/sound/sound.a drivers/pci/pci.a \
/usr/src/linux-2.1.89/arch/i386/lib/lib.a
/usr/src/linux-2.1.89/lib/lib.a
/usr/src/linux-2.1.89/arch/i386/lib/lib.a \
-o vmlinux
drivers/sound/sound.a(dev_table.o)(.data+0x110): undefined reference
to `attach_sb_card'
drivers/sound/sound.a(dev_table.o)(.data+0x114): undefined reference
to `probe_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x118): undefined reference
to `unload_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x12c): undefined reference
to `attach_sb_card'
drivers/sound/sound.a(dev_table.o)(.data+0x130): undefined reference
to `probe_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x118): undefined reference
to `unload_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x12c): undefined reference
to `attach_sb_card'
drivers/sound/sound.a(dev_table.o)(.data+0x130): undefined reference
to `probe_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x134): undefined reference
to `unload_sb'
drivers/sound/sound.a(dev_table.o)(.data+0x148): undefined reference
to `attach_sbmpu'
drivers/sound/sound.a(dev_table.o)(.data+0x14c): undefined reference
to `probe_sbmpu'
drivers/sound/sound.a(dev_table.o)(.data+0x150): undefined reference
to `unload_sbmpu'
drivers/sound/sound.a(mad16.o): In function `wss_init':
mad16.o(.text+0x32a): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `probe_mad16':
mad16.o(.text+0x665): undefined reference to `ad1848_detect'
drivers/sound/sound.a(mad16.o): In function `attach_mad16':
mad16.o(.text+0x763): undefined reference to `ad1848_detect'
mad16.o(.text+0x847): undefined reference to `ad1848_init'
drivers/sound/sound.a(mad16.o): In function `attach_mad16_mpu':
mad16.o(.text+0x89f): undefined reference to `sb_dsp_init'
drivers/sound/sound.a(mad16.o): In function `probe_mad16_mpu':
mad16.o(.text+0x999): undefined reference to `sb_dsp_detect'
drivers/sound/sound.a(mad16.o): In function `unload_mad16':
mad16.o(.text+0xa5e): undefined reference to `ad1848_unload'
drivers/sound/sound.a(mad16.o): In function `unload_mad16_mpu':
mad16.o(.text+0xa8b): undefined reference to `sb_dsp_unload'
make: *** [vmlinux] Error 1
[root@marquez linux]#

[....oooohhhhh! WIPEOUT!]

--jmg

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu