Re: 2.6.11-rc2-mm1 [compile fix]

From: Adrian Bunk
Date: Mon Jan 24 2005 - 12:29:13 EST


On Mon, Jan 24, 2005 at 04:11:13PM +0100, Benoit Boissinot wrote:
> On Mon, Jan 24, 2005 at 02:15:16AM -0800, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc1/2.6.11-rc1-mm1/
> >
> >
> > - Lots of updates and fixes all over the place.
> >
> >
> > Changes since 2.6.11-rc1-mm2:
> >
> > [snip]
> >
> > +kernel-forkc-make-mm_cachep-static.patch
> >
> > Little fixes.
> >
> >
> It breaks compilation with gcc-4.0
>
> kernel/fork.c:1249: error: static declaration of ???mm_cachep??? follows non-static declaration
> include/linux/slab.h:117: error: previous declaration of ???mm_cachep??? was here
> make[1]: *** [kernel/fork.o] Error 1
> make: *** [kernel] Error 2
>...

Ups, yes, thanks. This was my fault.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/