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

Neeraj Mahajan neeraj_mahajan at persistent.co.in
Tue Mar 21 13:04:55 GMT 2006


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/cceffbc4/attachment-0001.htm


More information about the omniORB-list mailing list