opl3sa.c doesn't work

Jan Kneschke (Jan.Kneschke@kiel.netsurf.de)
Sun, 19 Apr 1998 13:34:21 +0200 (MEST)


the compiled opl3sa-driver only consists of one funtion:

weigon@weigon:/linux2/home/weigon/linux-new/drivers/sound > ls -l opl3sa.*
-rw-r--r-- 1 weigon users 6411 Apr 19 13:27 opl3sa.c
-rw-r--r-- 1 weigon users 729 Apr 19 13:27 opl3sa.o
weigon@weigon:/linux2/home/weigon/linux-new/drivers/sound > nm opl3sa.o
00000000 t gcc2_compiled.
weigon@weigon:/linux2/home/weigon/linux-new/drivers/sound >

if i set the right defines (if defined(...) || defined(MODULE) ) i'll get:

gcc -D__KERNEL__ -I/linux2/home/weigon/linux-new/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -c -o
opl3sa.o opl3sa.c
opl3sa.c: In function nit_module':
opl3sa.c:315: 'found_mpu' undeclared (first use this function)
opl3sa.c:315: (Each undeclared identifier is reported only once
opl3sa.c:315: for each function it appears in.)
opl3sa.c:315: warning: implicit declaration of function 'Probe_opl3_mpu'
opl3sa.c:320: 'SOUND_LOCK' undeclared (first use this function)
opl3sa.c: In function 'Cleanup_module':
opl3sa.c:326: 'Found_mpu' undeclared (first use this function)
opl3sa.c:328: warning: implicit declaration of function 'Unload_opl3sa'
opl3sa.c:329: 'SOUND_LOCK_END' undeclared (first use this function)

thats all
Jan

---
Project: GGI - S3-Vision-driver -- http://www.ggi-project.org/
-)= Jan (Weigon) Kneschke -- Kiel -- Northern Germany =(-

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu