[omniORB] Cannot get omniorb 3.0.2 to compile on Solaris 2.6

Alwyn Schoeman AlwynS@prism.co.za
Fri, 13 Oct 2000 12:12:33 +0200


Hi,

Can anyone help me?  I've seen other people getting similar problems on
HP-UX
machines, but the solution won't help with my problem.

Using Solaris 2.6.
Sun Workshop C++ 5.0   thus CXX_RUNTIME=-lCrun....
Python 2.0beta2

It seems to be that std::cout symbol is a problem.... don't know solution
though...  libCrun doesn't have std::cout......

I get with PYTHONVERBOSE=1:

make[2]: Entering directory `/usr/local/stuff/omni/src/lib/omniORB2'
../../../bin/sun4_sosV_5.6/omniidl -bcxx -Wba -p../../../src/lib/omniORB2
- -ComniORB3 ../../../idl/Naming.idl
# /usr/local/lib/python2.0/site.pyc matches /usr/local/lib/python2.0/site.py
import site # precompiled from /usr/local/lib/python2.0/site.pyc
# /usr/local/lib/python2.0/os.pyc matches /usr/local/lib/python2.0/os.py
import os # precompiled from /usr/local/lib/python2.0/os.pyc
import posix # builtin
# /usr/local/lib/python2.0/posixpath.pyc matches
/usr/local/lib/python2.0/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.0/posixpath.pyc
# /usr/local/lib/python2.0/stat.pyc matches /usr/local/lib/python2.0/stat.py
import stat # precompiled from /usr/local/lib/python2.0/stat.pyc
# /usr/local/lib/python2.0/UserDict.pyc matches
/usr/local/lib/python2.0/UserDict.py
import UserDict # precompiled from /usr/local/lib/python2.0/UserDict.pyc
# /usr/local/lib/python2.0/string.pyc matches
/usr/local/lib/python2.0/string.pyimport string # precompiled from
/usr/local/lib/python2.0/string.pyc
import strop # builtin
Python 2.0b2 (#3, Sep 29 2000, 17:21:22) [C] on sunos5
Type "copyright", "credits" or "license" for more information.


omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory
/usr/local/stuff/omni/lib/sun4_sosV_5.6
omniidl: (or set the PYTHONPATH environment variable)
omniidl: (The error was `ld.so.1: python: fatal: relocation error: file
/usr/local/stuff/omni/lib/sun4_sosV_5.6/_omniidlmodule.so: symbol
__1cDstdEcout_: referenced symbol not found')


# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] exceptions
# cleanup[1] posix
# cleanup[1] site
# cleanup[1] string
# cleanup[1] signal
# cleanup[1] strop
# cleanup[2] os.path
# cleanup[2] os
# cleanup[2] UserDict
# cleanup[2] posixpath
# cleanup[2] stat
# cleanup sys
# cleanup __builtin__
# cleanup ints: 3 unfreed ints in 2 out of 4 blocks
# cleanup floats
make[2]: *** [omniORB3/Naming.hh] Error 1
make[2]: Leaving directory `/usr/local/stuff/omni/src/lib/omniORB2'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/usr/local/stuff/omni/src/lib'
make: *** [export] Error 2