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

Barthel, Marco (Marco) mbarthel at avaya.com
Wed Oct 17 16:03:32 BST 2007


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-----
> From: omniorb-list-bounces at omniorb-support.com 
> [mailto:omniorb-list-bounces at omniorb-support.com] On Behalf 
> Of jose.joye at bluewin.ch
> Sent: Wednesday, October 17, 2007 11:24 AM
> To: omniorb-list at omniorb-support.com
> 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 
> 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é
> 
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
> 



More information about the omniORB-list mailing list