[omniORB] omniORB3, HPUX 10.20, gcc2.95 , omniidl problem
mahadevan
mahadevan@iocl.co.in
Tue, 25 Jul 2000 15:40:45 +0530 (IST)
Hi Sai-Lai,
Thanks for your suggestion . I tried to compile python by g++,
but it is complaining about missing main symbol. May be this one is due to
a HP's C & C++ diffrenet entry points for main symbol.
Is there any way I can run omniORB 2.8/3.0 on my HPUX 10.20 with my system
config as given in previous mail. I am desperate to run it on HPUX, But I
cannot upgrade my HPUX CC to aCC. Please bail me out, if it is possible.
As you said before, the problem is in threads-library.
FYI, I am showing the stack trace for the dump of src/examples/echo/eg1 :
<==============
$gdb eg1 core
...
Core was generated by `eg1'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.
(gdb) ba
#0 0xc057446c in pthread_mutex_lock () from /usr/lib/libcma.1
#1 0x134860 in omni_mutex::lock (this=0x400081ec) at posix.cc:112
#2 0x36bd0 in omni_mutex_lock::omni_mutex_lock (this=0x7b03b898,
m=@0x400081ec) at ../../../../include/omnithread.h:235
=====>
mahadevan
On 24 Jul 2000, Sai-Lai Lo wrote:
> >>>>> mahadevan writes:
>
> > I am working on project in which I have connect Alpha OpenVMS 7.1, Linux6.1
> > and NT4.0 + HPUX 10.20 m/c. I compiled omniORB2_80 succesfully on
> > Alpha OpenVMS 7.1, Linux6.1 and NT4.0. But I am facing problems in getting it
> > compiled on HPUX.
>
> > HP CC & cc were giving various troubles and I tried to compile with gcc
> > So I tried to compile recent omniORB3 on HPUX
>
> The recommended compiler is aCC. My understanding is CC is a really old
> compiler that is unlikely to work.
>
> Please remember that to use omniORB you have to have a compiler that
> support exceptions in a thread-safe way. There is no report of using
> omniORB successfully with gcc on HPUX. The code may compile but sooner or
> later the program may core dump in various ways. So be warned if you still
> want to try using gcc.
>
> The error message indicates that dld.sl hasn't loaded the stdc++ library of
> gcc. May the the simpliest solution is to recompile python but with the
> main program compiled with g++. See README.hpux11 for instructions.
>
> For HPUX 11.00 users, there are precompiled python binaries, both the
> minimal package for omniidl and the full 1.5.2 available on our ftp server:
>