Part Number:PROCESSOR-SDK-J721E
TDA4 sdk安装后执行source linux-devkit/environment-setup后,make linux编译失败。错误如下:
ASN.1 crypto/asymmetric_keys/x509.asn1.[ch]
*** stack smashing detected ***: <unknown> terminated
AR fs/kernfs/built-in.a
CC fs/sysfs/file.o
Aborted (core dumped)
scripts/Makefile.build:383: recipe for target 'crypto/asymmetric_keys/x509.asn1.c' failed
make[3]: *** [crypto/asymmetric_keys/x509.asn1.c] Error 134
make[3]: *** Deleting file 'crypto/asymmetric_keys/x509.asn1.c'
make[3]: *** [crypto/asymmetric_keys/x509.asn1.c] Deleting file 'crypto/asymmetric_keys/x509.asn1.h'
scripts/Makefile.build:497: recipe for target 'crypto/asymmetric_keys' failed
make[2]: *** [crypto/asymmetric_keys] Error 2
Makefile:1825: recipe for target 'crypto' failed
make[1]: *** [crypto] Error 2
make[1]: *** Waiting for unfinished jobs….
没有使用以下步骤yocto进行编译,因为太占用空间,只想直接编译内核
cd yocto-build ./oe-layertool-setup.sh -f configs/processor-sdk-linux/processor-sdk-linux-<version>.txt cd build echo "INHERIT += \"own-mirrors\"" >> conf/local.conf echo "SOURCE_MIRROR_URL = \""">software-dl.ti.com/.../\"" >> conf/local.conf echo "ARAGO_BRAND = \"psdkla\"" >> conf/local.conf echo "DISTRO_FEATURES_append = \" virtualization\"" >> conf/local.conf echo "IMAGE_INSTALL_append = \" docker\"">> conf/local.conf . conf/setenv TOOLCHAIN_BASE=<PATH_TO_TOOLCHAIN> MACHINE=<machine> bitbake -k tisdk-default-image
Cherry Zhou:
您好,我们已收到您的问题并升级到英文论坛寻求帮助,链接如下,如有答复将尽快回复您。谢谢!
e2e.ti.com/…/processor-sdk-j721e-cross-compilation-issue-for-tda4