[MPlayer-dev-eng] libavformat Makefile change breaks mplayer compile?

Chris Ribe chrisribe at gmail.com
Fri Mar 7 02:10:04 CET 2008


Apologies for the cross post, but I wasn't sure where this should go.

A change to the libavformat Makefile (
http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/Makefile?r1=11878&r2=12354)
seems to be keeping libavformat  from compiling within the mplayer
tree.

libavformat compiles fine for me within the ffmpeg tree, but it isn't
bringing in libavcodec when built in the mplayer tree:

make -C libavformat
> make[1]: Entering directory `/home/cribe/Code/mplayer/libavformat'
> cc  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdisabled-optimization
> -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
> -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=prescott
> -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -DHAVE_CONFIG_H -D_REENTRANT    -I/usr/include/freetype2  -c -o
> allformats.o allformats.c
> In file included from allformats.c:22:
> rtp_internal.h:27:21: error: avcodec.h: No such file or directory
> make[1]: *** [allformats.o] Error 1
> make[1]: Leaving directory `/home/cribe/Code/mplayer/libavformat'
> make: *** [libavformat/libavformat.a] Error 2
>

common.mak in the ffmpeg root has been updated to work with the new
libavformat Makefile, but no such change has been made to the mplayer
common.mak

I don't really understand the nature of the changes, but I've attempted to
compile mplayer with an altered common.mak without success thus far.


-chris

-- 
TV/IT Engineer
WCJB-TV Gainesville, FL
(352) 416 0648
cribe at wcjb.com



More information about the MPlayer-dev-eng mailing list