[MPlayer-users] Problems compiling MPlayer on Suse 9.2

DVornheder at t-online.de DVornheder at t-online.de
Sun Nov 7 17:51:18 CET 2004


Hi !

Compiling latest cvs version of mplayer, ffmpeg and the options

--disable-fbdev --disable-directfb

works here.

Dirk

> I believe I figured out what's wrong: SuSE have mixed up their installation
> rpms, and thus have produced an inconsistent set of header files. For
> instance, linux/config.h is NOT from the kernel package but from the glibc
> developers package. I already tried to submit a bug report but their bug
> tracking system has not yet progressed beyond 9.1.
> Bernd.
>
> On Saturday 06 November 2004 19:28, Dirk Vornheder wrote:
> > > > 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