Part Number: TI-15.4-STACK-GATEWAY-LINUX-SDK
I'm trying to compile my own application using TI 15.4 Stack Linux SDK (version 4.40.00.03) with CMake build system. I've encountered a linking problem during building of component api.
Declaration of struct mt_version_info MT_DEVICE_version_info is doubled in files mt_msg.c (only declared, not used) and api_mac.c (declared and used), both without extern or static modifiers. What I don't understand is why build using plain Makefiles is completed successfully, but building with CMake fails. In both cases the same compiler is used underneath: GCC 11.2.0 for aarch64-linux-gnu. Is this some kind of bug or a residue from previous versions?
Second question: is there a way to install SDK natively on Arm architecture? Execution of downloaded .run file is impossible, probably due to the required x64 architecture.
Found another problem. Two functions are declared in appsrv.h (appsrv_deviceSensorDataUpdate and appsrv_deviceConfigUpdate) but they aren't defined anywhere:
Again, building with CMake. Building using Makefile is not a problem.