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.
Tool/software: TI-RTOS
When I'm trying to build IPC examples using that manual, some strange errors are occurring after kernel build. If I copy the failing commands into console, they are working without errors, but the next make fails again..
Both SDKs have the same version and located in the default locations. What am I doing wrong?
http://processors.wiki.ti.com/index.php/Processor_SDK_IPC_Quick_Start_Guide#Build_IPC_Linux_examples
================================= Configuring IPC ================================= SDK_INSTALL_PATH=/home/san/ti source /home/san/ti/processor_sdk_rtos_am57xx_4_01_00_06/setupenv.sh > /dev/null; \ . /home/san/ti-processor-sdk-linux-am57xx-evm-04.01.00.06/linux-devkit/environment-setup; \ cd ${IPC_INSTALL_PATH}; \ ./configure ${CONFIGURE_FLAGS} \ CC=${CC} \ --prefix=/usr \ PLATFORM=${IPC_PLATFORM} \ KERNEL_INSTALL_DIR=/home/san/ti-processor-sdk-linux-am57xx-evm-04.01.00.06/board-support/linux-4.9.41+gitAUTOINC+e3a80a1c5c-ge3a80a1c5c /bin/sh: 1: source: not found /bin/sh: 4: ./configure: not found Makefile:760: recipe for target 'ti-ipc-linux-config' failed make: *** [ti-ipc-linux-config] Error 127 san@cubi:~/ti-processor-sdk-linux-am57xx-evm-04.01.00.06$ source bash: source: filename argument required source: usage: source filename [arguments]
Thanks Rex for your information.
As far as I understand from your commands history, I should rebuild "Linux out of box demo" first and then try to "Build IPC Linux examples".
Ok, but that way makes things worse for me - even the linux kernel compilation now fails with strange error which I never seen before. Here is the script which I'm using to build the sdk.
#!/bin/bash -e LINUX_SDK=~/ti-processor-sdk-linux-am57xx-evm-04.01.00.06 export PATH=$LINUX_SDK/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH export TI_RTOS_PATH=~/ti export IPC_INSTALL_PATH=~/ti/ipc_3_46_02_04/ cd $LINUX_SDK make ti-ipc-linux
GEN lib/oid_registry_data.c Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: //usr/lib/perl/site_perl/5.22.1 //usr/lib/per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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1/ /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy/sysroots/x86_64-arago-linux/usr/lib/perl/5.22.1 .) at ./lib/build_OID_registry line 14. BEGIN failed--compilation aborted at ./lib/build_OID_registry line 14. lib/Makefile:220: recipe for target 'lib/oid_registry_data.c' failed
Here is the script which successfully builds Linux IPC examples for me from SDK 4.1 (using toolchain from SDK 4.0). Build results are placed into ~/ti/ipc-build directory.
#!/bin/bash -e # toolchain from linux sdk 4.0 TOOLCHAIN=~/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin export PATH=$TOOLCHAIN:$PATH export TI_RTOS_PATH=~/ti export SDK_INSTALL_PATH=$TI_RTOS_PATH export IPC_INSTALL_PATH=$TI_RTOS_PATH/ipc_3_46_02_04 export IPC_PLATFORM=DRA7XX INSTALL=$TI_RTOS_PATH/ipc-build mkdir -p $INSTALL cd $TI_RTOS_PATH/processor_sdk_rtos_am57xx_4_01_00_06 source ./setupenv.sh make ipc_bios cd ~/ti-processor-sdk-linux-am57xx-evm-04.01.00.06 make ti-ipc-linux_install DESTDIR=$INSTALL make PLATFORM=am57xx ti-ipc-linux-examples_install DESTDIR=$INSTALL EXEC_DIR=$INSTALL