Le lundi 06 février 2006 à 20:51 +0100, Christian T. Steigies a écrit : > On Mon, Feb 06, 2006 at 08:03:02PM +0100, storm66 club-internet wrote: > > Hello, > > > > I try to compile the last 2.6.15-4 get from Debian and I have some > > errors : > > CC arch/m68k/kernel/asm-offsets.s > > CC scripts/mod/empty.o > > In file included from include/linux/hardirq.h:7, > > from include/asm/system.h:54, > > from include/linux/spinlock.h:57, > > from include/linux/capability.h:45, > > from include/linux/sched.h:7, > > from arch/m68k/kernel/asm-offsets.c:12: > > include/asm/hardirq.h:22: warning: `NR_IRQS' is not defined > > How are you compiling? On an m68k machine? cross-compiling? Which compiler? > I (cross-)built and uploaded 2.6.15-4 last week, so I don't see how this > should happen. Do you apply the m68k patches, for example by using the > debian build system? Did you change the config? Maybe you enabled some > drivers that I disabled because they would not compile. Why don't you use > the precompiled kernel?
Machine A2000/060 Compiler GCC-2.95.4 Origin linux-source-2.6.15 downloaded from Debian I compiled it on two PC's without problems but with gcc 4.0.3 on one and 3.4.5 on the other Config I do not think that I have enabled any new options in the kernel. I use self compiled kernels since many years, I think since 2.0.3x on m68k (the same A2000) and since the beginning of 2.2 with i386. The last 2.6.14 was compiled OK with gcc 2.95.4 and works well. I will test all the .config stuff and retry with gcc 3.4 Regards -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]