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

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? 

Both.  But for the short term, compile the module with gcc-2.95 since
that is what the kernel recommends.

> Will the world fail horribly if the kernel and modules aren't built
> with the same compiler, 

Usually you wind up with unresolved symbols and other problems.

Jamin W. Collins

Remember, root always has a loaded gun.  Don't run around with it unless
you absolutely need it. -- Vineet Kumar

Reply to: