Error compiling alsa-driver with slack 10.2 and 126.96.36.199
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 (188.8.131.52), 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: Entering directory `/usr/src/linux-184.108.40.206'
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,
include/linux/pci.h:460: error: syntax error before numeric constant
make: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore/sgbuf.o] Error 1
make: *** [/home/kovacs/alsa/alsa-driver-1.0.10/acore] Error 2
make: *** [_module_/home/kovacs/alsa/alsa-driver-1.0.10] Error 2
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-220.127.116.11'
make: *** [compile] Error 2
The 18.104.22.168 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.