[omniORB] omniORBpy build (link) problem on Solaris
Chris Knight
cknight@ptolemy.arc.nasa.gov
Fri, 28 Apr 2000 09:42:27 -0700
All,
I have a Solaris 2.6 box with gcc 2.95.2 (threaded) and Python 1.5.2 (also
threaded) installed on it. I grabbed the "latest" snapshot tarballs of
omniORB3 and omniORBpy from the FTP server this morning and tried a build.
omniORB3 built without a problem and I've configured the Python path into
the config.mk. When I try to build omniORBpy it gives me a whole ton of
linker errors. Below is a typescript:
+ g++ -g -fhandle-exceptions -Wall -Wno-unused -fPIC -R
../../../../lib/sun4_sos
V_5.6 -shared -o
_omnipymodule.so.0.4 -Wl-soname,_omnipymodule.so.0 -L../../../.
./lib/sun4_sosV_5.6 ../../../../lib/sun4_sosV_5.6/libomniORB3.a
../../../../lib/
sun4_sosV_5.6/libomnithread.a ../../../../lib/sun4_sosV_5.6/libtcpwrapGK.a
omni3
0/omnipy.o omni30/pyORBFunc.o omni30/pyPOAFunc.o omni30/pyPOAManagerFunc.o
omni3
0/pyObjectRef.o omni30/pyCallDescriptor.o omni30/pyServant.o
common/pyExceptions
.o common/pyMarshal.o
common/pyTypeCode.o -lomniORB3 -lomnithread -lpthread -lpo
six4 -lsocket -lnsl -ltcpwrapGK
Text relocation remains referenced
against symbol offset in file
open 0x94
../../../../lib/sun4_sosV_5.6/libtcpwrapGK.a(shell_cmd.o)
___errno 0x7c
../../../../lib/sun4_sosV_5.6/libtcpwrapGK.a(percent_m.o)
___errno 0x1d0
../../../../lib/sun4_sosV_5.6/libtcpwrapGK.a(hosts_access.o)
___errno 0x48
../../../../lib/sun4_sosV_5.6/libtcpwrapGK.a(percent_m.o)
[this list of linker errors goes on for a LONG time.]
My LD_LIBRARY_PATH is set to /usr/local/omni/lib/sun4_sosV_5.6 and
libtcpwrapGK is there...I was able to build and run the echo examples
without a problem.
Any ideas?
More details can be provided upon request, of course. :)