你好
我正在尝试构建 pvrsrvkm.ko、这应该是 ti-SGX-DDK-km 配方的结果。 编译失败、出现以下错误:
tisdk-0603/tisdk/build$ bitbake ti-SGX-DDK-km
警告:层 meta-processor-SDK 应在其 conf/lay.conf 文件中设置 LAYERSERIES_COMPAT_meta-processor-SDK、以列出与其兼容的核心层名称。
警告:图层 meta-korund 应在其 conf/lay.conf 文件中设置 LAYERSERIES_COMPAT_meta-korund,以列出与其兼容的核心图层名称。
警告:层 meta-processor-SDK 应在其 conf/lay.conf 文件中设置 LAYERSERIES_COMPAT_meta-processor-SDK、以列出与其兼容的核心层名称。
警告:图层 meta-korund 应在其 conf/lay.conf 文件中设置 LAYERSERIES_COMPAT_meta-korund,以列出与其兼容的核心图层名称。
正在加载高速缓存:100%|######################################################################################## |时间:0:00:01
已从依赖关系缓存加载4674个条目。
解析配方:100%|#################################################################################################### |时间:0:00:17
解析3540 .bb 文件完成(3538缓存、2解析)。 4676个目标、542个跳过、0个屏蔽、0个错误。
警告:没有适用于以下各项的配方:
/home/fominykh/__projects/korund/tisdk-0603/tisdk/sources/meta-arago/meta-arago-distro/recipes-browser/chromium/chromium-wayland_。bbappend
/home/fominykh/__projects/korund/tisdk-0603/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/move-base_1.12.14.bbappend
/home/fominykh/__projects/korund/tisdk-0603/tisdk/sources/meta-processor-sdk/recipes-ros/navigation/rotate-recovery_1.12.14.bbappend
注:解决任何缺失的任务队列相关性
编译配置:
Bb_version ="1.40.0"
Build_SYS ="x86_64 Linux 版"
NATIVELSBSTRING ="Uubuntu-16.04"
Target_SYS ="ARM-Linux-gnueabi"
机器="am57xx-evm"
DIASTRO ="Arago"
DISTR_VERSION ="2019.11"
TUNE_FUNCures ="arm armv7a VFP thumb neon callconvention-hard "
TARGET_FPU ="硬"
meta-processor-sdk ="标题:56d9d47f18eeec31a1086ca29e54b5956c46de84"
meta-AWS ="标题:6432f1b38b9dcbbb55020167f5b1cfe55e858c6d"
meta-ROS ="标题:72068b17e4192b51e09c8dc633805a35edac8701
meta-arago-distro
meta-Arago-Extras ="标题:70436496d2617b281c51390faa3d421814055cd6"
meta 浏览器="标题:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-qt5 ="头:e6e464c9ed9266ce46452f953c1bdcb0e7b2d95f"
meta-virtualization ="标题:7685c7d415e0002c448007960837ae8898cd57a5"
元网络
Meta-python
Meta-OE
元- gnome
元多媒体
meta-filesystems ="头:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-ti ="头:b27317ab4f9be931a66344c502c7e3f4ec780e5"
meta-linaro-toolchain
meta-optee ="标题:615ea7561b844a3867ce4299d83d605c10b02ab"
meta ="标题:e68991ceb5933f7d03b9697e8a0ba0829feb320"
meta-korund ="tisdk0603:adca90e4420f07b80a36cab8ff507c5b197cad33"
工作区="master:8bc0da807918d9330d7aa12f3fa9195fd24dad03"
正在初始化任务:100%|################################################################ |时间:0:00:00
状态汇总:找到所需的5个0缺失5个电流154 (0%匹配、96%完成)
注:执行 SetScene 任务
注:执行 RunQueue 任务
错误:TI-SGX-DDK-KM-1.17.4948957-R7 do_compile:OE_runmake 失败
错误:TI-SGX-DDK-KM-1.17.4948957-R7 do_compile:函数失败:do_compile (日志文件位于/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/temp/log.do_compile.11920上)
错误:故障日志文件存储在:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/temp/log.do_compile.11920中
日志数据如下:
|调试:执行 shell 函数 DO 编译
|注意:make -j 3 kernel_SRC=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source KERNELDIR=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source target_product=jacinto6evm window_system=nulldrmws kernel_path=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source /home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/recipe-sysroot-native= kernel_version=CC=arm-linux-gnueabihf-gcc -mnumo-thume-interwork -mem -fuse kernel-ld=bfus-map=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/recipe-sysroot=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-build-artifacts -gnueabif-degra-degra-refix=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s=/usr/src/debug/ti-sgx-ddk-km/1.17.4948957-r7s /home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source=/usr/src/kernel -de-degra-degra-refix=linux-de-degra-degra-degra-de-degrf-degra-degra-refix=jde-de-degrf-necdegra-degra-degra-degra-degra-degra-
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/amba:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/avf:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/bcma:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/byteorder:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/can:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/ceph:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/clk:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/crush:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/decompress:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/dma:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/dsa:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/extcon:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/firmware:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/fpga:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/fsl:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/gpio:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/hsi:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/iio:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/input:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/irqchip:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/isdn:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/lockd:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mailbox:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mfd:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mlx4:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mlx5:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mmc:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mtd:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/mux:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/netfilter:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/netfilter_arp:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/netfilter_bridge:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/netfilter_ipv4:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/netfilter_ipv6:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/perf:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/phy:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/pinctrl:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/platform_data:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/power:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/qed:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/raid:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/regulator:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/remoteproc:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/reset:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/rpmsg:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/rpmsg-remotedev:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/rtc:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/sched:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/soc:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/soundwire:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/spi:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/ssb:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/sunrpc:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/ulpi:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/unaligned:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/usb:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/uwb:是一个目录
| grep:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/include/linux/wimax:是一个目录
|./config/compiler.mk:96:主机 gcc
|./config/compiler.mk:185:目标 arm-linux-gnueabihf-gcc -mno-thumb-interwork -mem -fuser-ld=bfd -fdebug-prefix-map=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s=/usr/src/debug/ti-sgx-ddk-km/1.17.4948957-r7s -fdebug-prefix-map=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/recipe-sysroot=-fdebug-prefix-map=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/recipe-sysroot-native=-fdebug-prefix-map=/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source=/usr/src/kernel
|***** Multiarch 版本:否
|***** 主架构:target_armhf
|***** 次拱:无
|./config/core.mk:513:$(KERNELDIR)/vmlinux 不存在。 Kbuild 可能会失败。
|/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/Makefile:590:include/config/auto.conf:无此类文件或目录
|
|错误:内核配置无效。
| include/generated /autoconf.h 或 include/config/auto.conf 缺失。
|在内核 src 上运行'make oldconfig && make prepare'以进行修复。
|
|/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work-shared/am57xx-evm/kernel-source/Makefile:641:目标'include/config/auto.conf'的配方失败
| maked[3]:***[include/config/auto.conf]错误1.
| Makefile:146:目标'subB-make'的配方失败
|制造[2]:***[sub-make]错误2.
| eurasiacon /build/linux2/kbuild/kbuild.mk:56:目标'kbuild'的配方失败
|制造[1]:***[kbuild]错误2.
|./config/core.mk:789:目标'build'的配方失败
|制造:***[Build]错误2.
|错误:OE_runmake 失败
|警告:/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/temp/run.do_compile.11920:1从"EXIT 1"退出1
|错误:函数失败:DO 编译(日志文件位于/home/fominykh/__projects/korund/tisdk-0603/tisdk/build/arago-tmp-external-arm-toolchain/work/am57xx_evm-linux-gnueabi/ti-sgx-ddk-km/1.17.4948957-r7s/temp/log.do_compile.11920)
错误:任务(/home/fominykh/__projects/korund/tisdk-0603/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb:DO 编译)失败、退出代码为"1"
注:任务摘要:已尝试843个任务,其中842个任务不需要重新运行,1个任务失败。
摘要:1个任务失败:
/home/fominykh/__projects/korund/tisdk-0603/tisdk/sources/meta-ti/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb:DO 编译
摘要:显示了5条警告消息。
摘要:显示了2条错误消息、返回非零退出代码。
我正在使用 Ubuntu 16.04、已安装所有必需的软件包。 有趣的是、此配方在构建时没有任何 SDK 05.03问题。 附加了两个内置日志。
e2e.ti.com/.../ti_2D00_sgx_2D00_ddk_2D00_km_5F00_build_5F00_sdk603.log
e2e.ti.com/.../ti_2D00_sgx_2D00_ddk_2D00_km_5F00_build_5F00_sdk503.log