[omniORB] Cygwin, g++, undefined references (omniORB 4.0.6)

Roloff, Craig A craig.a.roloff at boeing.com
Mon Oct 3 14:26:30 BST 2005


see
http://www.omniorb-support.com/pipermail/omniorb-list/2005-January/02628
5.html

> I just reinstalled a fresh copy of cygwin from the net, and got a hold
> of the 4.0.6 source version of omniORB. I'm trying to build omniORB
> with g++. I untarred the source and did:
> 
> mkdir build
> cd build
> ../configure
> make
> 
> After a while I get zillions and zillions of linker errors. Here is
> where things seem to go off the rails:
> 
> [...]
> + rm -f shared/cygCOSDynamic4.dll.0.6
> + g++ -shared
-Wl,-soname=cygCOSDynamic4.dll.0,--out-implib=libCOSDynamic4.dll.a,--exp
ort-dynamic,--enable-auto-import
> -o shared/cygCOSDynamic4.dll.0.6 -L../../../lib -L../../../../lib
> shared/TimeBaseDynSK.o shared/CosTimeDynSK.o
> shared/CosEventCommDynSK.o shared/CosEventChannelAdminDynSK.o
> shared/CosNotificationDynSK.o shared/CosNotifyCommDynSK.o
> shared/CosNotifyFilterDynSK.o shared/CosNotifyChan
> nelAdminDynSK.o shared/CosLifeCycleDynSK.o -lomniORB4 -lomniDynamic4
> -lomnithread -lpthread
> Creating library file: libCOSDynamic4.dll.a
> shared/CosTimeDynSK.o:CosTimeDynSK.cc:(.text+0x513): undefined
> reference to `CosTime::UTO::_narrow(CORBA::Object*)'
> shared/CosTimeDynSK.o:CosTimeDynSK.cc:(.text+0x779): undefined
> reference to `CosTime::UTO::_nil()'
> shared/CosTimeDynSK.o:CosTimeDynSK.cc:(.text+0x8bd): undefined
> reference to `CosTime::UTO::_nil()'
> shared/CosTimeDynSK.o:CosTimeDynSK.cc:(.text+0x9b6): undefined
> reference to `CosTime::UTO::_nil()'
> shared/CosTimeDynSK.o:CosTimeDynSK.cc:(.text+0xa6f): undefined
> reference to `CosTime::TIO::_narrow(CORBA::Object*)'
> 
> It goes on like that for many many pages.




More information about the omniORB-list mailing list