Kernel + Sound Driver

Kernel + Sound Driver

Post by Yoo-Shin L » Sat, 24 Dec 1994 17:13:22



Help.

So, doing a make from /usr/src/linux takes me pretty far except
I die here:

make[2]: Entering directory `/usr/src/linux-1.1.59/drivers/sound'
gcc -D__KERNEL__ -I/usr/src/linux-1.1.59/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486 -c dmabuf.c
dmabuf.c: In function `reorganize_buffers':
dmabuf.c:129: warning: int format, long int arg (arg 3)
dmabuf.c:129: warning: int format, long int arg (arg 4)
dmabuf.c:129: warning: int format, long int arg (arg 5)
dmabuf.c: In function `DMAbuf_open_dma':
dmabuf.c:661: too few arguments to function `request_dma'
make[2]: *** [dmabuf.o] Error 1
make[2]: Leaving directory `/usr/src/linux-1.1.59/drivers/sound'
make[1]: *** [driversubdirs] Error 2
make[1]: Leaving directory `/usr/src/linux-1.1.59/drivers'
make: *** [linuxsubdirs] Error 2

I checked request_dma and it needs 2 arguments.  The code in
dmabuf.c (line 661) only passes one.  How do I figure out
which deviceID to give?

--
                        Yoo-Shin Lee

                        http://web.cs.ualberta.ca/~yoosh