2024-09-07 10:53 AM - last edited on 2024-09-08 02:10 PM by Amel NASRI
23:46:18 **** Incremental Build of configuration Debug for project Ai ****
make -j4 all
arm-none-eabi-gcc -o "Ai.elf" @"objects.list" -Wl,--start-group -l:NetworkRuntime512_CM4_GCC.a -Wl,--end-group -mcpu=cortex-m4 -T"C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\STM32F401RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Ai.map" -Wl,--gc-sections -static -L../Middlewares/ST/AI/Lib -L"C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App" -mfloat-abi=hard --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -u _printf_float -u _scanf_float -Wl,--start-group -lc -lm -Wl,--end-group
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_platform_interface.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_platform_interface.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(core_mem_manager.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(core_mem_manager.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(core_common.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(core_common.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers_conv2d_generic_float.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers_conv2d_generic_float.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers_nl_generic_float.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers_nl_generic_float.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(layers.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(arm_mat_init_f32.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(arm_mat_init_f32.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_datatypes_format.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_datatypes_format.o)
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: error: Ai.elf uses VFP register arguments, C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_math_helpers.o) does not
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: failed to merge target specific data of file C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App\NetworkRuntime512_CM4_GCC.a(ai_math_helpers.o)
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:65: Ai.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
23:46:19 Build Failed. 19 errors, 0 warnings. (took 957ms)
#######################################################################
23:52:17 **** Incremental Build of configuration Debug for project Ai ****
make -j4 all
arm-none-eabi-gcc -o "Ai.elf" @"objects.list" -Wl,--start-group -l:NetworkRuntime512_CM4_GCC.a -Wl,--end-group -mcpu=cortex-m4 -T"C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\STM32F401RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="Ai.map" -Wl,--gc-sections -static -L../Middlewares/ST/AI/Lib -L"C:\Users\DCL\STM32CubeIDE\workspace_1.12.0\X-CUBE-AI\App" -mfloat-abi=hard --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -u _printf_float -u _scanf_float -Wl,--start-group -lc -lm -Wl,--end-group
c:\st\stm32cubeide_1.12.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.200.202301161003\tools\arm-none-eabi\bin\ld.exe: cannot find -l:NetworkRuntime512_CM4_GCC.a
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:65: Ai.elf] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
23:52:17 Build Failed. 2 errors, 0 warnings. (took 657ms)
Solved! Go to Solution.
2024-09-26 09:13 AM
You can easily fix that by adding the library in the linker options. Sometime those options get overwritten.
The library can be found in Middlewares/ST/AI/Lib directory of your STM32Cube.AI installation
2024-09-26 09:13 AM
You can easily fix that by adding the library in the linker options. Sometime those options get overwritten.
The library can be found in Middlewares/ST/AI/Lib directory of your STM32Cube.AI installation