Re: Kernel 2.6.15-4
On Tue, Feb 07, 2006 at 09:57:52PM +0100, storm66 club-internet wrote:
> 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
Did you simply unpack the source, or did you also apply the m68k patches
which are part of the linux-2.6 source package?
-rw-r--r-- 1 cts cts 127494 Feb 2 20:03 m68k-2.6.15.patch
-rw-r--r-- 1 cts cts 427 Feb 3 23:26 m68k-buddha.patch
-rw-r--r-- 1 cts cts 361 Feb 2 20:03 m68k-bvme.patch
-rw-r--r-- 1 cts cts 2838 Jun 28 2005 m68k-mac68k_cvs_via_cleanup_and_fix2.patch
-rw-r--r-- 1 cts cts 2434 Feb 2 20:03 m68k-max_nr_zones.patch
-rw-r--r-- 1 cts cts 357 Feb 2 20:03 m68k-mvme147.patch
-rw-r--r-- 1 cts cts 357 Feb 2 20:03 m68k-mvme16x.patch
-rw-r--r-- 1 cts cts 1033 Feb 2 20:03 m68k-spinlock.patch
-rw-r--r-- 1 cts cts 1009 Feb 2 20:03 m68k-vmeints.patch
> 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.
The build-depends in the source package say: gcc-3.3 [m68k]
I have been using 3.3.6, cross-gcc of course.