ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ddd-3.3.9-test2 build feedback HPUX once again...


From: Tuomo Tikkanen
Subject: Re: ddd-3.3.9-test2 build feedback HPUX once again...
Date: Mon, 24 May 2004 15:01:22 +0300
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7b) Gecko/20040323

ext Andrew Gaylard wrote:


This is odd.  I've been testing with HPUX-11.11, and have never needed
to add -lXmu, ever.  I did see that the "developer's kit" and a linker
patch are needed before builds will work on HPUX-11.11, so this may be
the reason that it worked for me and not for you.  See the problems
file for details.

"Developer's kit" is needed on HPUX to compile anything. Without it one has only limited set of *.h files (ones that are needed to compile kernel after setting certain kernel parameters). It is impossible to compile any usable user-land programs without that kit.

I guess that reason why I need -lXmu is actually the fact that I use --with-athena so that I'll get as much as possible similar looking and behaving version of DDD over all the platforms that are used in our computing environment (Solaris, HPUX, and Linux). I actually haven't tried to compile DDD on any of the platforms without athena kit, but I really believe that I need -lXmu because of that toolkit. Comments in Makefile were just misleading me to think that the reason for need of -lXmu may be due the fact that Motif 2.1 is used on HPUX 11.*.


The Motif problem is still annoying me.  The following is now clear:
- HPUX-11.11 + the linker patch + the developer's kit will have
  libXm.sl as a dynamic library in /usr/lib/libXm.sl,
  which is a link to /usr/lib/Motif2.1/libXm.sl.  DDD-3.3.9 works
  properly with this dynamic Motif library.  There are also older
  Motif libraries on this Unix, but we don't use them (and we
  shouldn't).

I am actually compiling DDD on HPUX 11.00 environment just because be do have 11.00 and 11.11 systems and programs (if compilers and other "lover level" stuff are not counted) compiled on 11.00 are compatible to be run 11.11 according HP's statement. Other way around there is no quareantee for compatibly.

Unfortunately in 11.00 dynamic library is used it behaves as bad as in HPUX10.20 i.e. DDD dumps a core before it even gets any windows open. I have to admit that I have not tried to use dynamic linking in 11.11 since I failed with it too when compiling official release of 3.3.8.

- HPUX-10.20 + the December 2001 patch bundle has libXm.a in
  /usr/lib/Motif1.2_R6.  DDD-3.3.<recent> work properly with this
  static Motif library.  There are also other Motif libraries on this
  Unix, but we don't use them (and we shouldn't).  In particular, the
  dynamic libXm.sl will link correctly, but DDD will crash as it starts.


--
<< Tuomo-Markus Tikkanen <> address@hidden >>
<< 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 >>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]