Mailinglist Archive: opensuse-amd64 (449 mails)

< Previous Next >
Re: [suse-amd64] MPlayer 1.0pre5 - Compile Error `CONFIG_X86_L1_CACHE_SHIFT' [SOLVED]
  • From: Andi Kleen <ak@xxxxxxx>
  • Date: Fri, 15 Oct 2004 12:27:44 +0000 (UTC)
  • Message-id: <20041015122743.GA27947@xxxxxxxxxxxxx>
On Fri, Oct 15, 2004 at 01:57:39PM +0200, ?rn Hansen wrote:
> fredag 15 oktober 2004 06:32 skrev Scott Leighton:
> >
> > So, my big question here is is the guy on the mplayer list right? Has
> > SuSE messed up the location of the correct include files for the kernel?
> >
>
> I'm not a kernel hacker, of course ... but from what I've gathered so far,
> is that programs that require kernel headers should be acquiring those
> through /lib/modules/<kernel-version>/build/include ... but SuSE has botched
> that job, I usually have to fix that link when I build Nvidia driver.

That's intentional. The kernel includes need to be configured in the
same way as the running kernel (or for all kernels if you want to distribute
a module in binary form), and that needs some manual steps. For simple
kernel modules it sometimes doesn't make a difference, but you will run into
problems with more complex ones.

See /usr/src/linux/README.SUSE for details.

-Andi
>

< Previous Next >
Follow Ups