WARNING: arm-linux-androideabi-pkg-config not found, library detection may fail.
In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from libavfilter/avfilter.h:41,
from libavfilter/audio.h:25,
from libavfilter/af_acopy.c:19:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
# include
^
compilation terminated.
In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from ./libavutil/opt.h:31,
from libavfilter/af_acrusher.c:21:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
# include
^
compilation terminated.
make: * [libavfilter/af_acopy.o] Error 1
make: Waiting for unfinished jobs....
make: [libavfilter/af_acrusher.o] Error 1
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
^
In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from ./libavutil/opt.h:31,
from libavfilter/af_adelay.c:22:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file or directory
# include
^
compilation terminated.
compilation terminated.
make:
make: ** [libavfilter/aeval.o] Error 1
module-lite-hevc.sh invaild, module-lite.sh support hevc
2018-02-23 16:13 GMT+08:00 kongdongdong notifications@github.com:
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 libavfilter/avfilter.h:41,
from libavfilter/audio.h:25,
from libavfilter/af_acopy.c:19:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file
or directory
include^compilation terminated.
In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from ./libavutil/opt.h:31,
from libavfilter/af_acrusher.c:21:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file
or directory
include^compilation terminated.
make: * [libavfilter/af_acopy.o] Error 1
make: Waiting for unfinished jobs....
make: ** [libavfilter/af_acrusher.o] Error 1
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^In file included from ./libavutil/internal.h:42:0,
from ./libavutil/common.h:467,
from ./libavutil/avutil.h:296,
from ./libavutil/opt.h:31,
from libavfilter/af_adelay.c:22:
./libavutil/timer.h:38:31: fatal error: linux/perf_event.h: No such file
or directory
include^compilation terminated.
compilation terminated.
make: * [libavfilter/af_adelay.o] Error 1
make: * [libavfilter/aeval.o] Error 1—
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/4043, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOmls7-gPHU1blJ4cYxPEaZ6dDXBYAjks5tXnM0gaJpZM4SQhZ-
.
@raymond1012 How to solve this issue
use module-lite.sh
2018-02-23 16:55 GMT+08:00 kongdongdong notifications@github.com:
@raymond1012 https://github.com/raymond1012 How to solve this issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Bilibili/ijkplayer/issues/4043#issuecomment-367948537,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEOmlrtUVLvbnsm9uapIEcMv2T1pV_Edks5tXn0AgaJpZM4SQhZ-
.
我编译module-default.sh 这个 遇到上面同样问题 该怎么解决?? ( module-lite.sh不能满足需求)
仔细阅读module-lite.h 原来在最下面有一行配置:export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
把这行复制到module-default.sh 的最后面就可以了
我试了一下,确实是可以的,没报错了
仔细阅读module-lite.h 原来在最下面有一行配置:export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
把这行复制到module-default.sh 的最后面就可以了
棒棒哒
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
This worked for me. Thank you. For the ones coming here searching for a solution, you need to write the quoted line of code at the end of module-default.sh (or any other module configuration that you selected) and then compile again.
Most helpful comment
仔细阅读module-lite.h 原来在最下面有一行配置:export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --disable-linux-perf"
把这行复制到module-default.sh 的最后面就可以了