RE: problem compiling kernel
> From: news [mailto:news@ger.gmane.org] On Behalf Of Emanoil Kotsev
> Sent: Friday, August 21, 2009 1:55 PM
>
> Bernard wrote:
>
> > Emanoil Kotsev wrote:
> >
> >>Bernard wrote:
> >>
> >>
> >>
> >
> >
> >>
> >>why not just compile it on your notebook (or copy a compiled kernel)
> ?!
> >>
> >>you also can just disable the loading of the sound modules to make it
> more
> >>simple.
> >>
> >>
> >
> > Things would be easy if all sound support were in modules. But some
> > functions are part of the kernel and load with it. Because of this, I
> > cannot compile a new sound system (OSS) without errors : it says that
> I
> > have conflicting problems, even though I have blacklisted all sound
> > modules.
>
> ah, I understand right now what you're trying to do - you need basic
> OSS/ALSA removed completely.
>
> which compiler versions do you have installed? On sarge the 2.6.20
> should
> compile as far as I remember.
>
> You might have to set the right compiler I'm not sure I think 4.X is
> the one
> with the problem, so I would try with something older.
>
> The other thing would be to compile on another machine (you need to
> check
> options/Makefile for this) and move the images and drivers over
> (because
> the new OSS driver will probably fail with the old compiler ;) that
> would
> compile the older kernel )
>
> regards
>
The kernel in Lenny is compiled with the gcc-4.1 version. You should
compile with whatever version the stock kernel was compiled with. If you're
using something older than Lenny, the way I check is, open any module under
/lib/modules/`uname -r` with vi, and search for GCC. You will see the
version used. There might be an easier way, but I don't know it.
-- Kevin
Reply to: