我正在尝试使用 flex-builder 为板 ls1043arbd 构建所有图像
我以 root 身份使用了下面的命令
$ flex-builder -m ls1043ardb
错误日志如下,
亲切的帮助
组件:性能
社会家庭:LS
make:进入目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108'
make[1]: 进入目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/packages/linux'
构建内核工具/perf ...
make[2]: 进入目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux'
make[3]: 进入目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'
构建:执行“make -j3”并行构建
警告:“tools/include/uapi/linux/stat.h”中的内核 ABI 标头与“include/uapi/linux/stat.h”中的最新版本不同
diff -u 工具/include/uapi/linux/stat.h include/uapi/linux/stat.h
警告:“tools/include/linux/build_bug.h”中的内核 ABI 标头与“include/linux/build_bug.h”中的最新版本不同
diff -u 工具/include/linux/build_bug.h include/linux/build_bug.h
自动检测系统特点:
...矮人:[关闭]
... dwarf_getloca
tions:[关闭]
... glibc:[上]
... libbfd:[关闭]
... libbfd-buildid:[关闭]
... libcap:[上]
...自由:[关闭]
... libnuma:[关闭]
... numa_num_possible_cpus:[关闭]
... libperl:[关闭]
... libpython:[关闭]
... libcrypto:[关闭]
... libunwind:[关闭]
... libdw-dwarf-unwind:[关闭]
... zlib:[上]
... lzma:[关闭]
... get_cpuid:[关闭]
... bpf: [ 上 ]
... libaio:[上]
... libzstd:[关闭]
...反汇编程序四参数:[关闭]
Makefile.config:392: 未找到 libelf。在“perf record”中禁用“probe”工具、jvmti 和 BPF 支持。请安装 libelf-dev、libelf-devel 或 elfutils-libelf-devel
Makefile.config:555: 未找到 sys/sdt.h,未定义 SDT 事件,请安装 systemtap-sdt-devel 或 systemtap-sdt-dev
Makefile.config:630:禁用后展开,未找到支持。
Makefile.config:696: 未找到 libcrypto.h,禁用 jitted 代码注入,请安装 openssl-devel 或 libssl-dev
Makefile.config:712: 未找到俚语,禁用 TUI 支持。请安装 slang-devel、libslang-dev 或 libslang2-dev
Makefile.config:759: 缺少 perl 开发文件。禁用 perl 脚本支持,请安装 perl-ExtUtils-Embed/libperl-dev
Makefile.config:795: 未找到“Python.h”(用于 Python 2.x 支持):禁用 Python 支持 - 请安装 python-devel/python-dev
Makefile.config:833:旧版本的 libbfd/binutils 诸如 PE 可执行文件分析之类的东西将不可用
Makefile.config:881: No liblzma found,禁用xz内核模块解压,请安装xz-devel/liblzma-dev
Makefile.config:894: 未找到 libzstd,禁用跟踪压缩,请安装 libzstd-dev[el] 和/或设置 LIBZSTD_DIR
Makefile.config:918: 未找到 numa.h,禁用“perf bench numa mem”基准测试,请安装 numactl-devel/libnuma-devel/libnuma-dev
Makefile.config:973: 未找到 libbabeltrace,禁用 'perf data' CTF 格式支持,请安装 libbabeltrace-dev[el]/libbabeltrace-ctf-dev
在 /home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux/tools/include/linux/refcount.h:42 包含的文件中,
来自/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux/tools/lib/perf/include/internal/cpumap.h:5,
来自 util/cpumap.h:7,
来自 builtin-sched.c:6:
builtin-sched.c:在函数“create_tasks”中:
/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux/tools/include/linux/kernel.h:43:17:错误:不同指针类型的比较缺少强制转换[-Werror]
43 | (无效) (&_max1 == &_max2); \
| ^~
builtin-sched.c:673:13: 注意:在宏 'max' 的扩展中
第673章 (size_t) max(16 * 1024, PTHREAD_STACK_MIN));
| ^~~
cc1:所有警告都被视为错误
make[8]: *** [/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux/tools/build/Makefile.build:96: /home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/build/linux /linux/arm64/LS/output/LSDK-21.08/tools/perf/builtin-sched.o]错误1
make[8]: *** 等待未完成的工作....
make[7]: *** [Makefile.perf:643: /home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08/tools/perf/perf-in. o] 错误 2
make[6]: *** [Makefile.perf:229: sub-make] 错误 2
make[5]: *** [Makefile:70: all] 错误 2
make[4]: *** [Makefile:85: perf] 错误 2
make[3]: *** [/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux/Makefile:1947: tools/perf] 错误 2
make[3]: 离开目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/build/linux/linux/arm64/LS/output/LSDK-21.08'
make[2]: *** [Makefile:185: __sub-make] 错误 2
make[2]: 离开目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/components/linux/linux'
make[1]: *** [perf.mk:7: perf] 错误 2
make[1]: 离开目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108/packages/linux'
make: *** [Makefile:22: perf] 错误 2
make:离开目录'/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108'
root@team-VirtualBox:/home/ls01043ardb/lsdk21.08_nxp/flexbuild_lsdk2108#