<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCU中的主题 Re: Getting an error on build</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262857#M9983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my colleagues noticed that the second error, Error 1, was sometimes pointing to stream.c and sometimes to serscale.c.&amp;nbsp; 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.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I did the following on my machine:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deleted the project workspace folder and all its contents &lt;/LI&gt;&lt;LI&gt;Got the latest version of the project from source control&lt;/LI&gt;&lt;LI&gt;Unable to build the project – errors:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'"C:/Freescale/CW MCU v10.3/gnu/bin/rm -f"' is not recognized as an internal or external command, operable program or batch file.&lt;/P&gt;&lt;P&gt;mingw32-make: *** [../source/serscale.c] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Opened the serscale.c file&lt;/LI&gt;&lt;LI&gt;Randomly added a space to a line and saved the file&lt;/LI&gt;&lt;LI&gt;Builds ok – no errors&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers to some of the questions / suggestions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deleting the .metadata folder did not correct the issue&lt;/LI&gt;&lt;LI&gt;Problem was for a specific project&lt;/LI&gt;&lt;LI&gt;rm.exe was able to be run from a command prompt&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 18:48:45 GMT</pubDate>
    <dc:creator>gorakk</dc:creator>
    <dc:date>2013-07-11T18:48:45Z</dc:date>
    <item>
      <title>Getting an error on build</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262854#M9980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm seeing a build issue on my project - it had been working fine yesterday but this morning it would not build.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two errors are reported:&lt;/P&gt;&lt;P&gt;'"C:/Freescale/CW MCU v10.3/gnu/bin/rm -f"' is not recognized as an internal or external command, operable program or batch file.&lt;/P&gt;&lt;P&gt;mingw32-make: *** [../source/stream.c] Error 1&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The directory, and rm.exe, do exist.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The stream.c file hasn't changed in over two months so I'm thinking that it's not the issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This blog post sounds similar - but a difference is that my project had been working.&amp;nbsp; And as far as I can see there aren't any incorrect double quotes in my configuration.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fmcuoneclipse.com%2F2013%2F03%2F09%2Fthe-quotation-problem%2F" rel="nofollow" target="_blank"&gt;The Quotation Problem | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I deleted the workspace directory and got the latest version from source control - still having the same problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions on where to look?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 21:42:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262854#M9980</guid>
      <dc:creator>gorakk</dc:creator>
      <dc:date>2013-07-09T21:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error on build</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262855#M9981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 23:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262855#M9981</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2013-07-09T23:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error on build</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262856#M9982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 07:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262856#M9982</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-07-10T07:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an error on build</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262857#M9983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my colleagues noticed that the second error, Error 1, was sometimes pointing to stream.c and sometimes to serscale.c.&amp;nbsp; 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.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that I did the following on my machine:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deleted the project workspace folder and all its contents &lt;/LI&gt;&lt;LI&gt;Got the latest version of the project from source control&lt;/LI&gt;&lt;LI&gt;Unable to build the project – errors:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'"C:/Freescale/CW MCU v10.3/gnu/bin/rm -f"' is not recognized as an internal or external command, operable program or batch file.&lt;/P&gt;&lt;P&gt;mingw32-make: *** [../source/serscale.c] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Opened the serscale.c file&lt;/LI&gt;&lt;LI&gt;Randomly added a space to a line and saved the file&lt;/LI&gt;&lt;LI&gt;Builds ok – no errors&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers to some of the questions / suggestions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Deleting the .metadata folder did not correct the issue&lt;/LI&gt;&lt;LI&gt;Problem was for a specific project&lt;/LI&gt;&lt;LI&gt;rm.exe was able to be run from a command prompt&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 18:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Getting-an-error-on-build/m-p/262857#M9983</guid>
      <dc:creator>gorakk</dc:creator>
      <dc:date>2013-07-11T18:48:45Z</dc:date>
    </item>
  </channel>
</rss>

