From: Rene B. <re...@we...> - 2003-10-27 16:03:33
|
On 2003.10.21 10:22 Geert Uytterhoeven wrote: > On Mon, 20 Oct 2003, Rene Brothuhn wrote: > > Last weekend I've tried to compile the 2.6.0-test7 kernel on Apus, ju= st > to > > experiment a little with the NCR53C720 driver. > > But it wasn't able to compile because something from "arch/m68k" was > > included and caused some redefinitions. Is it o.k. that something fro= m > > m68k is included on PPC/Apus ? >=20 > Yes, that's code that's shared between m68k and PPC. However, it shoul= d > not > cause redefinitions. >=20 > Can you please post the compile errors, so we know what you're talking > about > exactly? Hello! I got a fs crash last weekend, so I had to re-install my system... Here is my compiler output: CHK include/linux/version.h make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date. CHK include/linux/compile.h CC arch/ppc/kernel/traps.o In file included from include/asm/machdep.h:9, from include/asm/irq.h:6, from include/asm/hardirq.h:8, from include/linux/interrupt.h:11, from arch/ppc/kernel/traps.c:29: include/asm-m68k/machdep.h:13: parse error before '(' token include/asm-m68k/machdep.h:13: parse error before ')' token include/asm-m68k/machdep.h:16: parse error before '*' token include/asm-m68k/machdep.h:16: parse error before ')' token include/asm-m68k/machdep.h:17: parse error before "irqreturn_t" include/asm-m68k/machdep.h:17: `mach_request_irq' declared as function=20 returning a function include/asm-m68k/machdep.h:17: warning: function declaration isn't a=20 prototype include/asm-m68k/machdep.h:18: parse error before "unsigned" include/asm-m68k/machdep.h:23: parse error before '*' token include/asm-m68k/machdep.h:23: warning: type defaults to `int' in=20 declaration of `irqreturn_t' include/asm-m68k/machdep.h:23: `irqreturn_t' declared as function=20 returning a function include/asm-m68k/machdep.h:23: warning: function declaration isn't a=20 prototype In file included from arch/ppc/kernel/traps.c:29: include/linux/interrupt.h:29: `irqreturn_t' redeclared as different kind=20 of symbol include/asm-m68k/machdep.h:23: previous declaration of `irqreturn_t' make[1]: *** [arch/ppc/kernel/traps.o] Error 1 make: *** [arch/ppc/kernel] Error 2 This occures on gcc 2.95.3 and 3.2.2. My .config is int the attachement. Ciao, Ren=E8 |