I'm seeing a build issue on my project - it had been working fine yesterday but this morning it would not build.
Two errors are reported:
'"C:/Freescale/CW MCU v10.3/gnu/bin/rm -f"' is not recognized as an internal or external command, operable program or batch file.
mingw32-make: *** [../source/stream.c] Error 1
The directory, and rm.exe, do exist.
The stream.c file hasn't changed in over two months so I'm thinking that it's not the issue.
This blog post sounds similar - but a difference is that my project had been working. And as far as I can see there aren't any incorrect double quotes in my configuration.
The Quotation Problem | MCU on Eclipse
I deleted the workspace directory and got the latest version from source control - still having the same problem.
Any suggestions on where to look?
Thanks for the suggestions. :smileyhappy:
One of my colleagues noticed that the second error, Error 1, was sometimes pointing to stream.c and sometimes to serscale.c. He excluded both of them from the build on his machine and also commented out all references to them and was able to build the project without errors.
After that I did the following on my machine:
'"C:/Freescale/CW MCU v10.3/gnu/bin/rm -f"' is not recognized as an internal or external command, operable program or batch file.
mingw32-make: *** [../source/serscale.c] Error 1
Answers to some of the questions / suggestions:
As far as I am concerned the problem is fixed - but what would cause an Error 1 that could be corrected by touching the offending (serscale.c) file?
Hello,
maybe you could copy and post the console log output in a text file. Maybe there is indeed a quotation problem and it might be hard to see it. The other things is: try to run the rm.exe from a DOS shell (with the path shown in console log, maybe copy-paste that command line.
The error message is basically about this: Eclipse passes the command line to an 'exec' API of the host OS, and then the host OS for whatever reason is not able to locate/execute that command line.
I hope this helps.
Can you please remove .metadata folder then restart CW. Can it work now? if still not, is this problem in one specific project or a common issue for all project? can you please send us your entire project folder in zip and the problem screenshot so that we can check the problem directly ?