[Pkg-ace-devel] libtao static libs

Konstantinos Margaritis markos@debian.gr
Tue, 3 Aug 2004 18:35:16 +0300


On =CE=94=CE=B5=CF=85 02 =CE=91=CF=85=CE=B3 2004 16:24, Cyrille Gautard wro=
te:
> Hello,

Hi,

> First, excuse me for my very bad english ... :-(

your english is fine, I'm not a native english speaker anyway :-)

> I'm currently working on a project using libtao-dev. I use
> tao-config to set the different flags with g++. The compile process
> works fine but it fails when it tries to link with the librairie.
>
> /usr/include/tao/Object_T.cpp:99: undefined reference to
> `CORBA::Environment::Environment[in-charge]()'
> idl/communicationC.o(.text+0x1a6): In function
> `Com::Connection::connect(char const*, char const*)':
> idl/communicationC.cc:167: undefined reference to
> `TAO::Invocation_Adapter::invoke(TAO::Exception_Data*, unsigned
> long)'

it seems to me you don't link with libTAO.so (the main lib). Or if=20
not, something strange happens and you try to use some non-existent=20
methods... Perhaps you might try the tao-users mailing list (check=20
the main site of ACE/TAO (http://www.cs.wustl.edu/~schmidt/TAO.html)=20
for details.

> I saw you don't include the static libs. Do I need these files to
> use your distribution of libtao ? Where I can get it ? Does a .deb
> package available ?

The static libs were unfortunately left out because of their huge=20
size. Building the ORB services statically would amount to a package=20
of about 400MBs at least! As such I decided that they should be left=20
out. It's not really difficult to build your own packages of static=20
libs if you really need them, I would suggest looking at debian/rules=20
as a pointer.

Regards

Konstantinos