[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel will not compile



On Mon, Jun 16, 2003 at 11:30:53AM -0400, dhobner wrote:
> 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
> 
> 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?

asm/checksum.h in kernel 2.4.18 contained incorrect code which gcc 3.2
and earlier let it get away with but gcc 3.3 rejects. Either use gcc
2.95 or 3.2, or get a newer kernel: for example, 2.4.20 has fixed that
particular mistake.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: