SB Live Module
Hi!
There are still problems with the SB Live kernel module.
I have added the following lines...
Makefile:
-I/usr/src/linux/include to the line
CFLAGS += -I$(INCLUDEDIR) -I.
newline--> CFLAGS += -I$(INCLUDEDIR) -I. -I/usr/src/linux/include
audio.c:
after the following line I added
#include <linux/module.h>
#include <linux/soundcard.h>
In this header file two defines are important (I think).
#define OSS_GETVERSION _SIOR ('M', 118, int)
#define SNDCTL_DSP_GETODELAY _SIOR ('P', 23, int)
When I run now 'make' I get the following messages:
root@insomnia:/usr/src/sblive $ make emu10k1
cc -D__KERNEL__ -DMODULE -DLINUX -DPCI_8010 -Wall -O2 -I/usr/include -I.
-I/usr/src/linux/include -c audio.c -o audio.o
audio.c: In function `emu10k1_audio_ioctl':
audio.c:281: `OSS_GETVERSION' undeclared (first use this function)
audio.c:281: (Each undeclared identifier is reported only once
audio.c:281: for each function it appears in.)
audio.c:285: warning: unreachable code at beginning of switch statement
audio.c:693: `SNDCTL_DSP_GETODELAY' undeclared (first use this function)
make: *** [audio.o] Error 1
root@insomnia:/usr/src/sblive $
Has anybody an idea where the problem is??
Bye,
Sven
Reply to: