Discussion:
[omniORB] Compiling OmniOrb 4.1.1 against VS 2008 Beta 2 - How?
jose.joye at bluewin.ch ()
2007-10-17 15:24:21 UTC
Permalink
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?
Barthel, Marco (Marco)
2007-10-17 19:04:43 UTC
Permalink
Hi,
in "x86_win32_vc9.mk" set

WINVER = 0x0501

for WinXP. This seems to be a problem with omniORB - it may not check the availability of IP6 in windows api. I assume that Microsoft has tightened their API-stuff on newer SDKs (as far as i know IP6 is available from WinXP on)



Marco Barthel | Comergo GmbH | Heilbronner Str. 314 | 70469 Stuttgart

Sitz der Gesellschaft: Stuttgart
Registergericht: Amtsgericht Stuttgart - HRB 22107
Gesch?ftsf?hrer: Andreas von Meyer zu Knonow, Udo B?hler, Thomas Kreikemeier
-----Original Message-----
Sent: Wednesday, October 17, 2007 11:24 AM
Subject: [omniORB] Compiling OmniOrb 4.1.1 against VS 2008
Beta 2 - How?
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
- 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
cd \src
make export
../../../../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
'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?
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
José Joye
2007-10-17 23:27:50 UTC
Permalink
Many Thanks!

Jos?

----- Original Message -----
From: "Barthel, Marco (Marco)" <***@avaya.com>
To: <omniorb-***@omniorb-support.com>
Sent: Wednesday, October 17, 2007 3:03 PM
Subject: RE: [omniORB] Compiling OmniOrb 4.1.1 against VS 2008 Beta 2 - How?


Hi,
in "x86_win32_vc9.mk" set

WINVER = 0x0501

for WinXP. This seems to be a problem with omniORB - it may not check the
availability of IP6 in windows api. I assume that Microsoft has tightened
their API-stuff on newer SDKs (as far as i know IP6 is available from WinXP
on)



Marco Barthel | Comergo GmbH | Heilbronner Str. 314 | 70469 Stuttgart

Sitz der Gesellschaft: Stuttgart
Registergericht: Amtsgericht Stuttgart - HRB 22107
Gesch?ftsf?hrer: Andreas von Meyer zu Knonow, Udo B?hler, Thomas Kreikemeier
-----Original Message-----
Sent: Wednesday, October 17, 2007 11:24 AM
Subject: [omniORB] Compiling OmniOrb 4.1.1 against VS 2008
Beta 2 - How?
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
- 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
cd \src
make export
../../../../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
'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?
_______________________________________________
omniORB-list mailing list
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
Loading...