[MPlayer-users] Re: Cannot compile: `CONFIG_X86_L1_CACHE_SHIFT' undeclared

Roman Hausner roman.hausner at gmail.com
Sun Nov 21 11:00:01 CET 2004


To answer my own question for future generations: this can be avoided
(not solved) by
specifying the configure parameter ---disable-fbdev



On Sun, 21 Nov 2004 00:22:42 +0100, Roman Hausner
<roman.hausner at gmail.com> 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:
> 
> cc -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -march=athlon-4
> -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -I../osdep
> -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
> -I/usr/X11/include   -I/usr/include/directfb -DMPG12PLAY  -o
> vo_fbdev.o vo_fbdev.c
> 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)
> /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier
> is reported only once
> /usr/include/linux/prefetch.h:64: error: for each function it appears in.)
> make[1]: *** [vo_fbdev.o] Error 1
> make[1]: Leaving directory `<parentofinstall>/MPlayer-1.0pre5/libvo'
> make: *** [libvo/libvo.a] Error 2
> 
> I have no idea what to do now ... anyone able to help me there?
> Many thanks in advance!
>




More information about the MPlayer-users mailing list