This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error while building Processor SDK 02.00.00.00

Hi,

I am trying to build Processor SDK 02.00.00.00 on 64-bit linux PC. I have followed these steps:  http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK . I have copied the error log below. Can anybody help me resolve the error?

 MACHINE=am57xx-evm bitbake arago-core-tisdk-image

Loading cache: 100% |########################################################################################################| ETA: 00:00:00
Loaded 2594 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-linux-gnueabi"
MACHINE = "am57xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2015.09"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa15"
TARGET_FPU = "vfp-neon"
meta-processor-sdk = "(nobranch):bfc49c171cead0cf0b5d859f51c45364a74e1ea7"
meta-arago-distro
meta-arago-extras = "(nobranch):f36422977840d88696e4ea209a82b0caa37a3f5d"
meta-qt5 = "(nobranch):97ce05c0b2a81f05388d7f727741529fb9177775"
meta-networking
meta-ruby
meta-python
meta-oe = "(nobranch):214e1801d0efc38d3b6142bdc0d8e58ca593e34c"
meta-ti = "(nobranch):0a222c70845d19a2213ac36803361e8531768cca"
meta-linaro-toolchain = "(nobranch):3f1933242062d1cf473d20b86fa4582963ff9441"
meta = "(nobranch):4c02a30f084408d0a6a5149937ef74520f8346dc"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (log file is located at /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.668)
ERROR: Logfile of failure stored in: /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.668
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
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.15
| Copyright (C) 2014 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <gnu.org/.../gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
| and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/build/aclocal-copy/" autoreconf --verbose --install --force --exclude=libtoolize -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/m4/ -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/tests/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/build/aclocal-copy/ -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/m4/ -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/tests/ -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/m4/ -I /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/tests/ --force -I m4
| autoreconf: configure.ac: tracing
| autoreconf: running: /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/autoconf --include=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/m4/ --include=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/tests/ --force
| autoreconf: running: /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/autoheader --include=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/m4/ --include=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/tests/ --force
| autoreconf: running: automake --add-missing --copy --force-missing
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/libtool-2.4.6/configure --build=x86_64-linux --host=arm-linux-gnueabi --target=arm-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/libtool --datadir=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/info --mandir=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/meta-openembedded/meta-oe/site/endian-little
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/endian-little
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/arm-common
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/arm-32
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/common-linux
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/common-glibc
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/arm-linux
| configure: loading site script /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/site/common
| ## ------------------------- ##
| ## Configuring libtool 2.4.6 ##
| ## ------------------------- ##
|
| checking for GNU M4 that supports accurate traces... /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/m4
| checking whether /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/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... is02ids01
| configure: autobuild mode... default
| configure: autobuild timestamp... 20151202T125134Z
| checking for arm-linux-gnueabi-gcc... arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a15 --sysroot=/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/sysroots/am57xx-evm
| checking whether the C compiler works... no
| configure: error: in `/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/build':
| configure: error: C compiler cannot create executables
| See `config.log' for more details
| Configure failed. The contents of all config.log files follows to aid debugging
| ERROR: oe_runconf failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/libtool-cross/2.4.6-r0/temp/log.do_configure.668)
ERROR: Task 787 (/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 283 tasks of which 279 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/opt/platforms/am57xx/sdk/amsdk_02_00_00_00/tisdk/sources/oe-core/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Regards,

Apoorva