[MPlayer-users] 0.90rc3-2 srpm build error - how to fix?

Patrick mpl at puzzled.xs4all.nl
Fri Jan 24 18:19:11 CET 2003


Hi,

On a fully updated Red Hat 8 box I did rpmbuild -bb mplayer.spec from
mplayer-0.90rc3-2.src.rpm which I got from
http://mirrors.sctpc.com/dominik/linux/pkgs/mplayer/

The build process stops with the following error:

gcc -c -Wall -Wno-unused-variable -Wno-unused-function -Wno-unused-label
-Wno-uninitialized -Wno-multichar -O2 -march=i386 -mcpu=i686
-fomit-frame-pointer -ffast-math -finline-functions -frename-registers
-pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fexpensive-optimizations -fschedule-insns2 -malign-double -I.
-I../loader -I./wm -I./skin -I/usr/include/freetype2
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include  -DDEBUG  -o interface.o
interface.c
In file included from /usr/include/png.h:321,
                 from bitmap.h:4,
                 from app.h:5,
                 from skin/skin.h:5,
                 from interface.c:11:
/usr/include/pngconf.h:247: parse error before '.' token
make[1]: *** [interface.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/MPlayer-0.90rc3/Gui'
make: *** [Gui/libgui.a] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.44261 (%build)

The offending part in /usr/include/pngconf.h is:
#    ifdef _SETJMP_H
      __png.h__ already includes setjmp.h;
      __dont__ include it again.;
#    endif

Anyone have an idea what I need to do to fix this?

Thanks for a great mediaplayer!

Cheers,
Patrick






More information about the MPlayer-users mailing list