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

lst_hoe01 at kwsoft.de lst_hoe01 at kwsoft.de
Tue Jul 18 16:32:52 BST 2006


Zitat von Matej Kenda <matejken at gmail.com>:

> Hi Andreas,
>
>
>> 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
>>
>>
>
> Is this Python just too old or do miss something?
>
>
>
> I assume that you have created 64-bit _omniidlmodule.so in the compile
> process. If that is true, then the failure indicates that 32-bit Python was
> not able to load 64-bit module: you will have to get or compile 64-bit
> Python as well.
>


The next one ...
I have fetched the source from Python.org and compiled it succesfully.

# /var/install/Python-2.4.3/python
Python 2.4.3 (#1, Jul 18 2006, 14:24:08)
[GCC 4.1.1] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>>

With this i tried a new build and get the following :

../../../../../src/tool/omniidl/cxx/idlpython.cc:1569: error: expected 
initializer before '*' token
../../../../../src/tool/omniidl/cxx/idlpython.cc:1579: error: 
'PyMethodDef' does not name a type
../../../../../src/tool/omniidl/cxx/idlpython.cc: In function 'void 
init_omniidl()':
../../../../../src/tool/omniidl/cxx/idlpython.cc:1596: error: 
'PyObject' was not declared in this scope
../../../../../src/tool/omniidl/cxx/idlpython.cc:1596: error: 'm' was 
not declared in this scope
../../../../../src/tool/omniidl/cxx/idlpython.cc:1596: error: 
'omniidl_methods' was not declared in this scope
../../../../../src/tool/omniidl/cxx/idlpython.cc:1596: error: 
'Py_InitModule' was not declared in this scope
../../../../../src/tool/omniidl/cxx/idlpython.cc:1598: error: 
'PyString_FromString' was not declared in this scope
../../../../../src/tool/omniidl/cxx/idlpython.cc:1598: error: 
'PyObject_SetAttrString' was not declared in this scope
gmake[4]: *** [idlpython.o] Error 1
gmake[4]: Leaving directory 
`/var/install/omniORB-4.0.7/build/src/tool/omniidl/cxx'
gmake[3]: *** [export] Error 1
gmake[3]: Leaving directory 
`/var/install/omniORB-4.0.7/build/src/tool/omniidl'
gmake[2]: *** [export] Error 1
gmake[2]: Leaving directory `/var/install/omniORB-4.0.7/build/src/tool'
gmake[1]: *** [export] Error 1
gmake[1]: Leaving directory `/var/install/omniORB-4.0.7/build/src'
gmake: *** [all] Error 1

Ayn hints if it is possible to build omniORB 4.0.7 at all on HP-UX with 
gcc/g++??

Thanxs & Regards

Andreas






More information about the omniORB-list mailing list