[omniORB] Compile with gcc on HP-UX 11i v2 (IA64)

lst_hoe01 at kwsoft.de lst_hoe01 at kwsoft.de
Fri Jul 14 17:28:07 BST 2006


Zitat von Duncan Grisby <duncan at grisby.org>:

> On Thursday 13 July, lst_hoe01 at kwsoft.de wrote:
>
>> i have been tasked to manage the omniORB installation on our
>> development machines. On a new HP-UX machine with 11i v2 (11.23) IA64
>> i get a fatal error from "ld" when trying to compile omniORB 4.0.7 :
>
> It looks like you are trying to use the HP ld with gcc. The makefiles
> assume that you're using GNU ld if you're using gcc. If you used the
> configure script, you need to edit the HPUX section in
> mk/beforeauto.mk.in; if you used the old platform configuration
> mechanism, you need to edit the platform file you chose.
>

Thanxs for your hint

i changed the mk/beforeauto.mk.in to not include the "-soname" but now 
i got trouble with Python/IDL. I have used the minimal Python binary 
from the project website and set the PYTHON env to this binary. It is 
recognized but something does not work as expected :

gmake[3]: Leaving directory 
`/var/install/omniORB-4.0.7/build/src/lib/omnithread'
making export in src/lib/omniORB...
gmake[3]: Entering directory 
`/var/install/omniORB-4.0.7/build/src/lib/omniORB'
../../../bin/omniidl -bcxx -Wba -p../../../../src/lib/omniORB -Wbdebug 
-v -ComniORB4 ../../../../idl/Naming.idl

omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory 
/var/install/omniORB-4.0.7/build/lib
omniidl: (or set the PYTHONPATH environment variable)

omniidl: (The error was 'Failed to load 
/var/install/omniORB-4.0.7/build/lib/_omniidlmodule.sl')

Strange the file is there :

#ll lib
total 2688
lrwxr-xr-x   1 root       sys             19 Jul 14 16:19 
_omniidlmodule.sl -> _omniidlmodule.sl.1
lrwxr-xr-x   1 root       sys             21 Jul 14 16:19 
_omniidlmodule.sl.1 -> _omniidlmodule.sl.1.0
-rwxr-xr-x   1 root       sys         966532 Jul 14 16:15 
_omniidlmodule.sl.1.0
-rwxr-xr-x   1 root       sys          36076 Jul 14 16:19 libomnithread.a
lrwxr-xr-x   1 root       sys             18 Jul 14 16:19 
libomnithread.sl -> libomnithread.sl.3
lrwxr-xr-x   1 root       sys             20 Jul 14 16:19 
libomnithread.sl.3 -> libomnithread.sl.3.2
-rwxr-xr-x   1 root       sys          79192 Jul 14 16:15 libomnithread.sl.3.2
-rwxr-xr-x   1 root       sys         279460 Jul 14 16:15 omnicpp
drwxrwxr-x   4 root       sys             96 Jul 14 16:15 python

Is this Python just too old or do miss something?

../bin/hppa_hpux_11.00/omnipython
Python 1.5.2 (#24, Jul 10 2000, 12:43:26)  [GCC 2.95.2 19991024 
(release)] on hp-uxB
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>>

Thanxs for any help

Regards

Andreas





More information about the omniORB-list mailing list