Open lingchen52 opened 6 years ago
我也遇到同样的问题./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" 没有的话就加上
之前用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 <linux/perf_event.h>
compilation terminated. make: *** [libavfilter/aeval.o] Error 1