Loading...
 

System Workbench for STM32


subdir.mk failure. Unexpected "("

Please help out a noob. I keep getting this error and I have no cleu what to do.

00:09:50 **** Incremental Build of configuration Debug for project Sys89 ****
make all
Building file: ../Src/dma.c
Invoking: MCU GCC Compiler
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556/tools/make/sh: syntax error: unexpected “(”
Src/subdir.mk:52: recipe for target ‘Src/dma.o’ failed
make: *** Src/dma.o Error 2

00:09:52 Build Finished (took 1s.819ms)

I have had the same problem for days. Would love to get some responses!
I’ve tried addind the ‘’ around weak and packed as explained here to no avail

http://www.openstm32.org/forumthread1636Question

EDIT:
found something usefull here:

https://community.st.com/thread/34684-stm32cubemx-generates-broken-sw4stm32-codeQuestion

Workaround #2:

Navigate to /plugins/fr.ac6.mcu.externaltools.arm-none.win32/tools/make;
Make a backup of the folder;
Remove the files:

echo.exe

msys-1.0.dll

msys-iconv-2.dll

make/msys-intl-8.dll

msys-regex-1.dll

msys-termcap-0.dll

sh.exe
’’
I didnt have all the files in my folder, but deleting the ones i had that matched the list made the build complete. Dont know if it has any negative repercussions though..


I am unable to build project and got the error.
Earlier i used build successfully and i did not change any project setting, still i am getting this error.
Uninstalled and installed the IDE.