[MPlayer-users] Problems compiling MPlayer on Suse 9.2

Dirk Vornheder DVornheder at t-online.de
Sat Nov 6 19:28:54 CET 2004


> >
> > 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 `/home/juergen/MPlayer-1.0pre5/libvo'
> > make: *** [libvo/libvo.a] Error 2
> >
> >
> > What's wrong here? Is there any file missing?
>
> After googling around I found a workaround for this. By calling
>
> ./configure --disable-fbdev
>
> MPlayer compiles. But I have no idea what else this switch does...
>

But compiling mplayer with

 ./configure --disable-fbdev

fails again:

make -C libaf
make[1]: Entering directory `/privat/tv/main/libaf'
cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 
-march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math-fomit-frame-pointer 
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/gnome/include 
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 
-I/opt/gnome/lib/glib/include -I/usr/X11R6/include -I. -Wall 
-I/opt/gnome/include -I/opt/gnome/include/gtk-1.2 
-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include 
-I/usr/X11R6/include -o af_lavcresample.o af_lavcresample.c
af_lavcresample.c: In function `control':
af_lavcresample.c:64: error: too many arguments to function `av_resample_init'
make[1]: *** [af_lavcresample.o] Error 1
make[1]: Leaving directory `/privat/tv/main/libaf'
make: *** [libaf/libaf.a] Error 2

What's wrong ?

Dirk




More information about the MPlayer-users mailing list