RE: [orbitcpp-list] Compilation error; can't find file.
Status: Beta
Brought to you by:
philipd
From: Alix P. <al...@no...> - 2002-12-17 16:24:22
|
I have gotten further, by being able to compile both the OrbitC and OrbitCPP files produce by the IDL compiler, I have the following Link error which relate to CORBA while I already am linking with -lORBit, etc: /usr/bin/orbit-idl --backenddir=/usr/bin -l c++ Og.idl c++ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -c OgServer.cc c++ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -c Og-cpp-skels.cc c++ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -c Og-cpp-common.cc gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -c Og-skels.c gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -c Og-common.c c++ -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -o OgServer OgServer.o Og-cpp-common.o Og-cpp-skels.o Og-common.o Og-skels.o -lIIOP -lORBit -lORBitutil -L/usr/lib -lORBit -lIIOP -lORBitutil -lglib -lm OgServer.o: In function `main': OgServer.o(.text+0xa86): undefined reference to `CORBA::ORB_init(int &, char **, char const *)' OgServer.o(.text+0xabc): undefined reference to `CORBA::ORB::resolve_initial_references(char const *)' OgServer.o(.text+0xaed): undefined reference to `PortableServer::POA::_narrow(CORBA::Object *)' OgServer.o(.text+0xb1e): undefined reference to `PortableServer::POA::the_POAManager(void)' OgServer.o(.text+0xb4c): undefined reference to `PortableServer::POAManager::activate(void)' OgServer.o(.text+0xbb5): undefined reference to `CORBA::ORB::object_to_string(CORBA::Object *)' OgServer.o(.text+0xcaa): undefined reference to `CORBA::ORB::object_to_string(CORBA::Object *)' OgServer.o(.text+0xd75): undefined reference to `CORBA::ORB::run(void)' OgServer.o(.rodata+0x950): undefined reference to `PortableServer::ServantBase type_info node' OgServer.o(.rodata+0x980): undefined reference to `PortableServer::ServantBase type_info node' OgServer.o(.gnu.linkonce.d.__vt_22asynchronousTests_impl.Q214PortableServer1 1ServantBase+0xc): undefined reference to `PortableServer::ServantBase::_default_POA(void)' * Alix Pouladdej Nortel Networks Advanced Technology (ATI) www http://navigate.us.nortel.com/ati * Tel: (613) 765-6043 Esn: (6+) 395-6043 * E-mail: mailto:al...@no... * Fax: (613) 765-0678 -----Original Message----- From: Sam Couter [mailto:sa...@co...] Sent: Tuesday, December 17, 2002 1:41 AM To: Pouladdej, Alix [CAR:0V11:EXCH] Cc: orb...@li... Subject: Re: [orbitcpp-list] Compilation error; can't find file. Alix Pouladdej <al...@no...> wrote: > Is there a suitable example tar file that I could download and consult > for this issue? There used to be an orbitcpp-example tarball available. I'll see if I can find a copy and make it available through SourceForge, if it's not there already. -- Sam "Eddie" Couter | mailto:sa...@co... Debian Developer | mailto:ed...@de... | jabber:sa...@te... OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |