Re: : NFS Oops - the third today (2.2.13)
Miquel van Smoorenburg (miquels@cistron.nl)
22 Nov 1999 19:56:33 +0100
In article <cistron.19991122183146.G14269@earth.zuhause.de>,
Jens Benecke <jens@pinguin.conetix.de> wrote:
>I have had a problem that I cannot build _anything_ with 2.7.2.3 any more
>since I upgraded to the unstable tree of Debian (I know, my fault).
>Setting "CC=gcc272" (which is a valid executable - the default is gcc =
>2.95.2, but the gcc272 package is an additional old gcc) gives me a huge
>load of errors "dereferncing pointer to incomplete type" in
>/usr/include/linux. (I suspect that the include files are messed up but I
>installed all the packages correctly..)
That is because you are going about it the wrong way. You cannot
simply set CC=gcc272 to build the kernelwith gcc272, alas.
You need to edit the main makefile, and in the line where it says:
CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
... you need to change gcc to gcc272.
If you simply set CC=gcc272 you're losing the -D__KERNEL__ -I$(HPATH)
options, and the kernel won't build.
Mike.
--
First things first, but not necessarily in that order.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/