"Patrick Wiseman" <[EMAIL PROTECTED]> writes:
> On Tue, 17 Jun 2003 at 1:42am, Roberto Sanchez wrote:
>
> : --- dhobner <[EMAIL PROTECTED]> escribió:
> :> I did the following:
> :>
> :> apt-get install gcc
> :> apt-get install kernel-package
> :> apt-get install kernel-source.2.4.18
> :> apt-get install libc6-dev
> :> apt-get install tk8.3
> :> apt-get install libncurses5-dev
> :>
> :> tar -jxf kernel-source-2.4.18.tar.bz2
> :>
> :> make-kpkg clean
> :>
> :
> :I beleive that you are missing a 'make config' (or menuconfig or xconfig).
>
> No, I'm having the same problem and I made config first.
>
> :Check your kernel-source directory and make sure that the .config exists
> :and has your selected options.
> :
> :> make-kpkg --append-to-version=.030320 kernel_image
> :>
> :> The following error occurs:
> :>
> :> In file included from ksyms.c:50
> :> /usr/src/Kernel-source-2.4.18/include/asm/checksum.h:72:30:Missing
> :> terminating " character
> :> ***other errors after this within the same header file
> :>
> :> Anyone know why this is not compiling?
>
> No, but I grabbed the 2.4.20 source and had all sorts of other problems.
> I'm on a 'testing' system; you too?  I suspect it's the testing gcc which
> is causing the problem (from Googling another error I was getting trying
> to compile 2.4.20).  Can anyone confirm?

I think, in general, it's best to stick with 2.95 compilers for the
kernel. There are exceptions, but the easiest route is to use gcc-2.95
for compiling kernel source. You can do this by editing the
kernel-source-2.4.20/Makefile and setting HOSTCC=gcc-2.95 and
CC=$(CROSS_COMPILE)gcc-2.95. If you have external modules you're
building then you'll also want to add CC=gcc-2.95 to the
environment. Like:

   CC=gcc-2.95 make-kpkg --revision foo.1 --bzimage kernel_image

and then

    CC=gcc-2.95 make-kpkg --revision foo.1 --bzimage modules_image


Gary



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to