Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Wed, 30 Apr 2003 22:36:47 +0200 | From | Willy Tarreau <> | Subject | Re: ALSA and 2.4.x |
| |
Hi !
I add to fix it too, and I sent the patch to Erik privately but it was not clear that it would indeed fix this problem. It comes from sound_core.c not including adriver.h which contains the compat code.
Here is a simple patch which works for me.
cheers, willy
--- ./sound/sound_core.c.orig Wed Apr 30 15:11:14 2003 +++ ./sound/sound_core.c Wed Apr 30 15:11:52 2003 @@ -45,6 +45,7 @@ #include <linux/major.h> #include <linux/kmod.h> #include <linux/devfs_fs_kernel.h> +#include <sound/driver.h> #define SOUND_STEP 16 On Wed, Apr 30, 2003 at 02:22:39PM -0600, 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 > > It compiles for me, but I don't use devfs. Perhaps there is > a problem with the compatibility code in include/sound/adriver.h > > > Can that be fixed? > > I am certain it can. But since it works for me and since I am > moving this week (lots of packing to do) it may not be till sometime > next week before I get the time to work further on it. - 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/
| ![\](/images/icornerr.gif) |