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

Brian Neal bgneal at gmail.com
Mon Oct 3 14:50:26 BST 2005


I guess I am making a big assumption that omniORB even works under
Cygwin and g++.........? Maybe I should have asked that first? =:-O

On 10/3/05, Brian Neal <bgneal at gmail.com> wrote:
> Hi,
>
> 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,--export-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.
>
> Thanks for any suggestions.
>



More information about the omniORB-list mailing list