Я пытаюсь выполнить кросс-компиляцию IoT SDK Google Cloud Platform, но сталкиваюсь с:
file format not recognized; treating as linker script
.
Команда компилятора генерируется автоматически, но я не вижу, что с ней не так.
x86-cc -DIOTC_TLS_LIB_MBEDTLS -DMBEDTLS_PLATFORM_MEMORY -DIOTC_DEBUG_OUTPUT=0 -DIOTC_DEBUG_ASSERT=0 -DIOTC_DEBUG_EXTRA_INFO=0 -DIOTC_FS_POSIX -DIOTC_MEMORY_LIMITER_APPLICATION_MEMORY_LIMIT=524288 -DIOTC_MEMORY_LIMITER_SYSTEM_MEMORY_LIMIT=2024 -DIOTC_MEMORY_LIMITER_ENABLED -DIOTC_PLATFORM_BASE_POSIX -DIOTC_MULTI_LEVEL_DIRECTORY_STRUCTURE -DIOTC_LIBCRYPTO_AVAILABLE -Wall -Wno-pointer-arith -Wno-format -fstrict-aliasing -Os -Wall -Wextra -Wno-format -I. -I./third_party/tls/mbedtls/include/ -I/home/nate/gcp/iot-device-sdk-embedded-c/include/bsp -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/platform/iotc_thread -I/home/nate/gcp/iot-device-sdk-embedded-c/include -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc -I/home/nate/gcp/iot-device-sdk-embedded-c/src/bsp/crypto/mbedtls -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/io/fs/posix -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/debug_extensions/memory_limiter -I/home/nate/gcp/iot-device-sdk-embedded-c/src/bsp -I/home/nate/gcp/iot-device-sdk-embedded-c/src/bsp/platform/posix -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/io/net -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/memory -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/event_loop -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/time -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/tls/certs -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/tls -I/home/nate/gcp/iot-device-sdk-embedded-c/src/bsp/tls/mbedtls -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/io -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/io/fs -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/event_dispatcher -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/datastructures -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/mqtt/codec -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/mqtt/logic -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/control_topic -I/home/nate/gcp/iot-device-sdk-embedded-c/third_party/mqtt-protocol-c -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/platform/posix -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc/platform/posix/iotc_thread -I/home/nate/gcp/iot-device-sdk-embedded-c/third_party/cmocka/include/ -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests/tools -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests/itests -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests/itests/tools -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests/itests/tools/dummy -I/home/nate/gcp/iot-device-sdk-embedded-c/src/libiotc -I/home/nate/gcp/iot-device-sdk-embedded-c/src/tests/itests/platform/posix/iotc_thread -MM /home/nate/gcp/iot-device-sdk-embedded-c/src/bsp/crypto/mbedtls/iotc_bsp_crypto_mbedtls.c -MT /home/nate/gcp/iot-device-sdk-embedded-c/obj/bsp/crypto/mbedtls/iotc_bsp_crypto_mbedtls.o -MF /home/nate/gcp/iot-device-sdk-embedded-c/obj/bsp/crypto/mbedtls/iotc_bsp_crypto_mbedtls.d
/home/nate/sdk-qemu/toolkit/compilers/llvm-8.0.0.2/LINUX64/bin/ldpentium:/tmp/iotc_bsp_crypto_mbedtls.o.34065: file format not recognized; treating as linker script
/home/nate/sdk-qemu/toolkit/compilers/llvm-8.0.0.2/LINUX64/bin/ldpentium:/tmp/iotc_bsp_crypto_mbedtls.o.34065:1: syntax error
Каждый раз, когда я запускаю команду make, генерируется новый файл iotc_bsp * .o выдавая ту же ошибку.