Is SDK build configure correct for rutos-mdm9x07-trb1-sdk?

TRB140 gateway
SDK version: rutos-mdm9x07-trb1-sdk
Development platform: Centos Stream 8

Python 3.9 or newer version need when configure it.
Went to build stage, make throws: [ERROR: toolchain/python2 failed to build.]

Does this means, multiple versions of python need in same RND environment?

Please confirm it!

Follow up:

By enable debug information and run [make -j1 V=sc]

More information came up:

As screen shot shows, compiler is trying to fetch [/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Modules/_ctypes/libffi], but that file is not exist.

I changed the directory to [/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Modules/_ctypes] and get result as:

There are some **.c and **.h file seating here.

So in.my understanding, there must some miss configure exist in the package or wrong pointer to locate libffi (lib file).

The error message come out from [
gcc -pthread -fPIC -fno-strict-aliasing -O2 -I/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/include -I/usr/local/include -I/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Include -I/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18 -c /home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Modules/ossaudiodev.c -o build/temp.linux-x86_64-2.7/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Modules/ossaudiodev.o

gcc -pthread -shared -L/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/lib -fprofile-generate -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -L/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/lib -fprofile-generate -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g -fno-strict-aliasing -O2 -I/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fprofile-generate -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -g build/temp.linux-x86_64-2.7/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-8.4.0_musl_eabi/Python-2.7.18/Modules/ossaudiodev.o -L/lib -L/home/cidylong/downloads/rutos-mdm9x07-trb1-sdk/staging_dir/host/lib -L/usr/local/lib -o build/lib.linux-x86_64-2.7/ossaudiodev.so
]

Please advise it.

The first error lines are probably missing. Do a:

make -k V=sc 2>&1 | tee makelog.txt

and post the full makelog file somewhere.

I had made up a zip file for everything that came out from compiler command line by following your instruction.

It is about a mega bytes.

Please advise your available email address, I can send it over.

Use google drive or similar.

This is the link to view and maybe download to your computer