Ijkplayer: 编译0.8.8版本的ijk,出现了linux/perf_event.h: No such file or directory

Created on 27 Feb 2018  ·  9Comments  ·  Source: bilibili/ijkplayer

在Ubuntu 16.04上,编译0.8.8版本的ijk,出现了linux/perf_event.h: No such file or directory

Most helpful comment

在moule.sh文件加入如下两句即可:
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-bzlib"

All 9 comments

search issue

2018-02-27 10:28 GMT+08:00 codesunshine notifications@github.com:

编译0.8.8版本的ijk,出现了linux/perf_event.h: No such file or directory


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Bilibili/ijkplayer/issues/4056, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOmlqnmqVgLr7RCh3fyqcqZhA54ry1vks5tY2g5gaJpZM4SUQRT
.

update config

How to update the configuration

@CarGuo Did you resolve this problem ?

@kimnamcham yes,module-lite-hevc.sh had been deprecated, try module-lite.sh. remember clear first

在moule.sh文件加入如下两句即可:
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-bzlib"

hrdzkj is right !

在moule.sh文件加入如下两句即可:
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-bzlib"

then
./compile-ffmpeg.sh clean
./compile-ffmpeg.sh all

remember call "./compile-ffmpeg.sh clean" before call "./compile-ffmpeg.sh all"

and you can edit your config.h file (e.g ffmpeg-armv7a/config.h),to checkout LINUX-PERF seeting is 0

define CONFIG_BZLIB 0

define CONFIG_LINUX_PERF 0

some time it was not work when you add export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf" to your module.h

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yuraoff picture yuraoff  ·  3Comments

Tan-zy picture Tan-zy  ·  4Comments

lingchen52 picture lingchen52  ·  3Comments

zhangkom picture zhangkom  ·  3Comments

binaryxiaobao picture binaryxiaobao  ·  4Comments