[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash on HP-UX 11.00
From: |
Tuomo Tikkanen |
Subject: |
Re: Crash on HP-UX 11.00 |
Date: |
Thu, 18 Dec 2003 20:32:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.5) Gecko/20031016 |
ext Arnaud Desitter wrote:
Hi,
Please look at PROBLEMS where a woraround is prevoded.
Moreover, in configure.ac:
dnl Tweak: HPUX-10.20 requires that Motif be statically linked.
dnl Linking dynamically will appear to succeed, but DDD will core on
startup.
dnl (I haven't tried other HPUX versions, so I'd be glad for any feedback.)
if test "$host_vendor" = "hp" && test "$host_os" = "hpux10.20"; then
XM_LIBS="/usr/lib/Motif1.2_R6/libXm.a"
fi
Could you provide the value of "host_os" on your machine so that we
can improve the support on HP-UX 11 ?
Thanks!
After reading the above I was able to solve the crash problem on HPUX 11
I reported 19.11.2003 to this list. It seems to be necessary still on
HP-UX 11 to have the same static linkage "hack". I was using gcc 3.3.2
to compile the DDD 3.3.8 and what I did was:
1) gzcat ddd-3.3.8.tar.gz | tar xf -
2) cd ddd-3.3.8
3) I edited the configure script directly by changing the lines
referenced above to have hpux11.00 and a bit different path. Here is the
diff:
<hepux1100:/share/wrk/tikkanen/GNU/ddd-3.3.8> diff configure configure.orig
16800,16801c16800,16801
< if test "$host_vendor" = "hp" && test "$host_os" = "hpux11.00"; then
< XM_LIBS="/usr/lib/libXm.a"
---
> if test "$host_vendor" = "hp" && test "$host_os" = "hpux10.20"; then
> XM_LIBS="/usr/lib/Motif1.2_R6/libXm.a"
I would guess that for HPUX 11i (aka 11.11) you need to have "hpux11.11"
there.
4) mkdir hp11
5) cd hp11
6) ../configure --prefix=/share/hppa2.0-hp-hpux11.00/gnu/ddd/3.3.8
--with-athena-includes=/usr/contrib/X11R6/include
--with-athena-libraries=/usr/contrib/X11R6/lib
7) make CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-L/usr/local/gnu/gcc/3.3.2/lib
-j4 |& tee ERRORS
NOTE! LDFLAGS has to have the gcc lib path in it here. Otherwise the
compilation will fail at linkage phase to some basic_stream errors
(missing symbols).
8) make check
NOW this went OK!
9) make install
And now we have working HPUX 11 version of ddd 3.3.8 installed here too.
Thanks to everyone who have provided valuable help on this list to solve
the HPUX 11 problem.
--
<< Tuomo-Markus Tikkanen <> Tuomo.Tikkanen@nokia.com >>
<< Nokia Research Center <> Phone: +358 71 803 6480 >>
<< P.O. Box 407 <> Mobile: +358 50 483 6480 >>
<< FIN-00045 NOKIA GROUP <> FAX: +358 71 803 6210 >>