Re: ALSA and 2.4.x

From: David van Hoose (davidvh@cox.net)
Date: Wed Apr 30 2003 - 19:09:24 EST


Erik Andersen wrote:
> On Wed Apr 30, 2003 at 03:07:43PM -0500, David van Hoose wrote:
>
>>I'm getting an unresolved in soundcore.o that is preventing me from
>>having sound.
>>/lib/modules/2.4.21-rc1/kernel/sound/soundcore.o: unresolved symbol
>>devfs_remove
>>/lib/modules/2.4.21-rc1/kernel/sound/soundcore.o: insmod
>>/lib/modules/2.4.21-rc1/kernel/sound/soundcore.o failed
>>/lib/modules/2.4.21-rc1/kernel/sound/soundcore.o: insmod snd-card-0 failed
>>
>>Can that be fixed?
>
>
> It looks like this is simply a minor include file problem.
> sound/sound_core.c needs
> #include <sound/driver.h>
> added to it which should hopefully make this problem go away.
>
>
>>Also I have problems if I compile USB Audio and USB MIDI from the USB
>>section AND USB Audio and USB MIDI from the ALSA section. Compilation
>>fails in that situation. Might want to put the former patch up if this
>>stuff might take a while to fix.
>
>
> This looked trivial enough to fix, I went ahead and
> regenerated my patch with these changes,

Got it. I patched sound_core.c and I have sound now. I'm assuming that
was the only file that needed to be patched. Correct? Also, should the
OSS soundcore option in menuconfig always be 'Y'? It seems to not want
to be anything else.

I get this warning on almost every file during the compile.
In file included from /usr/src/linux-2.4.21-rc1/include/sound/driver.h:43,
                   from hwdep.c:22:
/usr/src/linux-2.4.21-rc1/include/sound/adriver.h:320:1: warning:
"vmalloc_to_page" redefined
In file included from
/usr/src/linux-2.4.21-rc1/include/linux/modversions.h:185,
from <command line>:1:
/usr/src/linux-2.4.21-rc1/include/linux/modules/ksyms.ver:66:1: warning:
this is the location of the previous definition

Another trivial patch perhaps?

Thanks for the patch!
David

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:37 EST