<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159437</link>
    <title>MATLAB Central Newsreader - Random 'make' error when using RTW for xPC</title>
    <description>Feed for thread: Random 'make' error when using RTW for xPC</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 16 Nov 2007 13:54:46 -0500</pubDate>
      <title>Random 'make' error when using RTW for xPC</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159437#401681</link>
      <author>Thomas Marullo</author>
      <description>I am using Simulink and RTW to build and download a model to&lt;br&gt;
the xPC.  I am using R2007a.  Occasionally, I will get this&lt;br&gt;
error when I try to build the model:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Creating library globalcountersimulator.lib and object&lt;br&gt;
globalcountersimulator.exp &lt;br&gt;
globalcountersimulator.obj : error LNK2001: unresolved&lt;br&gt;
external symbol _rt_InitInfAndNaN &lt;br&gt;
xpctarget.obj : error LNK2001: unresolved external symbol&lt;br&gt;
_rt_InitInfAndNaN &lt;br&gt;
rt_logging.obj : error LNK2001: unresolved external symbol&lt;br&gt;
_rtInf &lt;br&gt;
globalcountersimulator.dll : fatal error LNK1120: 2&lt;br&gt;
unresolved externals &lt;br&gt;
NMAKE : fatal error U1077: 'link' : return code '0x460' &lt;br&gt;
Stop. &lt;br&gt;
&amp;nbsp;&lt;br&gt;
C:\Documents and Settings\user\My &lt;br&gt;
Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw&amp;gt;echo&lt;br&gt;
The make command returned an &lt;br&gt;
error of 2  &lt;br&gt;
The make command returned an error of 2 &lt;br&gt;
&amp;nbsp;&lt;br&gt;
C:\Documents and Settings\uer\My &lt;br&gt;
Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw&amp;gt;An_error_occurred_during_the_call_to&lt;br&gt;
_make &lt;br&gt;
'An_error_occurred_during_the_call_to_make' is not&lt;br&gt;
recognized as an internal or external command, &lt;br&gt;
operable program or batch file. &lt;br&gt;
&lt;br&gt;
But if I hit 'build' again, without changing any files, it&lt;br&gt;
will work.  I don't understand why this is happening.</description>
    </item>
    <item>
      <pubDate>Fri, 14 Aug 2009 09:09:04 -0400</pubDate>
      <title>Re: Random 'make' error when using RTW for xPC</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159437#673140</link>
      <author>kausalya</author>
      <description>Even I get this error and the model doesn't build at all.&lt;br&gt;
I could build the same model prior to have installed another real time target scale-rt. I guess the scale-rt installation would have modified certain rtw files in the root but how do I debug it to find out the exact problem?&lt;br&gt;
&lt;br&gt;
&quot;Thomas Marullo&quot; &amp;lt;tmm3@lehigh.edu&amp;gt; wrote in message &amp;lt;fhk7f6$182$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I am using Simulink and RTW to build and download a model to&lt;br&gt;
&amp;gt; the xPC.  I am using R2007a.  Occasionally, I will get this&lt;br&gt;
&amp;gt; error when I try to build the model:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;    Creating library globalcountersimulator.lib and object&lt;br&gt;
&amp;gt; globalcountersimulator.exp &lt;br&gt;
&amp;gt; globalcountersimulator.obj : error LNK2001: unresolved&lt;br&gt;
&amp;gt; external symbol _rt_InitInfAndNaN &lt;br&gt;
&amp;gt; xpctarget.obj : error LNK2001: unresolved external symbol&lt;br&gt;
&amp;gt; _rt_InitInfAndNaN &lt;br&gt;
&amp;gt; rt_logging.obj : error LNK2001: unresolved external symbol&lt;br&gt;
&amp;gt; _rtInf &lt;br&gt;
&amp;gt; globalcountersimulator.dll : fatal error LNK1120: 2&lt;br&gt;
&amp;gt; unresolved externals &lt;br&gt;
&amp;gt; NMAKE : fatal error U1077: 'link' : return code '0x460' &lt;br&gt;
&amp;gt; Stop. &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; C:\Documents and Settings\user\My &lt;br&gt;
&amp;gt; Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw&amp;gt;echo&lt;br&gt;
&amp;gt; The make command returned an &lt;br&gt;
&amp;gt; error of 2  &lt;br&gt;
&amp;gt; The make command returned an error of 2 &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; C:\Documents and Settings\uer\My &lt;br&gt;
&amp;gt; Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw&amp;gt;An_error_occurred_during_the_call_to&lt;br&gt;
&amp;gt; _make &lt;br&gt;
&amp;gt; 'An_error_occurred_during_the_call_to_make' is not&lt;br&gt;
&amp;gt; recognized as an internal or external command, &lt;br&gt;
&amp;gt; operable program or batch file. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; But if I hit 'build' again, without changing any files, it&lt;br&gt;
&amp;gt; will work.  I don't understand why this is happening.</description>
    </item>
  </channel>
</rss>

