Other Parts Discussed in Thread: MATHLIB
Tool/software: Linux
At the top level -- ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied -- I am issuing a make with no args. I have exported TI_RTOS_PATH=/home/richardbreyer/ti in rules.make in order to make the ipc module.
This error is out of the Box. As delivered this code does not build the included modules successfully.
On line 759 of the makefile it enters the failing section ti-ipc-linux-config: ti-ipc-rtos-path-check
@echo =================================
@echo Configuring IPC
@echo =================================
SDK_INSTALL_PATH=$(TI_RTOS_PATH_ABS); \
echo $(TI_RTOS_PATH_ABS) \
echo $(SDK_INSTALL_PATH) \
source $(TI_PRSDK_PATH)/setupenv.sh; \
$(ENV_SETUP); \
cd /home/richardbreyer/ti/ipc_3_46_02_04; \
./configure $${CONFIGURE_FLAGS} \
CC=$${CC} \
--prefix=/usr \
PLATFORM=$${IPC_PLATFORM} \
KERNEL_INSTALL_DIR=$(LINUXKERNEL_INSTALL_DIR)
This is the console output
=================================
Configuring IPC
=================================
SDK_INSTALL_PATH=/home/richardbreyer/ti; \
echo /home/richardbreyer/ti \
echo /home/richardbreyer/ti \
source /home/richardbreyer/ti/processor_sdk_rtos_am57xx_4_01_00_06/setupenv.sh; \
/home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/environment-setup; \
cd ${IPC_INSTALL_PATH}; \
./configure ${CONFIGURE_FLAGS} \
CC=${CC} \
--prefix=/usr \
PLATFORM=${IPC_PLATFORM} \
KERNEL_INSTALL_DIR=/home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/board-support/linux-4.9.41+gitAUTOINC+e3a80a1c5c-ge3a80a1c5c
/home/richardbreyer/ti echo /home/richardbreyer/ti source /home/richardbreyer/ti/processor_sdk_rtos_am57xx_4_01_00_06/setupenv.sh
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/richardbreyer/ti/ipc_3_46_02_04/linux/build-aux/missing: Unknown `--is-lightweight' option
Try `/home/richardbreyer/ti/ipc_3_46_02_04/linux/build-aux/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
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 to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux
checking host system type... x86_64-unknown-linux
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/home/richardbreyer/ti/ipc_3_46_02_04':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Makefile:760: recipe for target 'ti-ipc-linux-config' failed
make: *** [ti-ipc-linux-config] Error 1
Here is the offending code from configure -- line 3426
# Provide some information about the compiler.
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion; do
{ { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
sed '10a\
... rest of stderr output deleted ...
10q' conftest.err >conftest.er1
cat conftest.er1 >&5
fi
rm -f conftest.er1 conftest.err
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }
done
This is the logged error
configure:3447: $? = 0
configure:3436: /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -V >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-V'
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:3447: $? = 1
configure:3436: /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -qversion >&5
arm-linux-gnueabihf-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
arm-linux-gnueabihf-gcc: fatal error: no input files
compilation terminated.
configure:3447: $? = 1
configure:3467: checking whether the C compiler works
configure:3489: /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc conftest.c >&5
configure:3493: $? = 0
configure:3541: result: yes
configure:3544: checking for C compiler default output file name
configure:3546: result: a.out
configure:3552: checking for suffix of executables
configure:3559: /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -o conftest conftest.c >&5
configure:3563: $? = 0
configure:3585: result:
configure:3607: checking whether we are cross compiling
configure:3615: /home/richardbreyer/ti-processor-sdk-linux-am57xx-evm-04.01.00.06_uneditied/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc -o conftest conftest.c >&5
configure:3619: $? = 0
configure:3626: ./conftest
./configure: line 3628: ./conftest: cannot execute binary file: Exec format error
configure:3630: $? = 126
configure:3637: error: in `/home/richardbreyer/ti/ipc_3_46_02_04':
configure:3639: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Apparently it uses every conceivable option to discover the version and comes up blank.
This error is out of the Box. As delivered this code does not build the included modules successfully
Is there a workaround.
Here are the element versions
Environment Configuration:
LIMIT_SOCS : am571x am572x
LIMIT_BOARDS : evmAM572x idkAM571x idkAM572x
PDK_INSTALL_PATH : /home/richardbreyer/ti/pdk_am57xx_1_0_8/packages
C6X_GEN_INSTALL_PATH : /home/richardbreyer/ti/ti-cgt-c6000_8.1.3
TOOLCHAIN_PATH_GCC : /home/richardbreyer/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_A15 : /home/richardbreyer/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_A8 : /home/richardbreyer/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_A9 : /home/richardbreyer/ti/gcc-arm-none-eabi-4_9-2015q3
TOOLCHAIN_PATH_M4 : /home/richardbreyer/ti/ti-cgt-arm_16.9.3.LTS
TOOLCHAIN_PATH_Arm9 : /home/richardbreyer/ti/ti-cgt-arm_16.9.3.LTS
TOOLCHAIN_PATH_EVE : /home/richardbreyer/ti/arp32_1.0.8
CL_PRU_INSTALL_PATH : /home/richardbreyer/ti/ti-cgt-pru_2.1.5
FPULIB_PATH : /home/richardbreyer/ti/gcc-arm-none-eabi-4_9-2015q3/lib/gcc/arm-none-eabi/4.9.3/fpu
CROSS_TOOL_PRFX : arm-none-eabi-
XDC_INSTALL_PATH : /home/richardbreyer/ti/xdctools_3_32_01_22_core
BIOS_INSTALL_PATH : /home/richardbreyer/ti/bios_6_46_05_55
IPC_INSTALL_PATH : /home/richardbreyer/ti/ipc_3_46_02_04
EDMA3LLD_BIOS6_INSTALLDIR : /home/richardbreyer/ti/edma3_lld_2_12_05_29
NDK_INSTALL_PATH : /home/richardbreyer/ti/ndk_2_25_01_11
IMGLIB_INSTALL_PATH : /home/richardbreyer/ti/imglib_c66x_3_1_1_0
DSPLIB_INSTALL_PATH : /home/richardbreyer/ti/dsplib_c66x_3_4_0_0
MATHLIB_INSTALL_PATH : /home/richardbreyer/ti/mathlib_c66x_3_1_1_0
UIA_INSTALL_PATH : /home/richardbreyer/ti/uia_2_00_06_52
IPC_PLATFORM: DRA7XX
IPC_ALT_PLATFORM:
PROC_SDK_INSTALL_PATH : /home/richardbreyer/ti/processor_sdk_rtos_am57xx_4_01_00_06
PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
This slowing down an otherwise very successful development cycle. Please respond rapidly.