I built my own kernel, so here's what I started with:
./configure --with-cards=emu10k1 --with-sequencer=yes 
--with-kernel=/usr/build/kernel2.6 --with-isapnp=no

isapnp isn't compiled into the kernel, so I needed --with-isapnp=no in order 
to get it to configure

then I tried to make.  The first few files compile okay, and I get a long 
list of errors. Here's a small excerpt at the beginning of the troubles:

make[1]: Entering directory '/usr/src/alsa-driver-0.9.8/acore
gcc -D_KERNEL_-DMODULE=1 -I/usr/src/alsa-driver-0.9.8/include
-Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -pipe
-DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file inclded from /usr/include/linux/prefetch.h:13,
        from /usr/include/linux/list.h:6
        from /usr/include/linux/module.h:12,
        from /usr/src/alsa-driver-0.9.8/include/adriver.h:51,
        from /usr/src/alsa-driver-0.9.8/include/sound/driver.h:42,
        from hwdep.c22:
/usr/include/asm/processor.h:75: error: 'NR_CPUS' undeclared here (not ina 
function)
In file included from /usr/src/alsa-driver-0.9.8/include/adriver.h:51,
        from /usr/src/alsa-driver-0.9.8/include/sound/driver.h:42,
        from hwdep.c:22:
/usr/include/linux/module.h:21:34: linux/modversions.h: No such file or 
directory
n file inclded from /usr/include/linux/fs.h:12,
        from ...
        from hwdep.c:22:
/usr/include/linux/wait.h:78: error: parse error before "spinlock_t"
/usr/include/linux/wait.h:84: error: parse error before '}' token
/usr/include/linux/wait.h: In function 'init_waitqueue_head':
/usr/include/linux/wait.h:161: error: dereferencing pointer to incomplete type


I've compiled the kernel twice. It seems to run okay, but there's no sound.
Before I started the compile, I checked modinfo soundcore and got a positive 
result. Now, however, it's gone. I don't understand that at all. I compiled 
the kernel with alsa module support.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to