[MPlayer-cvslog] r23793 - trunk/mpcommon.mak
Aurelien Jacobs
aurel at gnuage.org
Mon Jul 16 23:12:11 CEST 2007
On Mon, 16 Jul 2007 22:13:25 +0200 (CEST)
diego <subversion at mplayerhq.hu> wrote:
> Author: diego
> Date: Mon Jul 16 22:13:25 2007
> New Revision: 23793
>
> Log:
> Reorder CFLAGS, fixes compilation after addition of png.h to FFmpeg.
It seems it don't fix anything...
Here is what I get with latest svn:
cc -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -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/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I../libavcodec -I../libavformat -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'
Aurel
More information about the MPlayer-cvslog
mailing list