* 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
@ 2002-06-09 7:24 Miles Lane
2002-06-09 8:48 ` Skip Ford
0 siblings, 1 reply; 4+ messages in thread
From: Miles Lane @ 2002-06-09 7:24 UTC (permalink / raw)
To: LKML
gcc -Wp,-MD,.emumpu401.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=emumpu401 -c -o emumpu401.o emumpu401.c
emumpu401.c:309: parse error before "emu10k1_midi_init"
emumpu401.c:310: warning: return type defaults to `int'
emumpu401.c:332: parse error before "snd_emu10k1_midi"
emumpu401.c:333: warning: return type defaults to `int'
emumpu401.c:349: parse error before "snd_emu10k1_audigy_midi"
emumpu401.c:350: warning: return type defaults to `int'
make[3]: *** [emumpu401.o] Error 1
make[3]: Leaving directory `/usr/src/linux/sound/pci/emu10k1'
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y
#
# Generic devices
#
CONFIG_SND_VIRMIDI=m
#
# PCI devices
#
CONFIG_SND_EMU10K1=m
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
2002-06-09 7:24 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init" Miles Lane
@ 2002-06-09 8:48 ` Skip Ford
2002-06-09 17:20 ` Miles Lane
0 siblings, 1 reply; 4+ messages in thread
From: Skip Ford @ 2002-06-09 8:48 UTC (permalink / raw)
To: Miles Lane; +Cc: LKML, Linus Torvalds
Miles Lane wrote:
> gcc -Wp,-MD,.emumpu401.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=emumpu401 -c -o emumpu401.o emumpu401.c
> emumpu401.c:309: parse error before "emu10k1_midi_init"
> emumpu401.c:310: warning: return type defaults to `int'
> emumpu401.c:332: parse error before "snd_emu10k1_midi"
> emumpu401.c:333: warning: return type defaults to `int'
> emumpu401.c:349: parse error before "snd_emu10k1_audigy_midi"
> emumpu401.c:350: warning: return type defaults to `int'
> make[3]: *** [emumpu401.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/sound/pci/emu10k1'
I guess this file also needs init.h
--- linux/sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002
+++ linux/sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002
@@ -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>
--
Skip
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
@ 2002-06-09 17:20 ` Miles Lane
2002-06-09 17:45 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Miles Lane @ 2002-06-09 17:20 UTC (permalink / raw)
To: Skip Ford <skip.ford@verizon.net,LKML
Skip Ford wrote:
>
> I guess this file also needs init.h
>
>
> --- linux/sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002
> +++ linux/sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002
> @@ -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=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=m
CONFIG_SND_RTCTIMER=m
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y
#
# PCI devices
#
CONFIG_SND_EMU10K1=m
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
2002-06-09 17:20 ` Miles Lane
@ 2002-06-09 17:45 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2002-06-09 17:45 UTC (permalink / raw)
To: Miles Lane; +Cc: Skip Ford <skip.ford@verizon.net,LKML
On Sun, Jun 09, 2002 at 10:20:32AM -0700, Miles Lane wrote:
> Skip Ford wrote:
> >
> > I guess this file also needs init.h
> >
> >
> > --- linux/sound/pci/emu10k1/emumpu401.c~ Sun Jun 9 04:30:46 2002
> > +++ linux/sound/pci/emu10k1/emumpu401.c Sun Jun 9 04:31:51 2002
> > @@ -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'
emupcm.c needs <linux/init.h> as well. And probably a few more files in
there as well.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-09 17:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 7:24 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init" Miles Lane
2002-06-09 8:48 ` Skip Ford
2002-06-09 17:20 ` Miles Lane
2002-06-09 17:45 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox