-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
mac环境编译 ./compile-ffmpeg.sh all 报错 #4043
Comments
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 <linux/perf_event.h>
^
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 <linux/perf_event.h>
^
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 <linux/perf_event.h>
^
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 <linux/perf_event.h>
^
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
<#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
<#4043 (comment)>,
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" |
我试了一下,确实是可以的,没报错了 |
棒棒哒 |
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. |
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 <linux/perf_event.h>
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 <linux/perf_event.h>
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 <linux/perf_event.h>
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 <linux/perf_event.h>
compilation terminated.
compilation terminated.
make: *** [libavfilter/af_adelay.o] Error 1
make: *** [libavfilter/aeval.o] Error 1
The text was updated successfully, but these errors were encountered: