[MPlayer-dev-eng] [PATCH 6/6] configure: add ffmpeg header path to hostcflags

周晓勇 zhouxiaoyong at loongson.cn
Mon Sep 7 05:31:24 CEST 2015


i do configure with this:

./configure --cc='ccache gcc' --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer --mandir=/usr/share/man --confdir=/etc/mplayer --libdir=/usr/lib --codecsdir=/usr/lib/codecs --extra-cflags="-O2 -g" --language=all --enable-joystick --enable-lirc --enable-menu --enable-radio --enable-radio-capture --enable-unrarexec --disable-nemesi --disable-smb --disable-ffmpeg_a --disable-faac --disable-mad --disable-libmpeg2-internal --disable-bitmap-font --disable-dga1 --disable-dga2 --disable-directfb --disable-svga --disable-termcap --enable-xvmc --with-xvmclib=XvMCW --disable-arts --disable-esd --disable-jack --disable-openal --disable-live --disable-runtime-cpudetection

the configure success but error when make:
[loongson-fc21 at Lord-787 mplayer]$ make V=1
cc -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O3 -DCODECS2HTML -o codec-cfg codec-cfg.c
codec-cfg.c:57:30: fatal error: libavutil/avutil.h: No such file or directory
 #include "libavutil/avutil.h"
^
compilation terminated.
Makefile:755: recipe for target 'codec-cfg' failed
make: *** [codec-cfg] Error 1

在2015-09-07 01:21:51,周晓勇<zhouxiaoyong at loongson.cn>写道:
> On Thu, Sep 03, 2015 at 10:15:13AM +0800, 周晓勇 wrote:
> > why -Iffmpeg does not work on loongson?
> > could you help?
> 
> Can you give details how it fails?
> Do you have an ffmpeg checkout in ffmpeg/?
> Otherwise if you want to use external ffmpeg, please use
> --disable-ffmpeg_a configure option.
> 
> > 在2015-09-02 19:30:33,周晓勇<zhouxiaoyong at loongson.cn>写道:
> > > 2015-09-02 12:08 GMT+02:00 周晓勇 <zhouxiaoyong at loongson.cn>:
> > > > +HOSTCFLAGS="-D_ISOC99_SOURCE -I. -Iffmpeg -I/usr/include/ffmpeg -O3"
> > > 
> > > Won't this possibly break cross-compiling ?
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng




More information about the MPlayer-dev-eng mailing list