[lkml]   [2002]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 2.5.21 -- emumpu401.c:309: parse error before "emu10k1_midi_init"
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>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [W:0.028 / U:12.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site