[omniORB] AIX Compliation

Matthew Bettencourt matt@ssc.usm.edu
Tue Feb 11 03:23:02 2003


I am trying to compile omniORB on a AIX ssytem and I am curious how far
anyonw has gotten on this task.  I get to the first involkation of omniidl
and I get a segfault.  It does on the import _omniidl so I am guessing 
the problem is how I created _omniidlmodule.so.1.0.  This was done as follows

+ /usr/vacpp/bin/makeC++SharedLib -p 0 -G -o _omniidlmodule.so.1.0 -L../../../../lib -L../../../../lib y.tab.o lex.yy.o idlerr.o idlutil.o idltype.o idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o idlconfig.o idlfixed.o idlpython.o

and the .cc files are compiled as follows

xlC_r -c -O2 -qnotempinc -qrtti=all -brtl  -DIDLMODULE_VERSION="\"0x2420\"" -I/u/home/mattchl/include -DPYTHON_INCLUDE="<python2.2/Python.h>"  -I. -I. -I../../../../include -I../../../../include -D__OSVERSION__=4 -D__aix__ -D__powerpc__ -o
file.o file.cc

When it dies it dies as follows.
gmake[3]: Entering directory `/scr/mattchl/omniORB-4.0.0/src/lib/omniORB'
../../../bin/omniidl -bcxx -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/bootstrap.idl
gmake[3]: *** [omniORB4/bootstrap.hh] Illegal instruction (core dumped)

Now, I am not a python guy at all so I am looking for help where to get
started.  Any ideas would be great.  I don't even know where to start looking

Thanks
Mat