Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
codesunshine opened this issue Feb 27, 2018 · 9 comments

Comments

@codesunshine
Copy link

codesunshine commented Feb 27, 2018

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

@raymond1012
Copy link
Member

raymond1012 commented Feb 27, 2018 via email

@Android4MediaPlayer
Copy link

update config

@codesunshine
Copy link
Author

How to update the configuration

@CarGuo
Copy link

CarGuo commented Mar 6, 2018

#4041

@kimnamcham
Copy link

@CarGuo Did you resolve this problem ?

@CarGuo
Copy link

CarGuo commented Apr 25, 2018

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

@hrdzkj
Copy link

hrdzkj commented Sep 11, 2018

在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"

@sunhuichuan
Copy link

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"

@D5CN
Copy link

D5CN commented Mar 9, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants