[MPlayer-dev-eng] [PATCH] include libavutil to fix building with zr

Diego Biurrun diego at biurrun.de
Thu Sep 1 12:46:04 CEST 2005


On Wed, Aug 31, 2005 at 04:26:05PM -0700, Corey Hickey wrote:
> Diego Biurrun wrote:
> > On Wed, Aug 31, 2005 at 01:43:13AM -0700, Corey Hickey wrote:
> > 
> >>It seems the recent libavutil formation broke compilation with
> >>--enable-zr. I copied a few lines from libaf/Makefile into
> >>libvo/Makefile and that seems to do the trick.
> > 
> > Can you please show me the error message?
> 
> Sure:
> =========================================================================
> ccache gcc-3.4 -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4
> -pipe -ffast-math -fomit-frame-pointer -D
> _REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I..
> -I../osdep -I/usr/include/freetype2 -I/usr/incl
> ude/SDL -D_REENTRANT -I/usr/X11R6/include    -DMPG12PLAY  -o vo_zr.o vo_zr.c
> vo_zr.c: In function `zoran_getcap':
> vo_zr.c:131: warning: assignment discards qualifiers from pointer target
> type
> ccache gcc-3.4 -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4
> -pipe -ffast-math -fomit-frame-pointer -D
> _REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I..
> -I../osdep -I/usr/include/freetype2 -I/usr/incl
> ude/SDL -D_REENTRANT -I/usr/X11R6/include    -DMPG12PLAY  -o jpeg_enc.o
> jpeg_enc.c
> In file included from jpeg_enc.c:38:
> ../libavcodec/avcodec.h:14:20: avutil.h: No such file or directory
> In file included from jpeg_enc.c:38:
> ../libavcodec/avcodec.h:660: error: parse error before "uint8_t"
> ../libavcodec/avcodec.h:660: warning: no semicolon at end of struct or union
> ../libavcodec/avcodec.h:660: error: parse error before '*' token
> ../libavcodec/avcodec.h:660: warning: data definition has no type or
> storage class
> ../libavcodec/avcodec.h:660: error: parse error before '*' token
> ../libavcodec/avcodec.h:660: warning: data definition has no type or
> storage class
> ../libavcodec/avcodec.h:660: error: parse error before '*' token
> ======================================================================
> ...after that it's just a bunch more parse errors from avcodec.h.

OK, patch applied.

Diego




More information about the MPlayer-dev-eng mailing list