All of lore.kernel.org
 help / color / mirror / Atom feed
* 1.0.24 alsa-driver compilation problem
@ 2011-03-04 10:07 Grzegorz Daniluk
  2011-03-04 13:20 ` Grzegorz Daniluk
  0 siblings, 1 reply; 3+ messages in thread
From: Grzegorz Daniluk @ 2011-03-04 10:07 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 1.0.24 alsa-driver compilation problem
  2011-03-04 10:07 1.0.24 alsa-driver compilation problem Grzegorz Daniluk
@ 2011-03-04 13:20 ` Grzegorz Daniluk
  2011-03-04 14:42   ` Clemens Ladisch
  0 siblings, 1 reply; 3+ messages in thread
From: Grzegorz Daniluk @ 2011-03-04 13:20 UTC (permalink / raw)
  To: alsa-devel

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
>
>   

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 1.0.24 alsa-driver compilation problem
  2011-03-04 13:20 ` Grzegorz Daniluk
@ 2011-03-04 14:42   ` Clemens Ladisch
  0 siblings, 0 replies; 3+ messages in thread
From: Clemens Ladisch @ 2011-03-04 14:42 UTC (permalink / raw)
  To: Grzegorz Daniluk; +Cc: 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-04 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-04 10:07 1.0.24 alsa-driver compilation problem Grzegorz Daniluk
2011-03-04 13:20 ` Grzegorz Daniluk
2011-03-04 14:42   ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.