2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002 line 27
Quoted 13 lines · Skip Ford
I guess this file also needs
init.hsound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002 renamed from sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002 +1
-0@@ -22,6 +22,7 @@ #define __NO_VERSION__ #include <sound/driver.h> #include <linux/time.h> +#include <linux/init.h> #include <sound/core.h> #include <sound/emu10k1.h>
After applying your patch, I get:
gcc -Wp,-MD,.emupcm.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -nostdinc -iwithprefix include -DMODULE -DKBUILD_BASENAME=emupcm -c -o emupcm.o emupcm.c
emupcm.c:964: parse error before "snd_emu10k1_pcm" emupcm.c:965: warning: return type defaults to int' emupcm.c:1012: parse error before "snd_emu10k1_pcm_mic" emupcm.c:1013: warning: return type defaults to int' emupcm.c:1115: parse error before "snd_emu10k1_pcm_efx" emupcm.c:1116: warning: return type defaults to `int' make[3]: *** [emupcm.o] Error 1
make[3]: Leaving directory `/usr/src/linux/sound/pci/emu10k1'
CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#CONFIG_SND=mCONFIG_SND_SEQUENCER=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_SEQUENCER_OSS=mCONFIG_SND_RTCTIMER=mCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_DEBUG=yCONFIG_SND_DEBUG_MEMORY=yCONFIG_SND_DEBUG_DETECT=y
#
# PCI devices
#CONFIG_SND_EMU10K1=m