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.
I have the following SDKs installed:
1. ti-processor-sdk-linux-am57xx-evm-08_02_01_00
2. processor_sdk_rtos_am57xx_08_01_00_09
While building IPC examples, I ran into errors as follows during "make ti-ipc-linux":
=================================
Configuring IPC
=================================
. /home/peterh/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/environment-setup; \
cd /ti/processor_sdk_rtos_am57xx_08_01_00_09/ipc_3_50_04_08; \
./configure ${CONFIGURE_FLAGS} \
CC=${TOOLCHAIN_PREFIX}gcc \
--prefix=/usr \
PLATFORM=DRA7XX \
KERNEL_INSTALL_DIR=/home/peterh/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g7a7a3af903
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
configure: WARNING: unrecognized options: --with-libtool-sysroot
=================================
Building IPC
=================================
. /home/peterh/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/environment-setup; \
make -j 12 -C /ti/processor_sdk_rtos_am57xx_08_01_00_09/ipc_3_50_04_08
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
qmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
make[1]: Entering directory '/ti/processor_sdk_rtos_am57xx_08_01_00_09/ipc_3_50_04_08'
Making all in linux/etc
"make ipc_bios" was successful, though.
Initially, I decided to disregard the errors and warning. Then, I did "make ti-ipc-examples", loaded the target with files built per the video: https://www.ti.com/video/series/am57x-sitara-processors-training-series.html#transcript-tab. The result was an error message indicating libraries missing.
In order to fix this issue, what are the required changes to setup and/or make files?
Thanks.
PeterH.
Hello,
Due to a holiday(Good Friday), half of our team is currently out of the office. Please expect a 1~2 day delay in responses.
Apologies for the delay, and thank you for your patience.
Thanks.
Hello Peter,
What version of Ubuntu are you building in? The SDKs you are using are only tested with Ubuntu 18.04.
Also, you should take a look at this FAQ.
Best,
Josue
Hi Peter,
Click the link on the work FAQ. --> https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1304306/faq-processor-sdk-am57x-what-ipc-version-for-do-i-use-when-using-linux-sdk-08-02-01-00
What Ubuntu version were you using?
Did you try to install the missing library?
apt-get install lib32stdc++6
Best,
Josue
1. I am using Ubuntu 22.04.3 LTS. Ubuntu 18.04 failed to work with SDK 8.02, for Yocto builds. When I made an inquiry with Ti, Jared provided modified instructions which included use of Ubuntu 22.04 which worked.
2. Linux SDK contains the library but make seems unable to locate it.
root@peterh-Surface-Laptop-5:/home/peterh/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots# find . -name libstdc++.so.6
./armv7at2hf-neon-linux-gnueabi/usr/lib/libstdc++.so.6
./x86_64-arago-linux/usr/lib/libstdc++.so.6
./x86_64-arago-linux/usr/arm-none-linux-gnueabihf/lib/libstdc++.so.6
I tried modifying LD_LIBRARY_PATH=/home/peterh/linux-devkit/sysroots/armv7at2hf-neon-linux-gnueabi/usr/lib: LD_LIBRARY_PATH. It did not resolve the issue.
Please note that there are two issues: 1. missing c++ library, and 2) unrecognized option (--with-libtool-sysroot). For the second issue, I tried using (--with-sysroot) per "configure --help" but no difference.
Hello Peter,
We only test AM57 SDK builds with 18.04. Please try it on 18.04.
For Yocto build, please see https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1339123/faq-processor-sdk-am57x-how-do-i-build-the-08-02-01-00-sdk-using-yocto
-Josue