lsdk2004_update_290520 Compilation error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lsdk2004_update_290520 Compilation error

1,160件の閲覧回数
540915622
Contributor III

Building OpenSSL ...
COMPONENT: cryptodev_linux
DESTARCH: arm64
CONFIGLIST: build_lsdk.cfg
make[2]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520'
make[3]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux'
Cloning into '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'...
remote: Enumerating objects: 26, done.
remote: Counting objects: 100% (26/26), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 4377 (delta 9), reused 0 (delta 0)230.00 KiB/s
Receiving objects: 100% (4377/4377), 1.15 MiB | 239.00 KiB/s, done.
Resolving deltas: 100% (3068/3068), done.
Switched to a new branch 'LSDK-20.04'
/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux
fatal: not a git repository (or any of the parent directories): .git

Building CRYPTODEV_LINUX ...
make[4]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'
make -C /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output/ M=/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
make[5]: Entering directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output'
CC [M] /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o
In file included from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/mmzone.h:19:0,
from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/gfp.h:6,
from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/slab.h:15,
from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/crypto.h:19,
from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/crypto/hash.h:11,
from /home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.c:36:
/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/include/linux/page-flags-layout.h:6:10: fatal error: generated/bounds.h: No such file or directory
#include <generated/bounds.h>
^~~~~~~~~~~~~~~~~~~~

compilation terminated.
/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/scripts/Makefile.build:265: recipe for target '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o' failed
make[7]: *** [/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux/ioctl.o] Error 1
/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:1652: recipe for target '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux' failed
make[6]: *** [/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux] Error 2
/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/linux/Makefile:179: recipe for target 'sub-make' failed
make[5]: *** [sub-make] Error 2
make[5]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/build/linux/linux/arm64/LS/output'
Makefile:27: recipe for target 'build' failed
make[4]: *** [build] Error 2
make[4]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux/cryptodev_linux'
Makefile:103: recipe for target 'cryptodev_linux' failed
make[3]: *** [cryptodev_linux] Error 2
make[3]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520/packages/linux'
Makefile:22: recipe for target 'cryptodev_linux' failed
make[2]: *** [cryptodev_linux] Error 2
make[2]: Leaving directory '/home/qinlh/nxp/flexbuild_lsdk2004_update_290520'

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,085件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

I executed the following command, didn't find any problem.

$ tar -xzvf flexbuild_lsdk2004_update_290520.tgz

$ source setup.env

$ flex-builder -c openssl -a arm64

In your log, I didn't find Linux Kernel source was downloaded and built, please check whether generated/bounds.h exists.

$ find build/linux/ -name bounds.h
build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520/include/generated/bounds.h
build/linux/linux/arm64/LS/output/LSDK-20.04-V5.4-update-290520/module-headers/include/generated/bounds.h

If no, please build Linux with the following command.

$ flex-builder -c linux -a arm64

0 件の賞賛
返信

1,085件の閲覧回数
540915622
Contributor III

内核是从WSL那边编译并拷贝过来的,然后在WSL里面打包过来解压就没问题了。

我在虚拟机里面分配了2GB内存,导致在git clone 你们linux仓库的时候会出错,所以只能从WSL里面拷贝过来。应该是你们的git仓库太大了内存不足,建议你们优化下你们linux仓库的大小。

0 件の賞賛
返信