Hi,<br><br>I have installed the following packages from the Ubuntu Feisty Fawn Universe repositories:<br>libace5.4.7c2a<br>libace-dev<br>libtao1.4.7c2a<br>libtao-dev<br>libtao-orbsvcs1.4.7c2a<br>libtao-orbsvcs-dev<br><br>I have set $ACE_ROOT in my .zshrc to:
<br>/usr/share/ace<br>And $TAO_ROOT:<br>$ACE_ROOT/TAO<br>(Incidentally, is there a better place to put these environment variables than my .zshrc? Do they need to be present at all? I am used to working with ACE&#39;s manual Windows installation where you have to set all these things up to compile ACE/TAO so I&#39;m not sure if they&#39;re really needed at all with these packages. I am a bit of a Linux neophyte.)
<br><br>I have a client/server program that uses the CORBA naming service. This line is in that program:<br>#include &quot;orbsvcs/orbsvcs/CosNamingC.h&quot;$<br><br>Whenever I compile the program I get this nonsense:<br>
In file included from client.cpp:2:<br>/usr/share/ace/TAO/orbsvcs/orbsvcs/CosNamingC.h:43:42: error: orbsvcs/Naming/naming_export.h: No such file or directory<br>/usr/share/ace/TAO/orbsvcs/orbsvcs/CosNamingC.h:93: error: âTAO_Naming_Exportâ has not been declared
<br>/usr/share/ace/TAO/orbsvcs/orbsvcs/CosNamingC.h:93: error: expected initializer before âconstâ<br>/usr/share/ace/TAO/orbsvcs/orbsvcs/CosNamingC.h:116: error: invalid function declaration<br>/usr/share/ace/TAO/orbsvcs/orbsvcs/CosNamingC.h:128: error: âstruct CosNaming::TAO_Naming_Export::CORBAâ has not been declared
<br>... (a bunch of other error messages related to the first one)<br><br>Manually adding $ACE_ROOT/TAO/orbsvcs to my Makefile produces the following compiler errors:<br>/home/wilsona6/projects/CORBA_license/trunk/client.cpp:55: undefined reference to `CosNaming::NamingContext::_narrow(CORBA::Object*)&#39;
<br>/home/wilsona6/projects/CORBA_license/trunk/client.cpp:57: undefined reference to `CosNaming::Name::Name(unsigned int)&#39;<br>/home/wilsona6/projects/CORBA_license/trunk/client.cpp:78: undefined reference to `CosNaming::Name::~Name()&#39;
<br>/home/wilsona6/projects/CORBA_license/trunk/client.cpp:78: undefined reference to `CosNaming::Name::~Name()&#39;<br>client.o: In function `~TAO_Objref_Var_T&#39;:<br>/usr/share/ace/TAO/tao/Objref_VarOut_T.cpp:30: undefined reference to `TAO::Objref_Traits&lt;CosNaming::NamingContext&gt;::release(CosNaming::NamingContext*)&#39;
<br><br>At this point, I am stuck. Any help would be great!<br><br>Thanks!<br>Ari