[MPlayer-users] undeclared symbol CONFIG_X86_L1_CACHE_SHIFT

Torinthiel torinthiel at megapolis.pl
Mon Nov 1 20:18:58 CET 2004


On Mon, Nov 01, 2004 at 08:05:56PM +0100, Dr. Bernd Guenther wrote:
> I believe that's not quite so. prefetch.h resolve the function prefetch_range 
> (apparently used indirectly by MPLAYER - I didn't yet find out how) to 
> something containing the symbol PREFETCH_STRIDE. This in turn resolves in 
> prefetch.h to 4*L1_CACHE_BYTES and this in turn in asm/cache.h to 
> 1<<L1_CACHE_SHIFT and this in asm/cache.h to CONFIG_X86_L1_CACHE_SHIFT. The 
> latter does NOT resolve, so some include file is apparently missing. I cannot 
> figure out if this is a Suse Linux problem (it would be a kernel problem, 
> rather, because I understand that these include files are part of the kernel 
> source) or an MPLAYER problem.

These files are part of kernel, right. But distros tend to modify
everything, sometimes including kernel. Anyway, plain vanilla kernel
DOES define CONFIG_X86_L1_CACHE_SHIFT, in linux/autoconf.h, which is
included by linux/config.h and this one by asm/cache.h So everything
should be fine. And if something is missing then it's SuSE fault,
because they've broken something in kernel.
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/20041101/65956e9a/attachment.pgp>


More information about the MPlayer-users mailing list