[omniORB] Compiling OmniOrb 4.1.1 against VS 2008 Beta 2 - How?

jose.joye at bluewin.ch jose.joye at bluewin.ch
Wed Oct 17 10:24:05 BST 2007


I'm trying to compile the OmniOrb 4.1.1 with VS2008 Beta2.
I'm not too sure about the modification to perform in the Make 
files. However, this is what I tried to do:

- in .\configconfig.mk: added a line with
        platform = x86_win32_vs_9

- under \mk\patforms\  
        copy x86_win32_vc8.mk to x86_win32_vc9.mk

- From the Visual Studio 2008 Beta 2 Command Prompt:
       cd \src
       make export

Doing so, I receive (after a while) the following error:

../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MT -EHs -GS -
GR -nologo -D
_WINSTATIC -I.. -I./.. -I../../../../include/omniORB4/internal  -
DUSE_omniORB_lo
gStream -D_OMNIORB_LIBRARY -DOMNIORB_VERSION_STRING='"4.1.1"' -
DOMNIORB_VERSION_
HEX='0x040101F1' -DCONFIG_DEFAULT_LOCATION='"C:\\OMNIORB.CFG"' -
DCONFIG_ENV='"OM
NIORB_CONFIG"' -D"NTArchitecture" -I. -I. -I../../../../include -
D__WIN32__ -D_W
IN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -
D_CRT_SECURE_NO_DEPRECAT
E=1 -Fostatic/tcpTransportImpl.o ./tcp/tcpTransportImpl.cc
cl -c -O2 -MT -EHs -GS -GR -nologo -D_WINSTATIC -I.. -I.\.. -I..\..
\..\..\includ
e\omniORB4\internal -DUSE_omniORB_logStream -D_OMNIORB_LIBRARY -
DOMNIORB_VERSION
_STRING=\"4.1.1\" -DOMNIORB_VERSION_HEX=0x040101F1 -
DCONFIG_DEFAULT_LOCATION=\"C
:\\\\OMNIORB.CFG\" -DCONFIG_ENV=\"OMNIORB_CONFIG\" -DNTArchitecture 
-I. -I. -I..
\..\..\..\include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -
D__NT__ -D__OSVER
SION__=4 -D_CRT_SECURE_NO_DEPRECATE=1 -Fostatic\tcpTransportImpl.o -
Tp.\tcp\tcpT
ransportImpl.cc
tcpTransportImpl.cc
.\tcp\tcpTransportImpl.cc(626) : error C3861: 
'IN6_IS_ADDR_LINKLOCAL': identifie
r not found
make[3]: *** [static/tcpTransportImpl.o] Error 2
make[3]: Leaving directory 
`/cygdrive/c/omniORB411/src/lib/omniORB/orbcore'
make[2]: *** [export] Error 2
make[2]: Leaving directory 
`/cygdrive/c/omniORB411/src/lib/omniORB'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omniORB411/src/lib'
make: *** [export] Error 2

Can anyone give me a hint about the correct way to follow?

Thanks for feedback!

José



More information about the omniORB-list mailing list