[omniORB] successful compile under cygwin?

Jason Dolan jason at pcc.com
Wed Feb 2 09:22:24 GMT 2005


Sorry for sending this twice...last time I had the wrong subject...

Hello, I'm attempting to compile omniORB with cygwin.  I'm attempting to 
use the same process you would use in linux.  I can run the configure 
script fine.  However when I "make" it, it will compile for about 10 or 
15 minutes then dies here:

make[3]: Entering directory 
`/cygdrive/c/omniORB-4.0.5/build/src/services/mklib'
+ rm -f shared/cygCOSDynamic4.dll.0.5
+ g++ -shared 
-Wl,-soname=cygCOSDynamic4.dll.0,--out-implib=libCOSDynamic4.dll.a,--export-dynamic,-- 

enable-auto-import -o shared/cygCOSDynamic4.dll.0.5 -L../../../lib 
-L../../../../lib shared/TimeBase
DynSK.o shared/CosTimeDynSK.o shared/CosEventCommDynSK.o 
shared/CosEventChannelAdminDynSK.o shared/C
osNotificationDynSK.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(.text+0x51d):CosTimeDynSK.cc: undefined reference 
to `CosTime::UTO::_narrow(CO
RBA::Object*)'
shared/CosTimeDynSK.o(.text+0x76f):CosTimeDynSK.cc: undefined reference 
to `CosTime::UTO::_nil()'
shared/CosTimeDynSK.o(.text+0x8b0):CosTimeDynSK.cc: undefined reference 
to `CosTime::UTO::_nil()'
shared/CosTimeDynSK.o(.text+0x9a9):CosTimeDynSK.cc: undefined reference 
to `CosTime::UTO::_nil()'
shared/CosTimeDynSK.o(.text+0xa63):CosTimeDynSK.cc: undefined reference 
to `CosTime::TIO::_narrow(CO
RBA::Object*)'
.....
.....
About 100 more lines of "undefined reference to `insert function here`
.....
.....
shared/CosLifeCycleDynSK.o(.text$_ZN61_0RL_insertToAny_Singleton__cCosLifeCycle_mCannotMeetCriteriaC 

1Ev[_0RL_insertToAny_Singleton__cCosLifeCycle_mCannotMeetCriteria::_0RL_insertToAny_Singleton__cCosL 

ifeCycle_mCannotMeetCriteria[in-charge]()]+0x5):CosLifeCycleDynSK.cc: 
undefined reference to `CosLif
eCycle::CannotMeetCriteria::insertToAnyFn'
shared/CosLifeCycleDynSK.o(.text$_ZN61_0RL_insertToAny_Singleton__cCosLifeCycle_mCannotMeetCriteriaC 

1Ev[_0RL_insertToAny_Singleton__cCosLifeCycle_mCannotMeetCriteria::_0RL_insertToAny_Singleton__cCosL 

ifeCycle_mCannotMeetCriteria[in-charge]()]+0xf):CosLifeCycleDynSK.cc: 
undefined reference to `CosLif
eCycle::CannotMeetCriteria::insertToAnyFnNCP'
collect2: ld returned 1 exit status
make[3]: *** [shared/cygCOSDynamic4.dll.0.5] Error 1
make[3]: Leaving directory 
`/cygdrive/c/omniORB-4.0.5/build/src/services/mklib'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omniORB-4.0.5/build/src/services'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB-4.0.5/build/src'
make: *** [all] Error 2

If I look in my bin directory after the failed compile I find that a lot 
of libraries and dll's have already been made:
_omniidlmodule.dll      cygomniCodeSets4.dll.0.5  cygomnithread.dll      
omniNames.exe
_omniidlmodule.dll.1    cygomniDynamic4.dll       cygomnithread.dll.3    
omnicpp.exe
_omniidlmodule.dll.1.0  cygomniDynamic4.dll.0     cygomnithread.dll.3.0  
omniidl
catior.exe              cygomniDynamic4.dll.0.5   genior.exe             
omniidlrun.py
convertior.exe          cygomniORB4.dll           nameclt.exe
cygomniCodeSets4.dll    cygomniORB4.dll.0         omkdepend.exe
cygomniCodeSets4.dll.0  cygomniORB4.dll.0.5       omniMapper.exe

Has anyone run into this problem when compiling omniORB with cygwin on 
windows?

Has anyone successfully compiled omniORB with cygwin before?

Thanks for you help,

-Jason




More information about the omniORB-list mailing list