SiS7012 module compiling problems
I have an onboard SiS7012 soundcard on my laptop, running Slackware 9. I have downloaded the diver from the manufacturer webpage, but when I try to compile the module I get this
gcc -D__KERNEL__ -Wstrict-prototypes -pipe -DMODULE -Wall -O2 -fomit-frame-pointer -DMODVERSIONS -DEXPORT_SYMTAB -include/usr/src/linux-/usr/src/linux-2.4.20/include/linux/modversions.h -I./ -I/usr/src/linux-/usr/src/linux-2.4.20/include -ffixed-8 -c -o src/sndobj.o src/sndobj.c
src/sndobj.c: /usr/src/linux-/usr/src/linux-2.4.20/include/linux/modversions.h: No such file or directory
In file included from src/sndobj.c:52:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
src/sndobj.c:115: warning: static declaration for `no_llseek' follows non-static
make: *** [src/sndobj.o] Error 1
The thing is that modversions.h does exist, but it only contains one line of text saying
#include <linux/modsetver.h>
and I don't know if this is enough.
Any idea?
|