[MPlayer-users] Compiler error on Mandrake 10.1

Goetz Waschk waschk at informatik.uni-rostock.de
Fri Nov 19 22:20:45 CET 2004


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.

CU, Götz
-- 
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
    Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"
-------------- next part --------------
--- MPlayer-1.0pre5/osdep/kerneltwosix.h~	2004-01-10 10:48:15.000000000 +0100
+++ MPlayer-1.0pre5/osdep/kerneltwosix.h	2004-07-15 09:01:11.989107462 +0200
@@ -2,6 +2,7 @@
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,70)
 #define __KERNEL__
 #include <linux/thread_info.h>
+#include <linux/autoconf.h>
 #include <linux/list.h>
 #undef __KERNEL__
 #endif


More information about the MPlayer-users mailing list