Tool/software: Linux
Dears,
build AM5728 SDK ERROR, please help ,thanks,
-----------------------
makedepend: warning: gost2001.c (reading ../../include/openssl/buffer.h, line 68): cannot find include file "stddef.h"
| not in ../../include/stddef.h
| not in /usr/include/stddef.h
| makedepend: warning: gost2001.c (reading ../../include/openssl/buffer.h, line 71): cannot find include file "sys/types.h"
| not in ../../include/sys/types.h
| not in /usr/include/sys/types.h
| makedepend: warning: gost2001.c (reading ../../include/openssl/sha.h, line 63): cannot find include file "stddef.h"
| not in ../../include/stddef.h
| not in /usr/include/stddef.h
| makedepend: warning: gost2001.c (reading /usr/include/string.h, line 32): cannot find include file "stddef.h"
| not in ../../include/stddef.h
| not in /usr/include/stddef.h
| NOTE: make -j 24 -e MAKEFLAGS=
| makedepend: warning: gost2001.c (reading /usr/include/errno.h, line 35): cannot find include file "bits/errno.h"
| not in ../../include/bits/errno.h
| not in /usr/include/bits/errno.h
| makedepend: warning: gost_pmeth.c (reading /usr/include/ctype.h, line 26): cannot find include file "bits/types.h"
| not in ../../include/bits/types.h
| not in /usr/include/bits/types.h
| makedepend: warning: gost_pmeth.c (reading /usr/include/endian.h, line 36): cannot find include file "bits/endian.h"
| not in ../../include/bits/endian.h
| not in /usr/include/bits/endian.h
| makedepend: warning: gost_pmeth.c (reading /usr/include/endian.h, line 60): cannot find include file "bits/byteswap.h"
| not in ../../include/bits/byteswap.h
| not in /usr/include/bits/byteswap.h
| make[2]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j/engines/ccgost'
| make[1]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j/engines'
-------------------------------------------
make[3]: Entering directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j'
| make[4]: Entering directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j'
| libcrypto.a(dso_dlfcn.o): In function `dlfcn_globallookup':
| /usr/src/debug/openssl/1.0.2j-r0.arago0/openssl-1.0.2j/crypto/dso/dso_dlfcn.c:456: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
| /mnt/disk_2t/hillson/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.2.1/../../../../arm-linux-gnueabihf/bin/ld: cannot find ../../lib/libc.so.6
| collect2: error: ld returned 1 exit status
| Makefile.shared:171: recipe for target 'link_a.gnu' failed
| make[4]: *** [link_a.gnu] Error 1
| make[4]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j'
| Makefile:357: recipe for target 'do_linux-shared' failed
| make[3]: *** [do_linux-shared] Error 2
| make[3]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j'
| Makefile:310: recipe for target 'libcrypto.so.1.0.0' failed
| make[2]: *** [libcrypto.so.1.0.0] Error 2
| make[2]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j'
| Makefile:109: recipe for target 'shared' failed
| make[1]: *** [shared] Error 2
| make[1]: Leaving directory '/mnt/disk_2t/hillson/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/openssl-1.0.2j/crypto'
| Makefile:287: recipe for target 'build_crypto' failed
| make: *** [build_crypto] Error 1
| ERROR: Function failed: do_compile (log file is located at /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/openssl/1.0.2j-r0.arago0/temp/log.do_compile.5959)
$<50>ERROR: Task (/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb:do_compile) failed with exit code '1'
$<50>ERROR: libtool-cross-2.4.6-r0 do_configure: configure failed
$<50>ERROR: libtool-cross-2.4.6-r0 do_configure: Function failed: do_configure (log file is located at /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.5956)
$<50>ERROR: Logfile of failure stored in: /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.5956
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
------------------------------------------------------------------------
## ------------------------- ##
| ## Configuring libtool 2.4.6 ##
| ## ------------------------- ##
|
| checking for GNU M4 that supports accurate traces... /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/m4
| checking whether /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/m4 accepts --gnu... yes
| checking how m4 supports trace files... --debugfile
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for arm-linux-gnueabi-strip... arm-linux-gnueabihf-strip
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking whether make supports nested variables... yes
| checking whether make supports nested variables... (cached) yes
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... arm-unknown-linux-gnueabi
| configure: autobuild project... GNU Libtool
| configure: autobuild revision... 2.4.6
| configure: autobuild hostname... uthost
| configure: autobuild mode... default
| configure: autobuild timestamp... 20180709T092915Z
| checking for arm-linux-gnueabi-gcc... arm-linux-gnueabihf-gcc -march=armv7-a -marm -mfpu=neon -mfloat-abi=hard --sysroot=/home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm
| checking whether the C compiler works... no
| configure: error: in `/home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libtool-cross/2.4.6-r0/build':
| configure: error: C compiler cannot create executables
| See `config.log' for more details
| WARNING: /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/run.do_configure.5956:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at /home/hillson/disk/tisdk/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.5956)
$<50>ERROR: Task (/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_configure) failed with exit code '1'
$<50>NOTE: Tasks Summary: Attempted 611 tasks of which 607 didn't need to be rerun and 4 failed.
$<50>
Summary: 4 tasks failed:
/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb:do_compile
/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-core/zlib/zlib_1.2.8.bb:do_compile
/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb:do_compile
/home/hillson/disk/tisdk/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_configure
Summary: There was 1 WARNING message shown.
Summary: There were 8 ERROR messages shown, returning a non-zero exit code.