Messages in this thread | | | Date | Sun, 03 Feb 2008 13:30:30 +0800 | From | Li Zefan <> | Subject | latest git compile error in sound/drivers/opl3/opl3_synth.c |
| |
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
| |