AnsweredAssumed Answered

  lsdk2004_update_290520 Compilation error

Question asked by 龙华 秦 on Jul 3, 2020
Latest reply on Jul 7, 2020 by 龙华 秦

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'

Outcomes