Hi Will,<br><br>After changing the MPC file and executor implementation do I need to generate the export header file of the component executor again?<br><br>Thank you.<br><br>Santos<br><br><div><span class="gmail_quote">2008/3/6, William R. Otte &lt;<a href="mailto:wotte@dre.vanderbilt.edu">wotte@dre.vanderbilt.edu</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hi Santos -&nbsp;<div><br></div><div>The only other thing I can think of is that there is something wonky going on with the export macros - check the defines that are being passed to the compiler on the command line carefully, and perhaps regenerate code from the deployment IDL...</div>
<div><br></div><div>hth,</div><div>/-Wi</div><div><span class="e" id="q_11886293886e5f8e_1"><div><br></div><div><br><div><div>On Mar 6, 2008, at 4:05 PM, santos . wrote:</div><br><blockquote type="cite">Thank you&nbsp; <span>Abdullah and Will for your advice but the errors remain.<br>
<br>I changeg the MPC file so its content became:<br><br>MPC File:<br>------------<br>project(Manager_Dnc_exec) : ciao_component_dnc, ciao_deployment_stub {<br> &nbsp; avoids += ace_for_tao<br>&nbsp; after&nbsp;&nbsp; += Manager_Dnc_svnt<br>
&nbsp; sharedname = Manager_exec<br>&nbsp; libs += Manager_stub Manager_svnt<br><br>&nbsp; idlflags += -Wb,export_macro=MANAGER_EXEC_Export \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Wb,export_include=Manager_exec_export.h \<br> <br>&nbsp; dynamicflags&nbsp;&nbsp; = MANAGER_EXEC_BUILD_DLL<br>
&nbsp; includes +=&nbsp;&nbsp; ${CIAO_ROOT}/DAnCE/Deployment/ ***This line was needed because the compiler couldn&#39;t find the </span>&quot;Deployment_ExecutionManagerC.h&quot; file without it<br> <span><br>&nbsp; IDL_Files {&nbsp; <br>&nbsp; }<br>&nbsp; Source_Files { <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Manager_exec.cpp<br>&nbsp; }<br>&nbsp; Header_Files { <br>&nbsp; }<br>&nbsp; Inline_Files { <br>&nbsp; }<br>}<br><br>I also executed &quot;make clean&quot; and &quot;make realclean&quot; and generated the make file again with $ACE_ROOT/bin/mwc.pl -type gnuace.<br>
 <br></span>As this solution didn&#39;t worked I also changed the order of the includes in my executor file but the same error occurs. I also removed the &quot;#include DeploymentC.h&quot; from the header file because, as said by Will, there is already a&nbsp; &quot;#include DeploymentC.h&quot; in the &quot;Deployment_ExecutionManagerC.h&quot;. The same error occurred after these steps. Do you have more ideas?<br>
 <br>Thank you very much.<br><br>Santos<br><br><br><div><span class="gmail_quote">2008/3/6, William R. Otte &lt;<a href="mailto:wotte@dre.vanderbilt.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">wotte@dre.vanderbilt.edu</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 Hi -<br> <br> Thanks for using the PRF!<br> <br><br> On Mar 6, 2008, at 3:05 PM, santos . wrote:<br> &gt; In the Manager_exec.h:<br> &gt; ---------------------------------<br> &gt; #include &quot;Deployment_ExecutionManagerC.h&quot;<br>
 &gt; #include &quot;DeploymentC.h&quot;<br> &gt;<br> <br>&gt; Compilation Errors:<br> &gt; -------------------------<br> &gt; /usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:<br> &gt; 88: error: invalid function declaration<br>
 &gt; /usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:<br> &gt; 101: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has<br> &gt; not been declared<br> <br> <br>All of my workspaces are new dance, so I can&#39;t answer your question<br>
 precisely.... but that looks like something wonky is going on with the<br> export decorators.&nbsp;&nbsp;Might have something to do with including<br> deploymentC.h after Deployment_ExecutionManager, which should include<br> deploymentC.h anyway.<br>
 <br> Try zapping the deploymentC.h include, or at least reverse the order<br> of your includes.<br> <br> hth,<br> /-Will<br> <br> <br>_______________________________________________<br> ciao-users mailing list<br> <a href="mailto:ciao-users@mail.cse.wustl.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ciao-users@mail.cse.wustl.edu</a><br>
 <a href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.cse.wustl.edu/mailman/listinfo/ciao-users</a><br> <br><br></blockquote></div>
<br> _______________________________________________<br>ciao-users mailing list<br><a href="mailto:ciao-users@mail.cse.wustl.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ciao-users@mail.cse.wustl.edu</a><br>
<a href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.cse.wustl.edu/mailman/listinfo/ciao-users</a><br></blockquote></div><br></div>
</span></div></div><br>_______________________________________________<br>
ciao-users mailing list<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ciao-users@mail.cse.wustl.edu">ciao-users@mail.cse.wustl.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users" target="_blank">http://mail.cse.wustl.edu/mailman/listinfo/ciao-users</a><br>
<br><br clear="all"></blockquote></div><br>