[omniORB] omni3.0.4 on HPUX - more probs

Brenneis, Steve steve.brenneis@attws.com
Tue, 4 Dec 2001 12:08:21 -0500


There appear to be some fairly serious incompatibilities between Python and
HP-UX. For example, I cannot even get Python-2.1.1 (the latest version) to
build on HP-UX 11.00 out of the box without modifying the generated Makefile
substantially. Once I accomplish that, I can get _omniidlmodule.sl to build
successfully with some modifications to the backend makefile, but omniidl
then crashes with
 
../../../bin/hppa_hpux_11.00/omniidl -bcxx -Wba -p../../../src/lib/omniORB2
-ComniORB3 ../../../idl/Naming.idl
WARNING: Python C API version mismatch for module _omniidl:
  This Python has API version 1007, module _omniidl has version 1010.
/usr/lib/dld.sl: Unresolved symbol: __get_eh_context (code)  from
/gto3/sbrennei/omni/lib/hppa_hpux_11.00/_omniidlmodule.sl
../../../bin/hppa_hpux_11.00/omniidl[30]: 28448 Abort(coredump)

The makefile for the backend seems to have an alternate method for linking
omniidl on HP-UX. However, it needs a library called libpython<version>
which does not exist and is not built by the Python make system.
 
Unfotunately, I can't spend any more time on this right at the moment. I
hope to come back to it later if no one else figures it out.

Steve Brenneis 
WebAXE Middleware Lead Developer 
AT&T Wireless Services 

 -----Original Message-----
From: Kevin Williams [mailto:KWilliams@visionael.com]
Sent: Monday, December 03, 2001 5:49 PM
To: 'omniorb-list@uk.research.att.com'
Subject: RE: [omniORB] omni3.0.4 on HPUX - more probs 



making export in src/lib/omniORB2/dynamic... 
make[3]: Entering directory
`/disk1/kevin/omniOrb-3.0.4/src/lib/omniORB2/dynamic' 
g++ -c  -fhandle-exceptions -Wall -Wno-unused -D_CMA_NOWRAPPERS_
-D_REENTRANT -I. -I./.. -I./../.. -DUSE_omniORB_logStream
-D_OMNIORB_DYNAMIC_LIBRARY -DUnixArchitecture
-DCONFIG_DEFAULT_LOCATION=/etc/omniORB.cfg -I.  -I../../../../include
-D__hppa__ -D__hpux__ -D__OSVERSION__=10 -ldir irstub.cc -o irstub.o

cc1plus: warning: -fhandle-exceptions has been renamed to -fexceptions (and
is now on by default) 
as: error 7108: The value 0x65498 did not fit into a signed 19 bit field at
offset 0x2234 (op code - BL) (7108) 
make[3]: *** [irstub.o] Error 1 

-- 
I'm getting precisely the same error using GNU as that I did with HPUX's as.
I've never debugged an assembler error like this before - can someone give
me an idea of where to start?

Environment details: 
  gcc version 2.95.2 
  as version 2.11.2 (GNU) 
  make version 3.78.1 (GNU) 
  HPUX 10.20 

Let me know if there's any other information I can provide to help.  And I
appreciate any help anyone can offer! 

-- Kevin Williams 
   Visionael Corporation 
   kwilliams@visionael.com