[omniORB] AIX / Visual Age 5 / omniOrb 3.0.2

Gary D. Duzan gdd0@gte.com
Mon, 30 Apr 2001 13:08:45 -0400


   Check your /usr/local/include/python2.0/config.h file and see
if it has "#define inline __inline" or something of the sort in
it. If so, you need to put an "#ifndef __cplusplus" / "#endif"
around it. I think that should take care of most of the issues for
omniidl, but there are some more changes to Python required to get
it working with omniORBpy under AIX+VACPP5. I'm working on a set
of patches now, and I'll probably check out the new Python 2.1
release to see how it does.

					Gary Duzan
					Verizon IT



In Message <20010430095743.A44025@frii.com> ,
   Mark Zimmerman <markzimm@frii.com> wrote:

=>Greetings:
=>
=>Does anyone have patches and/or experience with getting omniOrb 3.0.2
=>to compile on AIX with Visual Age 5?  My first attempt at compilation
=>failed with a flurry of stuff like this:
=>
=>xlC_r -c  -qstaticinline -qmaxmem=8192 -DIDLMODULE_VERSION="\"0x2301\"" -I/us
r/l
=>ocal/include -DPYTHON_INCLUDE="<python2.0/Python.h>" -I. -I/usr/local/include
 -D
=>NO_STRCASECMP -I.  -I../../../../include -D__aix__ -D__powerpc__ -D__OSVERSIO
N__
=>=4 -o idlpython.o idlpython.cc
=>"/usr/vacpp/include/string.h", line 22.14: 1540-0040 (S) The text "char" is u
nex
=>pected.  "__inline" may be undeclared or ambiguous.
=>"/usr/vacpp/include/string.h", line 23.14: 1540-0040 (S) The text "int" is un
exp
=>ected.  "__inline" may be undeclared or ambiguous.
=>"/usr/vacpp/include/string.h", line 25.16: 1540-0040 (S) The text "size_t" is
 un
=>expected.  "__inline" may be undeclared or ambiguous.
=>"/usr/vacpp/include/string.h", line 26.16: 1540-0040 (S) The text "char" is u
nex
=>pected.  "__inline" may be undeclared or ambiguous.
=>
=>-- Mark
=>
=>