[omniORB] Help me in building omniOBR4.1 omniORBpy3.0 on Windows

Neeraj Mahajan neeraj_mahajan at persistent.co.in
Tue Mar 21 16:23:32 GMT 2006


Some more update.

I was able to build both omniORB and omniORBpy using MS VC++ 8.

Any idea why it is not building using VC++ 6.

  _____  

From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Neeraj
Mahajan
Sent: Tuesday, March 21, 2006 1:54 PM
To: omniorb-list at omniorb-support.com
Subject: RE: [omniORB] Help me in building omniOBR4.1 omniORBpy3.0 on
Windows

 

Another update from my side:

 

Omniidl crashes on any idl that I run it on. The following error is shown by
the windows crash resported:

 

AppName: omniidl.exe             AppVer: 0.0.0.0      ModName: ntdll.dll

ModVer: 5.1.2600.2180           Offset: 00018fea

 

Find attached the error report

 

  _____  

From: omniorb-list-bounces at omniorb-support.com
[mailto:omniorb-list-bounces at omniorb-support.com] On Behalf Of Neeraj
Mahajan
Sent: Tuesday, March 21, 2006 1:05 PM
To: omniorb-list at omniorb-support.com
Subject: [omniORB] Help me in building omniOBR4.1 omniORBpy3.0 on Windows

 

I am facing some problem while building omniOBR4.1 omniORBpy3.0 on Windows.

I am using these latest ones because omniORBpy2 doesn't support the value
types and the Java RMI-IIOP compiler, rmic is generating value types. I am
trying to implement the server in Java and the client in Python.

 

When I try to build omniOBR4.1, I get the following error:

anonObject.cc

..\..\..\..\include\omniORB4/poa.h(694) : error C2437: 'ValueBase' : already
initialized

make[3]: *** [static/anonObject.o] Error 2

make[3]: Leaving directory `/cygdrive/c/omni/src/lib/omniORB/orbcore'

make[2]: *** [export] Error 1

make[2]: Leaving directory `/cygdrive/c/omni/src/lib/omniORB'

make[1]: *** [export] Error 1

make[1]: Leaving directory `/cygdrive/c/omni/src/lib'

make: *** [export] Error 1

 

To avoid the error I just commented out ValueBase

    ValueRefCountBase() : /* CORBA::ValueBase(),*/ omniServant(),
ServantBase() {}

 

The build completed after this change. Now I copied omniORBpy3.0 to
C:\omni\src\lib and did a "make export". After few seconds omniidl crashed.
The error shown is as follows: 

 

PYTHONPATH=C:\omniORB-4.1.0-beta1\lib\python;C:\omniORB-4.1.0-beta1\lib\x86_
win32;

c:\omni\bin\x86_win32\omniidl -v -p..\..\..\..\..\omniidl_be
-I..\..\..\..\..\idl -IC:\cygwin\idl\omniORB -IC:\cygwin\share\i

dl\omniORB -IC:\cygwin\idl\omniORB -bpython -Wbinline -Wbno_package
..\..\..\..\..\idl\ir.idl

omniidl: Importing back-end 'python'

omniidl: 'python' imported from 'c:\omni\lib\python\omniidl_be\python.pyc'

omniidl: Preprocessing '..\..\..\..\..\idl\ir.idl' with
'c:\omni\bin\x86_win32\omnicpp -lang-c++ -undef -D__OMNIIDL__=0x2630

-I "..\..\..\..\..\idl" -I "C:\cygwin\idl\omniORB" -I
"C:\cygwin\share\idl\omniORB" -I "C:\cygwin\idl\omniORB" -D__OMNIIDL_PY

THON__ "..\..\..\..\..\idl\ir.idl"'

omniidl: Running front end

make[2]: *** [ir_idl.py] Error 5

make[2]: Leaving directory
`/cygdrive/c/omni/src/lib/omniORBpy/python/omniORB'

make[1]: *** [export] Error 1

make[1]: Leaving directory `/cygdrive/c/omni/src/lib/omniORBpy/python'

make: *** [export] Error 1

 

 

I am using the following make version:

C:\omni\src>make --version

GNU Make 3.80

Copyright (C) 2002  Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

 

I am using VC++ 6 for building.

 

Can someone help me in resolving the problem.

 

Thanks,

Neeraj

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060321/ff1a4ed1/attachment.htm


More information about the omniORB-list mailing list