[MPlayer-users] mplayer cvs: impossible to compile

Guillaume POIRIER poirierg at gmail.com
Wed May 10 22:10:06 CEST 2006


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


--
I am disillusioned enough to know that no man's opinion on any subject
is worth a damn unless backed up with enough genuine information to
make him really know what he's talking about.

-- H. P. Lovecraft (about the flamewars on FFmpeg and MPlayer-dev mailing lists)
http://www.brainyquote.com/quotes/quotes/h/hplovecr278144.html




More information about the MPlayer-users mailing list