[MPlayer-users] Cannot compile: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
Torinthiel
torinthiel at megapolis.pl
Sun Nov 21 15:07:47 CET 2004
On Sun, Nov 21, 2004 at 12:22:42AM +0100, Roman Hausner wrote:
>
> I am trying to compile MPlayer-1.0pre5 on my linux system (Suse 9.1,
> 2.6.8-24-default).
> I do a default ./configure (with or without --enable-gui)
> I get the following compiler error:
>
> /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT'
> undeclared(first use in this function)
>
> I have no idea what to do now ... anyone able to help me there?
> Many thanks in advance!
Probably SuSE screwed something.
Facts are:
/usr/include/linux/prefetch.h uses definition L1_CACHE_BYTES
which is declared in /usr/include/asm/cache.h, but using
CONFIG_X86_L1_CACHE_SHIFT. The latter is defined in
/usr/include/linux/autoconf.h
Now everything should work fine, as prefetch.h includes cache.h
directly (and it does, as it's CONFIG_X86_L1_CACHE_SHIF that is missing.
OTOH cache.h includes /usr/include/linux/config.h, which only includes
autoconf.h, which should fix the problem.
That's for plain vanilla kernel 2.4.25. I can see two possibilities.
Either SuSE screwed something inside the kernel, so the facts I've
stated above are not true on their machines (If you could check please)
or someone made a mess with packages, and you've ended up with, for
example, unmatching package versions for different parts of kernel.
I'm blaming SuSE, because you're the second person recently reporting
this, plain kernel works without problems and the other person also had
SuSE.
Torinthiel
--
Waclaw "Torinthiel" Schiller GG#: 542916, 3073512
torinthiel(at)megapolis(dot)pl
gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8 7346 2B6E 39F2 B069 01F1
"No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20041121/3db14eb9/attachment.pgp>
More information about the MPlayer-users
mailing list