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.


 

Newest Forum Posts

  1. Nucleo-144 TCP Problems by mklee, 2019-03-22 19:25
  2. CubeMX function pack development by ajcurtis84, 2019-03-22 18:59
  3. STM32CubeMX LWIP not working by leflingue, 2019-03-22 12:22
  4. STM32CubeMX LWIP not working by matsjuhlin, 2019-03-22 09:13
  5. STM32F746-Discovery by stanandrzej, 2019-03-21 12:41
  6. System Workbench takes up to five minutes to load by Servant, 2019-03-21 02:39
  7. How to use multiple ST boards simultaneously by Kevarek, 2019-03-20 19:21
  8. How to debug STM32f103c8t6 with stm link utility by jcliff, 2019-03-20 15:36
  9. PWM signal Output Malfunctionment by Michael zeinoun, 2019-03-19 11:20
  10. What different WINDOWS MAC OS by actionprog, 2019-03-19 06:08

Last-Modified Blogs