Ijkplayer: Ubuntu17.04上ijkplayer-0.8.8版本编译失败

Created on 25 Feb 2018  ·  3Comments  ·  Source: bilibili/ijkplayer

之前用Ubuntu17.04编译ijkplayer-0.8.4版本成功,今天在同一环境下编译0.8.8版本失败,使用ln -s module-default.sh module.sh
错误信息:
WARNING: arm-linux-androideabi-pkg-config not found, library detection may fail.


[*] compile ffmpeg

In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from ./libavutil/avassert.h:31,
from libavfilter/aeval.c:26:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
# include
^
compilation terminated.
make: * [libavfilter/aeval.o] Error 1

Most helpful comment

module-lite.sh 加 export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"

All 3 comments

我也遇到同样的问题./compile-ffmpeg.sh all时就报上面的错误,我把Ubuntu升级到17.10.1也不行

module-lite.sh 加 export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"

看sh文件最后有没有这句话:export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf" 没有的话就加上

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xiaogu-space picture xiaogu-space  ·  3Comments

lingcimi picture lingcimi  ·  3Comments

yuraoff picture yuraoff  ·  3Comments

xuluming picture xuluming  ·  4Comments

xSharkM picture xSharkM  ·  3Comments