TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:12458] Compiling (old) kernels



On Sun, Jan 16, 2000 at 02:20:03PM -0600, Christopher Reid Palmer wrote:
> On Sun, 16 Jan 2000, Philip C Mendelsohn wrote:
> 
> > -----
> > In file included from capability.c:9:
> > /usr/src/linux/include/asm/uaccess.h:25: warning: `KERNEL_DS' redefined
> > /usr/src/linux/include/asm/segment.h:5: warning: this is the location of
> > 	the previous definition
> > /usr/src/linux/include/asm/uaccess.h:26: warning: `USER_DS' redefined
> > /usr/src/linux/include/asm/segment.h:8: warning: this is the location of
> > 	the previous definition
> > -----
> 
> Note these are in the asm directory.  Older kernels had some illegal
> syntax that older versions of GCC allowed, but newer ones do not.  I
> guess you are using some version of GCC like 2.95, praps?  The GCC
> README suggest version 2.7.2 for old kernels.

	Actually, even worse, new versions of gcc will silently compile
some parts of the kernel wrong.  This is the fault of the kernel code,
not gcc.

Have fun (if at all possible),
-- 
Its name is Public Opinion.  It is held in reverence. It settles everything.
Some think it is the voice of God.  Loyalty to petrified opinion never yet
broke a chain or freed a human soul.     ---Mark Twain
-- Eric Hopper (hopper@omnifarious.mn.org  http://omnifarious.mn.org/~hopper) --

PGP signature