Part Number: PROCESSOR-SDK-J721E
Other Parts Discussed in Thread: MATHLIB
Tool/software:
SDK Version:
ti-processor-sdk-rtos-j721e-evm-09_00_01_01
I am trying to run host emulation for the J721E using the PSDK RTOS but facing issues with the setup and compilation. I have the following questions:
-
Is it mandatory to install the PSDK RTOS Add-on package (
ti-processor-sdk-rtos-j721e-evm-09_00_01_01-addon-linux-x64-installer.run) on Ubuntu 22.04 (x86_64) for building C7x MMA TIDL tools? If not, what are the essential dependencies required for this build?
-
Issue while building Mathlib:
- I am running the following
makecommand to build Mathlib: make -j16 mathlib mathlib_cn common TARGET_CPU=x86_64 TARGET_SCPU=C7100 TARGET_PLATFORM=PC TARGET_BUILD=release CHECKPARAMS=1 - However, I am encountering the following error:
sowbhagya@LAPTOP-2OIPLMIC:~/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00$ make -j16 mathlib mathlib_cn common TARGET_CPU=x86_64 TARGET_SCPU=C7100 TARGET_PLATFORM=PC TARGET_BUILD=release CHECKPARAMS=1 TARGET_CPU=x86_64 TARGET_BUILD=release find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/test/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/test/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/test/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_cos/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_cos/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_div/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_div/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_sin/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_sin/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_sqrt/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_sqrt/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_tan/c7100’: No such file or directory find: ‘/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/ti/mathlib/src/math_c7x/MATHLIB_tan/c7100’: No such file or directory HOST_ROOT=/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00 HOST_COMPILER=GPP HOST_OS=LINUX HOST_CPU=x86_64 HOST_ARCH=64 TARGET_OS=LINUX TARGET_CPU=x86_64 MMA_IMPLEMENTATION= SOC= TEST_ENV= TARGET_PLATFORM=PC TARGET_BUILD=release TARGET_OUT=/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/out/x86_64/release TARGET_DOC=/home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/out/docs MODULES=linker_cmd regress_linker_cmd regress common test mathlib mathlib_cn mathlib_d math_c7x/MATHLIB_cos math_c7x/MATHLIB_div math_c7x/MATHLIB_sin math_c7x/MATHLIB_sqrt math_c7x/MATHLIB_tan SCM_ROOT= SCM_VERSION= [GCC] Compiling C++14 MATHLIB_cos_ci.cpp make: g++-5: No such file or directory [GCC] Compiling C++14 MATHLIB_div_ci.cpp make: *** [concerto/finale.mak:219: /home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/out/x86_64/release/module/mathlib/math_c7x/MATHLIB_cos/c71/MATHLIB_cos_ci.o] Error 127 make: *** Waiting for unfinished jobs.... make: g++-5: No such file or directory make: *** [concerto/finale.mak:219: /home/sowbhagya/ti-processor-sdk-rtos-j721e-evm-09_00_01_01/mathlib_02_06_01_00/out/x86_64/release/module/mathlib/math_c7x/MATHLIB_div/c71/MATHLIB_div_ci.o] Error 127
- Is
g++-5mandatory for building Mathlib, or can we use a newer version of GCC (e.g.,g++-9org++-11)? - If a newer GCC version can be used, how can we configure the build system to use it?
- If
g++-5is required, what is the recommended way to install it on Ubuntu 22.04, since it is not available in the default repositories?
- Is
-
Any guidance on resolving these issues would be greatly appreciated.
Thanks!
- I am running the following

