[omniORB] Linking problems on OS X

Bart van Stal bvanstal at vangennep.nl
Tue Oct 28 14:48:20 GMT 2003


Hi,

I'm trying to build a project on OS X with CodeWarrior. I have used OmniOrb
3.0.4 so far and it always worked fine (Carbon build with GUSI 2.2)

Now I have downloaded and build the 4.0.2 version. Everything seems to work
fine even the examples build and run fine.

Now I try to build my own project (OS X only) but either with CodeWarrior or
Apple's Project Builder I keep getting linker errors:

Link Error   : undefined: '_omniFinalCleanup::~_omniFinalCleanup()' (non
lazy ptr IL)
Referenced from '__sinit_:TransactionModuleMain_cpp' in
TransactionModuleMain.cpp

Link Error   : undefined: 'omni_thread::init_t::~init_t()' (non lazy ptr IL)
Referenced from '__sinit_:TransactionModuleMain_cpp' in
TransactionModuleMain.cpp

Link Error   : undefined: 'CORBA::ORB_init(int&, char**, const char*,
char**(*)[2])' (code)
Referenced from 'main' in TransactionModuleMain.cpp


I have included the 6 libraries that were build using the build of OmniOrb:
- libCOS4.0.2.dylib
- libCOSDynamic4.0.2.dylib
- linomniCodeSets4.0.2.dylib
- libomniDynamic4.0.2.dylib
- libomniORB4.0.2.dylib
- Linomnithread.3.0.dylib


Can Anyone tell me or give me a hint  what I am doing wrong?

Thanks

Bart van Stal




More information about the omniORB-list mailing list