[omniORB] Compiling on OSF4 with any version of gnu compiler

Gary Greyling gary@egenetics.com
Mon Oct 28 14:15:02 2002


I'm having alot of trouble with this compile and some help will be most
appreciated.

procedure so far
setenv CC /usr/local/gcc3.2/bin/gcc
setenv CXX /usr/local/gcc3.2/bin/g++
setenv LD_LIBRARY_PATH /usr/local/gcc3.2/lib/:/usr/lib

./configure
--prefix=/cip0/production/stackpack/compile/DEPS_OSF4/omniORB/omniORB
PYTHON=/usr/local/bin/python2.2

gmake

and then the following happens

gmake[3]: Entering directory
`/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/src/lib/omniORB'
../../../bin/omniidl -bcxx -Wba -p../../../src/lib/omniORB -Wbdebug -v
-ComniORB4 ../../../idl/bootstrap.idl


omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory
/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/lib
omniidl: (or set the PYTHONPATH environment variable)

omniidl: (The error was 'Unresolved symbol in
/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/lib/_omniidlmodule.so:
__cxa_throw')


gmake[3]: *** [omniORB4/bootstrap.hh] Error 1
gmake[3]: Leaving directory
`/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/src/lib/omniORB'
gmake[2]: *** [export] Error 1
gmake[2]: Leaving directory
`/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/src/lib'
gmake[1]: *** [export] Error 1
gmake[1]: Leaving directory
`/cip0/production/stackpack/compile/DEPS_OSF4/src/omni/src'
gmake: *** [all] Error 1

I get this using both gcc v2.95.3 and 3.2

gary