Re: Latest ALSA code available for tests

Jaroslav Kysela (perex@suse.cz)
Fri, 24 May 2002 09:24:06 +0200 (CEST)


On Fri, 24 May 2002, Dagfinn Ilmari [iso-8859-1] Mannsåker wrote:

> Jaroslav Kysela <perex@suse.cz> writes:
>
> > Hi all,
> >
> > the latest ALSA -> kernel patch is available for tests at
> >
> > ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-2002-05-23-1-linux-2.5.17-cs1.582.patch.gz
> >
> > I'd like to ask interested people to test this patch and report
> > especially compilation problems, because there are some fixes in code
> > dependency for OSS emulation layer. Also Hammerfall DSP code was recently
> > added.
>
> It all compiled fine here, and depmod doesn't complain about any
> unresolved symbols. However, when I try to load snd.o, it tells that
> snd_mixer_oss_notify_callback is unresolved. The relevant config
> parameters are:
>
> CONFIG_SOUND=y
> CONFIG_SND=m
> CONFIG_SND_OSSEMUL=y
> CONFIG_SND_MIXER_OSS=m
> CONFIG_SND_PCM_OSS=m
> CONFIG_SND_RTCTIMER=m
> CONFIG_SND_MAESTRO3=m

Thanks. Bellow patch (apply in sound/core directory) should fix this
problem:

Index: init.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/init.c,v
retrieving revision 1.8
diff -u -r1.8 init.c
--- init.c 23 May 2002 08:20:38 -0000 1.8
+++ init.c 24 May 2002 06:57:41 -0000
@@ -33,7 +33,7 @@
snd_card_t *snd_cards[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = NULL};
rwlock_t snd_card_rwlock = RW_LOCK_UNLOCKED;

-#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS)
+#if defined(CONFIG_SND_MIXER_OSS) || defined(CONFIG_SND_MIXER_OSS_MODULE)
int (*snd_mixer_oss_notify_callback)(snd_card_t *card, int free_flag);
#endif

Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

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