I just got sound blaster live and cannot get it working in linux. I've been trying to install emu10k source, haven't succeed. Here is the listing of making of source. After the first make I changed the LINUX_VERSION correc in .opts file. Does anyone have any idea how to get this work or any easier way for doing this??? The second make gives millions of errors so am I missing something here??


[root@blemish emu10k1-v0.20a]# make
make -Cscripts
make[1]: Entering directory `/home/repeto/emu10k1-v0.20a/scripts'
cc -I/lib/modules/`uname -r`/build/include get_version.c -o get_version
make -f /home/repeto/emu10k1-v0.20a/scripts/Makefile.get_options -C /lib/modules/`uname -r`/build get_version_target
make[2]: Entering directory `/usr/src/linux-2.6.5-63077cl'
echo "KERNEL_VERSION := 2.6.5-62218cl" >> /home/repeto/emu10k1-v0.20a/scripts/../.opts
echo "CFLAGS += -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -O2 " >> /home/repeto/emu10k1-v0.20a/scripts/../.opts
echo "CC := gcc" >> /home/repeto/emu10k1-v0.20a/scripts/../.opts
echo "MODFLAGS += -DMODULE" >> /home/repeto/emu10k1-v0.20a/scripts/../.opts
make[2]: Leaving directory `/usr/src/linux-2.6.5-63077cl'
make[1]: Leaving directory `/home/repeto/emu10k1-v0.20a/scripts'
**
** Compilation configured for KERNEL_VERSION := 2.6.5-62218cl, now compile it with:
** make
**


root@blemish emu10k1-v0.20a]# make
gcc -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i386 -Iinclude/asm-i386/mach-default -O2 -DMODULE -M audio.c cardmi.c cardmo.c cardwi.c cardwo.c efxmgr.c emuadxmg.c hwaccess.c irqmgr.c main.c midi.c mixer.c recmgr.c timer.c voicemgr.c ecard.c passthrough.c > .depend
audio.c:36:24: linux/slab.h: No such file or directory
audio.c:42:27: linux/wrapper.h: No such file or directory
In file included from audio.c:45:
hwaccess.h:40:24: linux/slab.h: No such file or directory
hwaccess.h:43:25: emu_wrapper.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from timer.h:31,
from cardwo.h:38,
from audio.c:46:
/usr/include/linux/irq.h:16:27: linux/cpumask.h: No such file or directory
In file included from /usr/include/linux/irq.h:18,
from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from timer.h:31,
from cardwo.h:38,
from audio.c:46:
/usr/include/asm/irq.h:15:25: irq_vectors.h: No such file or directory
In file included from /usr/include/linux/irq.h:70,
from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from timer.h:31,
from cardwo.h:38,
from audio.c:46:
/usr/include/asm/hw_irq.h:15:27: linux/profile.h: No such file or directory
/usr/include/asm/hw_irq.h:18:26: asm/sections.h: No such file or directory
cardmi.c:33:24: linux/slab.h: No such file or directory
In file included from cardmi.c:36:
hwaccess.h:40:24: linux/slab.h: No such file or directory
hwaccess.h:43:25: emu_wrapper.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from cardmi.h:37,
from cardmi.c:38:
/usr/include/linux/irq.h:16:27: linux/cpumask.h: No such file or directory
In file included from /usr/include/linux/irq.h:18,
from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from cardmi.h:37,
from cardmi.c:38:
/usr/include/asm/irq.h:15:25: irq_vectors.h: No such file or directory
In file included from /usr/include/linux/irq.h:70,
from /usr/include/asm/hardirq.h:5,
from /usr/include/linux/interrupt.h:9,
from cardmi.h:37,
from cardmi.c:38:

... etc