Error compiling alsa-driver with slack 10.2 and 2.6.16.2
I've just done a fresh install of Slack 10.2, upgrading from my aging 10.1 installation.
Sounds worked fine with the stock 2.4.31 kernel and alsa packages, alsaconf successfully detects my sound card (integrated SiS 7012, using intel8x0 driver). I recompiled my kernel (2.6.16.2), with just soundcore enabled but no alsa or oss. I had planned on compiling the alsa stuff as modules from the sources at alsa-project.org because that is what I had to do when I installed 2.6 on my previous Slack 10 installation.
So I download, untar and try to compile alsa-driver-1.0.10.
I configure it using:
./configure --with-cards=intel8x0 --with-sequencer=yes
but when I run make, I get this error (this is just the end part of the output):
make[1]: Entering directory `/usr/src/linux-2.6.16.2'
CC [M] /home/kovacs/alsa/alsa-driver-1.0.10/acore/memalloc.o
CC [M] /home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.o
In file included from /home/kovacs/alsa/alsa-driver-1.0.10/include/adriver.h:770,
from /home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.c:13:
include/linux/pci.h:460: error: syntax error before numeric constant
make[4]: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.o] Error 1
make[3]: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore] Error 2
make[2]: *** [_module_/home/kovacs/alsa/alsa-driver-1.0.10] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.2'
make: *** [compile] Error 2
The 2.6.16.2 kernel source is in /usr/src/linux, I also have the 2.4.31 kernel headers installed but have removed the 2.4.31 source and modules packages.
Any ideas?
|