[MPlayer-users] Problems compiling MPlayer on Suse 9.2

Dr. Bernd Guenther bergue at t-online.de
Sun Nov 7 10:05:33 CET 2004


-----BEGIN PGP SIGNED MESSAGE-----

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

- -- 
Type Bits/KeyID    Date       User ID
pub  2048/19BD2CF9 2001/05/16 Dr. Bernd Guenther <bergue at t-online.de>

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3i

mQENAzsCz/sAAAEIAKEVZE/td6S7h3fB3sUCMfdDfOQ+Vxt1B9DYynOoBBUEbhct
1IVW0EimXD3U9INqtq39v5TtZcAMlMcdapMjPNHYmcyd7ixN4G9X1qxt85Okc34w
f44gOhgGL8i3iSMXxWJKFECsdVvnVQnSvfVewy5Wq+BBW172CWsvSGngxyw8nFMj
KBhtxOZsJHXKtDFgwG5ZqjXQmIFGt3A+Q7P1XT0Bm5+jYw7U4pA0HIcDXrIqtteD
Ncl9RtzWnwGCXlt4d7XdwsJbnfsw4B4telRltB+sG1NFkz0n1FUNyC/qGSBGPXOQ
ZYwAUumiXlLSkXKkI5EtipK4cIvRmy1MiRm9LPkABRG0J0RyLiBCZXJuZCBHdWVu
dGhlciA8YmVyZ3VlQHQtb25saW5lLmRlPokBFQMFEDsCz/ubLUyJGb0s+QEBLTcH
/Rg5hSGiZUIzmF3pKUHYSYWNqUDXhZffOOpJWfptXrD9hDX247kFdAx9SLgn5rEF
beJ5XcYRUV0Rv9bhQWhYB4mpiNkNhpn3nwuhd2tz9YNw6I4OQgcC4KCu4mzUsFsw
joxpHmbCnbqMIEBj09pdvKEKw+lloAiNSneHimd48ReLiJ7QoRUZsPrhfpyJCAlo
cyd02LQlrFGtaZfpi5p871M013Mt5NQv4C2cjssq2759gsC+mnmkoqMss2WNRVLr
uLyiZEVUpepOD5guMcDCXWLcQCL6lky3LLSLbxWEqpPGFE4HD9GXgyaQ1fFr6lj6
U9aXp8epZwwAR3mfKVlEajw=
=o68i
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQY3lY5stTIkZvSz5AQHssgf7BsnPGoP37gpJFNVtFNoiYXVZ8PLgMw+i
S1yAMUd8PbYJVQzwJABDTD4lvWKlOYbAC/5HyOopMePbnlc8kkwSAVFmbSgdrFRI
+yhegNuwuUVoUcz3rPKDmA8o0PNWj/VXfS5wv+2o8S08OnFfzoQcJVBmrJ/LqJ6m
PyhwgXPcGEH0tV61v0C274Gai/cCZHOIJTJst+QE6oDczDmacTqnhi0b/El1zsEo
UMkRIJl/l4yK5UE28XnPbAis+5gxHLfWfFhIzljNsFn+Ir6OeBFirqeTHhSQWfNi
y1RtPgzX2QDTuAqUFQMp5yYqPL5lUN2tXnVpHDh6qRfKHTv1cO0dMw==
=o+gB
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list