Re: latest git compile error in sound/drivers/opl3/opl3_synth.c

From: Takashi Iwai
Date: Sun Feb 03 2008 - 04:10:46 EST


At Sun, 03 Feb 2008 13:30:30 +0800,
Li Zefan wrote:
>
>
> sound/drivers/opl3/opl3_synth.c: In function 'snd_opl3_find_patch':
> sound/drivers/opl3/opl3_synth.c:308: error: 'OPL3_PATCH_HASH_SIZE' undeclared (first use in this function)
> sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is reported only once
> sound/drivers/opl3/opl3_synth.c:308: error: for each function it appears in.)
> sound/drivers/opl3/opl3_synth.c:311: error: 'struct snd_opl3' has no member named 'patch_table'
> sound/drivers/opl3/opl3_synth.c:323: error: 'struct snd_opl3' has no member named 'patch_table'
> sound/drivers/opl3/opl3_synth.c:324: error: 'struct snd_opl3' has no member named 'patch_table'
> sound/drivers/opl3/opl3_synth.c: In function 'snd_opl3_clear_patches':
> sound/drivers/opl3/opl3_synth.c:335: error: 'OPL3_PATCH_HASH_SIZE' undeclared (first use in this function)
> sound/drivers/opl3/opl3_synth.c:337: error: 'struct snd_opl3' has no member named 'patch_table'
> sound/drivers/opl3/opl3_synth.c:342: error: 'struct snd_opl3' has no member named 'patch_table'
> sound/drivers/opl3/opl3_synth.c:342: error: 'struct snd_opl3' has no member named 'patch_table'
>
> seems it's caused by the following config options:
> # CONFIG_SND_SEQUENCER is not set
> CONFIG_SND_OPL3_LIB=m

Thanks, it's already fixed on ALSA tree for the next push.
http://lkml.org/lkml/2008/2/1/152

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