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 <<a href="mailto:wotte@dre.vanderbilt.edu">wotte@dre.vanderbilt.edu</a>>:</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 - <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 <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> avoids += ace_for_tao<br> after += Manager_Dnc_svnt<br>
sharedname = Manager_exec<br> libs += Manager_stub Manager_svnt<br><br> idlflags += -Wb,export_macro=MANAGER_EXEC_Export \<br> -Wb,export_include=Manager_exec_export.h \<br> <br> dynamicflags = MANAGER_EXEC_BUILD_DLL<br>
includes += ${CIAO_ROOT}/DAnCE/Deployment/ ***This line was needed because the compiler couldn't find the </span>"Deployment_ExecutionManagerC.h" file without it<br> <span><br> IDL_Files { <br> }<br> Source_Files { <br>
Manager_exec.cpp<br> }<br> Header_Files { <br> }<br> Inline_Files { <br> }<br>}<br><br>I also executed "make clean" and "make realclean" and generated the make file again with $ACE_ROOT/bin/mwc.pl -type gnuace.<br>
<br></span>As this solution didn't worked I also changed the order of the includes in my executor file but the same error occurs. I also removed the "#include DeploymentC.h" from the header file because, as said by Will, there is already a "#include DeploymentC.h" in the "Deployment_ExecutionManagerC.h". 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 <<a href="mailto:wotte@dre.vanderbilt.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">wotte@dre.vanderbilt.edu</a>>:</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> > In the Manager_exec.h:<br> > ---------------------------------<br> > #include "Deployment_ExecutionManagerC.h"<br>
> #include "DeploymentC.h"<br> ><br> <br>> Compilation Errors:<br> > -------------------------<br> > /usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:<br> > 88: error: invalid function declaration<br>
> /usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:<br> > 101: error: 'struct Deployment::Deployment_stub_Export::CORBA' has<br> > not been declared<br> <br> <br>All of my workspaces are new dance, so I can't answer your question<br>
precisely.... but that looks like something wonky is going on with the<br> export decorators. 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>