[MPlayer-users] Compilation problems in MPlayer-1.0rc2

Ulrich Guettich guettich at t-online.de
Sun Nov 4 09:46:34 CET 2007


System: SuSE 8.2, but meanwhile many libs, compiler updated

In contrast to rc1, I do not get rc2 compiled:

./configure --enable-gui

make
...

cc -I../libavcodec -I../libavformat -Wdisabled-optimization -I. -I..
-I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4
-march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer
-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb
-I/usr/X11/include -I/usr/local/include/SDL  -D_REENTRANT
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libpng12
-I/usr/local/include/freetype2 -I/usr/local/include     -c -o
stream_dvd.o stream_dvd.c
In file included from /usr/include/netdb.h:28,
                 from network.h:16,
                 from stream.h:65,
                 from stream_dvd.c:32:
/usr/include/netinet/in.h:259: error: parse error before '(' token
/usr/include/netinet/in.h:259: error: parse error before "__u32"
/usr/include/netinet/in.h:260: error: parse error before '(' token
/usr/include/netinet/in.h:260: error: parse error before "__u16"
/usr/include/netinet/in.h:262: error: parse error before '(' token
/usr/include/netinet/in.h:262: error: parse error before "__u32"
/usr/include/netinet/in.h:264: error: parse error before '(' token
/usr/include/netinet/in.h:264: error: parse error before "__u16"
stream_dvd.c: In function `dvd_parse_chapter_range':
stream_dvd.c:168: warning: passing arg 2 of `strtol' from incompatible
pointer type
stream_dvd.c: In function `dvd_read_sector':
stream_dvd.c:374: warning: comparison between signed and unsigned
stream_dvd.c: In function `dvd_seek':
stream_dvd.c:448: warning: comparison between signed and unsigned
stream_dvd.c:458: warning: comparison between signed and unsigned
make[1]: *** [stream_dvd.o] Error 1
make[1]: Leaving directory `/root/works/MPlayer-1.0rc2/stream'
make: *** [stream/stream.a] Error 2

A compilation is succesfull if I do disable dvdread and
dvdread-internal   ...  but I need dvd access.

Any ideas? System too old?

Best regards

Ulrich





More information about the MPlayer-users mailing list