Re: unable to compile a kernel
On Fri, Jun 06, 2003 at 11:48:16AM -0400, David Z Maze wrote:
> Colin Watson <cjwatson@debian.org> writes:
>
> >> Even though the kernel apparently cannot be built with 3.x, I tried
> >> it as you suggested. It got further than before, but now it can't
> >> build the (debian stock) lm-sensors-source modules:
> ...
> > That's a multi-line string which is a C extension no longer supported by
> > gcc. File a bug.
>
> Is the right fix to build the module with gcc-2.95, or to correct the
> source so it builds with gcc-3.3?
Multiline strings were never legal C, so correcting the source is
clearly the right thing to do IMHO. Whether to build the module with
gcc-2.95 as well is up to you or at least somebody who knows more about
the kernel than I do; I was under the impression that the C ABIs
presented by gcc-2.95 and gcc-3.3 were compatible, though.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: