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

Re: Problem Compiling kernel-source-2.4.18



On Fri, Dec 05, 2003 at 10:00:48AM -0600, Hugo Vanwoerkom wrote:
> >In the file included from ksym.c:50:
> >/usr/src/kernel-source-2.4.18/include/asm/checksum.h:72:30: missing 
> >termintating " character
> 
> If you are using gcc 3.3, which you are if you ran dist-upgrade, it 
> *will* complain of that. You can apt-get install gcc-2.95 and that will 
> do away with the error.
>

What I had to do was a little more than simply installing gcc 2.95.

Change the lines in the makefile which set CC and HOSTCC.

At the start they are set to gcc, but what I had to do was set them
explicitly to gcc-2.95 like this:

In file 'Makefile'

...

HOSTCC = gcc-2.95

...

CC = gcc-2.95

...

End of Makefile representation.

This fixed the problem for me and everything appears to work great.

Best of luck to all finding this by google (like I did).

jdp



Reply to: