4 years, 8 months ago.

Make-GCC-ARM exported program build problem - unexpected EOF

Hi Arm,

my simple test program exported as Make-GCC-ARM fails to build locally under Visual Studio 2019. The problem is probably located in the following part of the MAKE file:

529> $(PROJECT).elf: $(OBJECTS) $(SYS_OBJECTS) $(PROJECT).link_script.ld 
530> 	+@echo "$(filter %.o, $^)" > .link_options.txt
531> 	+@echo "link: $(notdir $@)"
532> 	@$(LD) $(LD_FLAGS) -T $(filter-out %.o, $^) $(LIBRARY_PATHS) --output $@ @.link_options.txt $(LIBRARIES) $(LD_SYS_LIBS)`

Received error:

/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
C:/Test Projects/LCD_DEMO/Makefile:530: recipe for target 'LCD_demo.elf' failed

It seems there is something wrong with line 530. Please help.

Be the first to answer this question.