[MPlayer-users] mplayer cvs: impossible to compile

Jozef Riha jose1711 at gmail.com
Sun May 14 10:17:13 CEST 2006


ok, i found out that even ffmpeg-cvs fails to compile w/ the same
error. i was able to fix (?) this by using --disable-zlib compilation
flag. now i am wondering how to pass this flag to mplayer config. any
help welcome, joe

On 5/11/06, Jozef Riha <jose1711 at gmail.com> wrote:
> very strange. i copied libavcodec/, libavformat/ and libavutil/ into
> main just like the project webpage suggested. moreover in configure
> summary the libavcodec *is* enabled.
>
> joe
>
> On 5/10/06, Guillaume POIRIER <poirierg at gmail.com> wrote:
> > Hi,
> >
> > On 5/10/06, Jozef Riha <jose1711 at gmail.com> wrote:
> > > hi,
> > >
> > > this is what i get from running make on current cvs:
> > >
> > > cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4
> > > -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fomit-frame-pointer
> > > -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > > -DHAVE_AV_CONFIG_H -I..
> > > -I/home/jose/tarballs/mplayer-cvs/main/libavutil
> > > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o lcl.o
> > > lcl.c
> > > lcl.c: In function `decode_init':
> > > lcl.c:754: error: structure has no member named `zalloc'
> > > lcl.c:755: error: structure has no member named `zfree'
> > > lcl.c:756: error: structure has no member named `opaque'
> > > lcl.c: In function `encode_init':
> > > lcl.c:822: error: structure has no member named `zalloc'
> > > lcl.c:823: error: structure has no member named `zfree'
> > > lcl.c:824: error: structure has no member named `opaque'
> > > make[1]: *** [lcl.o] Error 1
> > > make[1]: Leaving directory `/home/jose/tarballs/mplayer-cvs/main/libavcodec'
> > > make: *** [libavcodec/libavcodec.a] Error 2
> > >
> > > anyone has seen this before and/or has a solution? thank you.
> >
> > This seems to be your problem:
> >
> > ============ Checking for FFmpeg libavcodec (static) ============
> >
> > #include "libavcodec/avcodec.h"
> > #if LIBAVCODEC_BUILD >= 3211265
> > #error We need libavutil!
> > #endif
> > int main(void) { return 0; }
> >
> > cc -O4 -march=pentium3 -mtune=pentium3 -pipe -ffast-math
> > -fomit-frame-pointer    -o /tmp/mplayer-conf-2489-2037.o
> > /tmp/mplayer-conf-30290-2037.c -I. -I./libavutil
> > /tmp/mplayer-conf-30290-2037.c:3:2: #error We need libavutil!
> >
> > ldd /tmp/mplayer-conf-2489-2037.o
> > ldd: /tmp/mplayer-conf-2489-2037.o: No such file or directory
> >
> > Please make sure that you have latest libavutils on your source tree
> >
> >




More information about the MPlayer-users mailing list