&nbsp;&nbsp;&nbsp; CIAO VERSION: 0.5.9<br>&nbsp;&nbsp;&nbsp; TAO VERSION : 1.5.9<br>&nbsp;&nbsp;&nbsp; ACE VERSION : 5.5.9<br><br>&nbsp;&nbsp;&nbsp; HOST MACHINE and OPERATING SYSTEM:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If on Windows based OS&#39;s, which version of WINSOCK do you<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use?: Pentium IV, Debian linux kernel 2.6<br>
<br>&nbsp;&nbsp;&nbsp; TARGET MACHINE and OPERATING SYSTEM, if different from HOST:<br>&nbsp;&nbsp;&nbsp; COMPILER NAME AND VERSION (AND PATCHLEVEL):<br><br>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-<br>&nbsp;&nbsp;&nbsp; specific file, simply state which one]:#include &quot;ace/config-<br>
linux.h&quot;<br><br>&nbsp;&nbsp;&nbsp; THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you<br>&nbsp;&nbsp;&nbsp; use a link to a platform-specific file, simply state which one<br>&nbsp;&nbsp;&nbsp; (unless this isn&#39;t used in this case, e.g., with Microsoft Visual<br>
&nbsp;&nbsp;&nbsp; C++)]:<br>&nbsp;&nbsp;&nbsp; no_hidden_visibility=1<br>&nbsp;&nbsp;&nbsp; include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU<br><br>&nbsp;&nbsp;&nbsp; CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/<br>default.features<br>&nbsp;&nbsp;&nbsp; (used by MPC when you generate your own makefiles): There is no<br>
such file.<br><br>&nbsp;&nbsp;&nbsp; AREA/CLASS/EXAMPLE AFFECTED:<br>[What example failed?&nbsp; What module failed to compile?]<br><br>&nbsp;&nbsp;&nbsp; DOES THE PROBLEM AFFECT:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMPILATION? Yes.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If so, what do your $ACE_ROOT/ace/config.h and<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LINKING?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Unix systems, did you run make realclean first?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXECUTION? No.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OTHER (please specify)? <br>
[Please indicate whether ACE/TAO/CIAO, your application, or both are<br>affected.]<br><br>Deployment descriptor for external component connection<br><br>&nbsp;&nbsp;&nbsp; SYNOPSIS: Problem trying to include &quot;Deployment_ExecutionManagerC.h&quot; and DeploymentC.h" in an component executor header file<br>
[Brief description of the problem]<br><br>Deployment descriptor for external component connection<br><br>&nbsp;&nbsp;&nbsp; DESCRIPTION:<br>[Detailed description of problem.&nbsp; Don&#39;t just say &quot;&lt;blah&gt;<br>doesn&#39;t work, here&#39;s a fix,&quot; explain what your program does<br>
to get to the &lt;blah&gt; state. ]<br><br>Hi,<br><br>I need to inspect a Deployment Plan in my component executor so I'm trying to include the &quot;Deployment_ExecutionManagerC.h&quot; and &quot;DeploymentC.h" in the executor's header file in order to obtain the Executor Manager from an IOR file and to get the deployment plan and print its information like that:<br>
<br>In the Manager_exec.h:<br>---------------------------------<br>#include &quot;Deployment_ExecutionManagerC.h&quot;<br>#include &quot;DeploymentC.h&quot;<br><br>In the Manager_exec.cpp:<br>---------------------------------<br>
CORBA::Object_var obj = this-&gt;component_.orb()-&gt;string_to_object (iorem);<br>execution_manager = ::Deployment::ExecutionManager::_narrow (<a href="http://obj.in">obj.in</a> ());<br>::Deployment::DeploymentPlan_var deployment_plan = execution_manager-&gt;getPlan(plan_name);<br>
::Deployment::InstanceDeploymentDescriptions instance = deployment_plan-&gt;instance;<br><br>In the MPC file I added the CIAO_Deployment_stub library in the libs section and the CIAO_ROOT}/DAnCE/Deployment/ path to the includes section, but I'm receiving an error regarding Deployment_BaseC.h. Below I pasted the first error lines (there are a lot more).<br>
<br>MPC File:<br>------------<br>project(Manager_Dnc_exec) : ciao_component_dnc {<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CIAO_Deployment_stub<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/<br><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>Compilation Errors:<br>-------------------------<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:88: error: invalid function declaration<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:101: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:101: error: expected initializer before &#39;const&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:123: error: invalid function declaration<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:154: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:154: error: expected initializer before &#39;const&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:176: error: invalid function declaration<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:190: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:190: error: expected initializer before &#39;const&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:212: error: invalid function declaration<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:243: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:243: error: expected initializer before &#39;const&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:263: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:263: error: expected initializer before &#39;const&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:285: error: invalid function declaration<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:300: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:300: error: expected initializer before &#39;const&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:322: error: invalid function declaration<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:353: error: &#39;struct Deployment::Deployment_stub_Export::CORBA&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:353: error: expected initializer before &#39;const&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:379: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:380: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:381: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:381: error: expected constructor, destructor, or type conversion before &#39;operator&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:382: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:382: error: expected constructor, destructor, or type conversion before &#39;operator&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:393: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:394: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:395: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:395: error: expected constructor, destructor, or type conversion before &#39;operator&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:396: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:396: error: expected constructor, destructor, or type conversion before &#39;operator&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:407: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:408: error: expected constructor, destructor, or type conversion before &#39;void&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:409: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:409: error: expected constructor, destructor, or type conversion before &#39;operator&#39;<br>/usr/local/ACE_wrappers/TAO/CIAO/DAnCE/Deployment/Deployment_BaseC.h:410: error: &#39;Deployment_stub_Export&#39; has not been declared<br>
<br>I will appreciate If you can help me to figure out what I'm doing wrong.<br><br>Thank you.<br><br>Santos<br><br>&nbsp;&nbsp;&nbsp; REPEAT BY:<br>[What you did to get the error; include test program or session<br>transcript if at all possible.&nbsp; ]<br>
<br><br>&nbsp;&nbsp;&nbsp; SAMPLE FIX/WORKAROUND: <br>[If available ] <br><br>