[omniORB] Installation problems on SCO OpenServer
Gary Hertel
garyh at involved.com
Fri Feb 20 14:37:52 GMT 2004
I'm trying to compile omniorb 4.0.3 on SCO OpenServer 5 since it's one of
the three platforms I will need to support. I installed the
gcc-2.95.2pl1-VOLS.tar, FSUpthreads-3.5-VOLS.tar, python-1.5.2-VOLS.tar, and
make-3.78.1-VOLS.tar and set the config.mk to the sco platform to get the
compile scripts working. However, I'm encountering a few errors that I'm
not quite sure how to deal with. I haven't used sco (or linux really) much
as most of my experience comes from windows development so I'm having a bit
of difficulty fixing these problems.
So after bypassing a few minor problems (defining HAVE_LONG_LONG in a python
header, removing/renaming an extra duplicate pthread header "signal.h" in
the gcc include directory, etc) I get this error:
gcc -shared -Wl,-soname,_omniidlmodule.so.1 -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
command line: warning: -o specifies multiple output file names
_omniidlmodule.so.1: fatal error: cannot open file for reading
collect2: ld returned 1 exit status
gmake[4]: *** [_omniidlmodule.so.1.0] Error 1
gmake[4]: Leaving directory `/tmp/omniORB-4.0.3/build/src/tool/omniidl/cxx'
gmake[3]: *** [export] Error 1
I can bypass it by removing the "-Wl,-soname,_omniidlmodule.so.1" part and
changing the line to this:
gcc -shared -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
I also encounter the same problem with
+ gcc -shared -Wl,-soname,libomnithread.so.3 -o
shared/libomnithread.so.3.0 -L../../../lib -L../../../../lib shared/posix.o
command line: warning: -o specifies multiple output file names
libomnithread.so.3: fatal error: cannot open file for reading
collect2: ld returned 1 exit status
gmake[3]: *** [shared/libomnithread.so.3.0] Error 1
gmake[3]: Leaving directory `/tmp/omniORB-4.0.3/build/src/lib/omnithread'
I bypassed this in the same way as before. However, after that I run into
this error that I have no idea how to fix and may possibly relate to the way
I bypassed the two earlier problems.
../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB -Wbdebug -v -C
omniORB4 ../../../../idl/Naming.idl
dynamic linker: /bin/python: symbol not found: dlopen
gmake[3]: *** [omniORB4/Naming.hh] Killed
gmake[3]: Leaving directory `/tmp/omniORB-4.0.3/build/src/lib/omniORB'
gmake[2]: *** [export] Error 1
I found something similar related to HPUX 11.00 with google but it doesn't
seem to apply to my situation as I'm already using gcc/g++ and not aCC.
http://cvs.sourceforge.net/viewcvs.py/omniorb/omni/Attic/README.KNOWN_ISSUES?rev=1.3
Any ideas on how to get past this?
Thanks,
Gary Hertel
More information about the omniORB-list
mailing list