cancel
Showing results for 
Search instead for 
Did you mean: 

Unterminated quoted string

fff fff
Associate
Posted on July 13, 2017 at 16:58

Hi, i'm setting up Eclipse with GNU ARM Cross Compiler.

I made a simple Projekt ('blaccleds') with an STM32L0 Controller and the STM32L0xx_HAL_Driver-Package.

I get the following Console-Output with an Error Message when I try to compile:

16:43:00 **** Incremental Build of configuration Debug for project blaccleds ****

make all

Building target: blaccleds.elf

Invoking: GNU ARM Cross C++ Linker

arm-none-eabi-g++ -mcpu=cortex-m0 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra -g3 -T mem.ld -T libs.ld -T sections.ld -nostartfiles -Xlinker --gc-sections -L'../ldscripts' -L'C:\STM32Cube_FW_L0_V1.9.0\Drivers\STM32L0xx_HAL_Driver\' -Wl,-Map,'blaccleds.map' --specs=nano.specs -o 'blaccleds.elf' ./system/src/newlib/_cxx.o ./system/src/newlib/_exit.o ./system/src/newlib/_sbrk.o ./system/src/newlib/_startup.o ./system/src/newlib/_syscalls.o ./system/src/newlib/assert.o ./system/src/diag/Trace.o ./system/src/diag/trace_impl.o ./system/src/cortexm/_initialize_hardware.o ./system/src/cortexm/_reset_hardware.o ./system/src/cortexm/exception_handlers.o ./system/src/cmsis/system_DEVICE.o ./system/src/cmsis/vectors_DEVICE.o ./src/_write.o ./src/main.o ./src/stm32l0xx_hal_cortex.o ./src/stm32l0xx_hal_gpio.o ./src/stm32l0xx_ll_gpio.o

c:/gnutoolsarmembedded/buildtools/bin/bin/sh: syntax error: unterminated quoted string

make: *** [blaccleds.elf] Error 2

makefile:61: recipe for target 'blaccleds.elf' failed

16:43:00 Build Finished (took 228ms)

Can anybody tell me what's the Problem here?

3 REPLIES 3
Posted on July 13, 2017 at 17:11

What's going on at line 61 of the make file?

What's the script it is trying to run?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
fff fff
Associate
Posted on July 13, 2017 at 17:38

This is the part of the makefile:

0690X00000607VCQAY.png
Posted on July 13, 2017 at 18:19

Will 

arm-none-eabi-g++ run from the command line?

What if you paste in the entire command it is trying to run?

system_DEVICE looks odd, does DEVICE need to be defined?

The escape character at the end here looks problematic ...

STM32L0xx_HAL_Driver\'

Use the UNIX path setting for where it should be looking for driver objects.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..