Skip to contentSkip to conversation

1.0.24 alsa-driver compilation problem

DISCUSSION Grzegorz Daniluk 2 participants 3 messages Mar 4, 2011

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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

Quoted 30 lines · Grzegorz Daniluk

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 6 lines · Grzegorz Daniluk
Quoted 2 lines

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