At Wed, 11 Jul 2007 09:55:34 +0100, TJ wrote:
Hi,
Thank you for trying it.
On 11/07/07, sknauert@wesleyan.edu sknauert@wesleyan.edu wrote:
Thanks for the quick work. Gave it a try.
Shiva:/usr/src/linux-2.6.21.6# make CROSS_COMPILE=mips-linux-gnu- all ... Building modules, stage 2. MODPOST 3 modules WARNING: "snd_pcm_period_elapsed" [sound/mips/snd-mace-audio.ko] undefined! WARNING: "snd_pcm_set_ops" [sound/mips/snd-mace-audio.ko] undefined! WARNING: "snd_pcm_lib_ioctl" [sound/mips/snd-mace-audio.ko] undefined! WARNING: "snd_pcm_new" [sound/mips/snd-mace-audio.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2
I have never seen this before, it looks like the ALSA core/support modules have not been build on which my module depends on. Here's my SND/ALSA config:
(snip)
I guess I should be adding more depends to my Kconfig, I've never tried to see what the bare minimum alsa modules needed are.
Yes, you need to add "select SND_PCM" in SND_MACE_AUDIO* Kconfig entries.
Takashi