Build Project fails with ERROR 258 [message #1752209] |
Thu, 19 January 2017 16:41  |
Eclipse User |
|
|
|
Hi,
using for STM32 the AC6 environment I've finished the first coding but I can't succeed.
The Build Project fails with
make: *** [Src/main.o] Error 258
The reason is:
/usr/make/sh: -c: line 0: syntax error near unexpected token `('
/usr/make/sh: -c: line 0: `arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F103xB -I"D:/Data/STM32Nucleo2/RolfCube2/Inc" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/STM32F1xx_HAL_Driver/Inc" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/CMSIS/Device/ST/STM32F1xx/Include" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/CMSIS/Include" -I"D:/Data/STM32Nucleo2/RolfCube2/Inc" -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -o "Src/main.o" "../Src/main.c"'
It can't be an issue of the arm...gcc, because the command line run explicitly in a cmd-window compiles the project sucessfully:
set aa
aa=C:\PU\Ac6\SystemWorkbench\plugins\fr.ac6.mcu.externaltools.arm-none.win32_1.13.0.201701121612\tools\compiler\bin\arm-none-eabi-gcc.exe
%aa% -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -D__weak=__attribute__((weak)) -D__packed=__attribute__((__packed__)) -DUSE_HAL_DRIVER -DSTM32F103xB -I"D:/Data/STM32Nucleo2/RolfCube2/Inc" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/STM32F1xx_HAL_Driver/Inc" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/CMSIS/Device/ST/STM32F1xx/Include" -I"D:/Data/STM32Nucleo2/RolfCube2/Drivers/CMSIS/Include" -I"D:/Data/STM32Nucleo2/RolfCube2/Inc" -Os -g3 -Wall -fmessage-length=0 -ffunction-sections -c -fmessage-length=0 -MMD -MP -MF"Src/main.d" -MT"Src/main.o" -o "Src/main.o" "../Src/main.c"
I assume the items in italic raise the issue for a process unknown for me, but I have no control about the processing.
Any idea?
Rolf
|
|
|
|
Powered by
FUDForum. Page generated in 0.26584 seconds