[MPlayer-users] Compiler error on Mandrake 10.1

Torinthiel torinthiel at megapolis.pl
Sun Nov 21 15:11:14 CET 2004


On Fri, Nov 19, 2004 at 10:20:45PM +0100, Goetz Waschk wrote:
> Am Fr 19 Nov 2004 17:35:18 GMT schrieb Pierluigi Adami:
> > --- MPlayer compiler error message:
> > In file included from /usr/include/linux/list.h:7,
> > from ../osdep/kerneltwosix.h:5,
> > from vo_fbdev.c:21:
> > /usr/include/linux/prefetch.h: In function `prefetch_range':
> > /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT'
> > undeclared (first use in this function)
> 
> Hi,
> 
> I have fixed this in the mplayer package for Mandrakelinux 10.1. The
> patch you need is attached to this mail.

Problem is:
$ head -15 /usr/include/linux/prefetch.h|tail -5
#define _LINUX_PREFETCH_H

#include <asm/processor.h>
#include <asm/cache.h>

$ head /usr/include/asm/cache.h 
/*
 * include/asm-i386/cache.h
 */
#ifndef __ARCH_I386_CACHE_H
#define __ARCH_I386_CACHE_H

#include <linux/config.h>


$ head /usr/include/linux/config.h 
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H

#include <linux/autoconf.h>


So the file SHOULD be included by itself. Ask Mandrake to fix it (and
make sure you have matching packages for all parts of kernel before).
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/ad498996/attachment.pgp>


More information about the MPlayer-users mailing list