[MPlayer-users] can't compile the latest svn

Werner Péter list.mplayer at 0x.hu
Mon Jul 16 21:20:29 CEST 2007


Hi,

Perhaps it's the png.h in libavcodec, which is included instead of
/usr/include/png.h.

In libavcodec I renamed png.h to avc_png.h and changed the name in
#include in pngenc.c pngdec.c png.c.

> cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -W -Wall -O2 -march=k8 -mtune=k8 -pipe  -p -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/include  -I/usr/include/SDL  -D_REENTRANT -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include   -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include   -I/usr/include -I/usr/include/dvdnav   -c -o vd_mpng.o vd_mpng.c
> vd_mpng.c: In function 'control':
> vd_mpng.c:36: warning: comparison between signed and unsigned
> vd_mpng.c:32: warning: unused parameter 'sh'
> vd_mpng.c: In function 'init':
> vd_mpng.c:43: warning: unused parameter 'sh'
> vd_mpng.c: In function 'uninit':
> vd_mpng.c:49: warning: unused parameter 'sh'
> vd_mpng.c: At top level:
> vd_mpng.c:57: error: expected ')' before 'pngstr'
> ...

  WP



More information about the MPlayer-users mailing list