[MPlayer-users] vo_png fails to compile (latest svn trunk)

Robert La Ferla robertlaferla at comcast.net
Mon Jul 16 02:21:46 CEST 2007


svn info
URL: svn://svn.mplayerhq.hu/mplayer/trunk
Revision: 23787

% uname -a
Linux tivo.lan 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007  
i686 GNU/Linux



cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno- 
pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil - 
Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=athlon- 
xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer - 
D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - 
D_LARGEFILE64_SOURCE -I/usr/X11R6/include  -I/usr/include/SDL  - 
D_REENTRANT    -I/usr/include/freetype2 -I/usr/local/include   -c -o  
vo_png.o vo_png.c
vo_png.c:35: error: 'Z_NO_COMPRESSION' undeclared here (not in a  
function)
vo_png.c:40: error: expected specifier-qualifier-list before  
'png_structp'
vo_png.c: In function 'create_png':
vo_png.c:70: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:71: warning: implicit declaration of function  
'png_create_write_struct'
vo_png.c:71: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in  
this function)
vo_png.c:71: error: (Each undeclared identifier is reported only once
vo_png.c:71: error: for each function it appears in.)
vo_png.c:73: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:73: warning: implicit declaration of function  
'png_create_info_struct'
vo_png.c:73: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:75: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:78: error: 'struct pngdata' has no member named 'status'
vo_png.c:78: error: 'ERROR' undeclared (first use in this function)
vo_png.c:82: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:85: warning: implicit declaration of function  
'png_destroy_write_struct'
vo_png.c:85: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:86: error: 'png_infopp' undeclared (first use in this function)
vo_png.c:87: error: 'struct pngdata' has no member named 'status'
vo_png.c:91: warning: implicit declaration of function 'setjmp'
vo_png.c:91: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:94: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:94: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:96: error: 'struct pngdata' has no member named 'status'
vo_png.c:103: error: 'struct pngdata' has no member named 'status'
vo_png.c:109: warning: implicit declaration of function 'png_init_io'
vo_png.c:109: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:112: warning: implicit declaration of function  
'png_set_compression_level'
vo_png.c:112: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:118: warning: implicit declaration of function 'png_set_IHDR'
vo_png.c:118: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:118: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:119: error: 'PNG_INTERLACE_NONE' undeclared (first use in  
this function)
vo_png.c:120: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first  
use in this function)
vo_png.c:120: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use  
in this function)
vo_png.c:124: warning: implicit declaration of function 'png_write_info'
vo_png.c:124: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:124: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:129: warning: implicit declaration of function 'png_set_bgr'
vo_png.c:129: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:132: error: 'struct pngdata' has no member named 'status'
vo_png.c:132: error: 'OK' undeclared (first use in this function)
vo_png.c: In function 'destroy_png':
vo_png.c:140: warning: implicit declaration of function 'png_write_end'
vo_png.c:140: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:140: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c:144: error: 'struct pngdata' has no member named 'png_ptr'
vo_png.c:144: error: 'struct pngdata' has no member named 'info_ptr'
vo_png.c: In function 'draw_image':
vo_png.c:155: error: 'png_byte' undeclared (first use in this function)
vo_png.c:155: error: 'row_pointers' undeclared (first use in this  
function)
vo_png.c:164: error: 'struct pngdata' has no member named 'status'
vo_png.c:179: warning: implicit declaration of function  
'png_write_image'
vo_png.c:179: error: 'struct pngdata' has no member named 'png_ptr'
make[1]: *** [vo_png.o] Error 1




More information about the MPlayer-users mailing list