LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SiS7012 module compiling problems (https://www.linuxquestions.org/questions/linux-hardware-18/sis7012-module-compiling-problems-91986/)

orbitalistic 09-12-2003 09:17 AM

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?

amos 09-12-2003 02:56 PM

Hi orbitalistic

I have a Laptop with SiS7012 Onboard sound, the only way I've managed to get the sound working is by:

Recompiling the Kernel with the ACPI Patch applied and then enabling the OSS sound drivers.

If you search for posts by me you should find more details of both my attempts with MDK9.0 back in December and with Slack9 last month.

Cheers
Amos


All times are GMT -5. The time now is 08:21 AM.