lkml.org 
[lkml]   [1999]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: : NFS Oops - the third today (2.2.13)
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.060 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site