[lkml]   [1996]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsound driver as module?

I'm trying to make a soundblaster moudle in 2.0.5 (i386).

When I run xconfig and look at the sound setting I get (and exiting without
WARNING - broken! CONFIG_AEDSP16 was not declared!

I'm also having problems o

When I did a config without save I got:
gcc -D__KERNEL__ -I/usr/local/src/linux/linux-2.0.5/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/local/src/linux/linux-2.0.5/include/linux/modversions.h -c -o sound_switch.o sound_switch.c
sound_switch.c: In function `init_status':
sound_switch.c:97: parse error before `SOUND_CONFIG_DATE'
sound_switch.c: In function `sound_ioctl_sw':
sound_switch.c:532: warning: unused variable `mixdev'
make[2]: *** [sound_switch.o] Error 1
make[2]: Leaving directory `/fs4/local/src1/linux/linux-2.0.5/drivers/sound'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/fs4/local/src1/linux/linux-2.0.5/drivers'
make: *** [modules] Error 2
: leisner@pb;make modules

When I saved (the same config, nothing changed) and did a make modules I get:
gcc -D__KERNEL__ -I/usr/local/src/linux/linux-2.0.5/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/local/src/linux/linux-2.0.5/include/linux/modversions.h -c -o sb_common.o sb_common.c
sb_common.c:21: #error You will need to configure the sound driver with CONFIG_AUDIO option.
sb_common.c:266: warning: `sb16_set_mpu_port' defined but not used
make[2]: *** [sb_common.o] Error 1
since CONFIG_AUDIO is #undefed.

I defined CONFIG_AUDIO manually and it compiled (but I don't know how it
works yet).

Member of the League for Programming Freedom (
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001

 \ /
  Last update: 2005-03-22 13:38    [W:0.018 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site