[MPlayer-users] building mplayer from SVN on FreeBSD-CURRENT fails

Matthias Apitz guru at unixarea.de
Sat Mar 28 09:15:16 CET 2009


El día Saturday, March 28, 2009 a las 08:40:29AM +0100, Matthias Apitz escribió:

> after 'svn up' it now fails with:
> 
> gmake -C libavformat
> gmake[1]: Entering directory `/usr/home/guru/mplayer/libavformat'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/usr/home/guru/mplayer/libavformat'
> touch libavformat/libavformat.a
> gmake -C libavcodec
> gmake[1]: Entering directory `/usr/home/guru/mplayer/libavcodec'
> cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I..
> -I.. -Wundef -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
> -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe
> -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I.  -I/usr/local/include
> -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/include
> -D_REENTRANT -I/usr/local/include/artsc -D_REENTRANT
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include   -Ilibdvdread4  -I/usr/local/include/freetype2
> -I/usr/local/include -I/usr/local/include -I/usr/local/include     -c -o
> eatqi.o eatqi.c
> mpeg12.h:59: error: nested function 'ff_mpeg1_decode_block_intra'
> declared but never defined
> gmake[1]: *** [eatqi.o] Error 1
> gmake[1]: Leaving directory `/usr/home/guru/mplayer/libavcodec'
> gmake: *** [libavcodec/libavcodec.a] Error 2

I have commented out this line in libavcodec/mpeg12.h

/* extern inline int ff_mpeg1_decode_block_intra(MpegEncContext *s, DCTELEM *block, int n); */

which let it build fine; don't know if this fix is correct;

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/


More information about the MPlayer-users mailing list