[omniORB] compiling omniORB3 on NT

Ji-Yong D. Chung virtualcyber@erols.com
Wed, 13 Oct 1999 13:43:12 -0400


    This time, I compiled up to, but not including:

    <top>/src/lib/omniORB2/dynamic/sharedlib


    The compiler says:


../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -GX -DNTArchitec
ture   -I./.. -I./../.. -I./../../.. -DUSE_omniORB_logStream -D_OMNIORB_DYNA
MIC_LIBRARY -I.  -I../../../../../include -D__WIN32__ -D__x86__ -D__NT__ -D_
_OSVERSION__=4 -Foany.o ../any.cc
any.cc
..\..\..\..\..\include\omniORB3/CORBA.h(796) : error C2201: 'OMGVMCID' :
must have external linkage in order to be exported/imported
..\..\..\..\..\include\omniORB3/poa.h(265) : error C2201: 'THREAD_POLICY_ID'
: must have external linkage in order to be exported/imported

and more error messages.


    Strangely, I did not get these errors when I compiled orbcore, even
though files in orbcore still refers to OMGVMCID, THREAD_POLICY_ID, and
other variables.

    This appears to be the last hurdle for compiling /src -- any quick/easy
tip on this?  Anyone?