[alsa-devel] 1.0.24 alsa-driver compilation problem
Hi, I'm trying to cross-compile the latest 1.0.24 alsa-driver for my embedded system (using SH4 processor and linux kernel 2.6.35). Before compiling 1.0.24 I did turn off the alsa in kernel configuration (leaving just Sound card support enabled). So I run as follows: ./configure --with-kernel=<where_my_kernel_src's_are> --with-build=<where_my_kernel_src's_are> --with-cross=sh4-linux-gnu-
and then 'make'. However, during 'make' I've noticed the following warning:
WARNING: "register_sound_special_device" [/root/alsa-driver-1.0.24/acore/snd.ko] undefined! WARNING: "unregister_sound_special" [/root/alsa-driver-1.0.24/acore/snd.ko] undefined!
and then when trying to insmod the snd.ko module the following error appears:
snd: Unknown symbol unregister_sound_special (err 0) snd: Unknown symbol register_sound_special_device (err 0)
thank you for your help, best regards, Greg
ok, when I add the --with-oss=no option to ./configure those warnings disappear and I can load the module without any problems. But still.. how can I compile alsa to have also oss emulation (I need /dev/dsp to access sound codec from my software).
Greg
Grzegorz Daniluk wrote:
Hi, I'm trying to cross-compile the latest 1.0.24 alsa-driver for my embedded system (using SH4 processor and linux kernel 2.6.35). Before compiling 1.0.24 I did turn off the alsa in kernel configuration (leaving just Sound card support enabled). So I run as follows: ./configure --with-kernel=<where_my_kernel_src's_are> --with-build=<where_my_kernel_src's_are> --with-cross=sh4-linux-gnu-
and then 'make'. However, during 'make' I've noticed the following warning:
WARNING: "register_sound_special_device" [/root/alsa-driver-1.0.24/acore/snd.ko] undefined! WARNING: "unregister_sound_special" [/root/alsa-driver-1.0.24/acore/snd.ko] undefined!
and then when trying to insmod the snd.ko module the following error appears:
snd: Unknown symbol unregister_sound_special (err 0) snd: Unknown symbol register_sound_special_device (err 0)
thank you for your help, best regards, Greg _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Grzegorz Daniluk wrote:
snd: Unknown symbol unregister_sound_special (err 0) snd: Unknown symbol register_sound_special_device (err 0)
ok, when I add the --with-oss=no option to ./configure those warnings disappear and I can load the module without any problems. But still.. how can I compile alsa to have also oss emulation
You need to enable OSS emulation in the kernel; try CONFIG_SOUND_PRIME.
Regards, Clemens
participants (2)
-
Clemens Ladisch
-
Grzegorz Daniluk