Thank you <span id="_upro_abdullah.sowayan@lmco.com">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 id="_upro_abdullah.sowayan@lmco.com"><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">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">ciao-users@mail.cse.wustl.edu</a><br>
<a href="http://mail.cse.wustl.edu/mailman/listinfo/ciao-users">http://mail.cse.wustl.edu/mailman/listinfo/ciao-users</a><br> <br><br></blockquote></div><br>