home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / elm / 3888 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!dsinc!not-for-mail
  2. From: syd@dsi.com (Syd Weinstein)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: Elm 2.4PL17 won't compile on HP-UX 8.0
  5. Date: 29 Dec 1992 12:12:25 -0500
  6. Organization: Datacomp Systems, Inc., Huntingdon Valley, PA
  7. Lines: 49
  8. Message-ID: <1hq0tpINN5g6@dsinc.dsi.com>
  9. References: <1992Dec29.154955.18189@raet-sh.UUCP>
  10. Reply-To: syd@DSI.COM
  11. NNTP-Posting-Host: dsinc.dsi.com
  12.  
  13. richard@raet-sh.UUCP (Richard van Denzel) writes:
  14. >My HP9000/832 running HP-UX fails to compile Elm 2.4PL17, below is the last
  15. >part of the make:
  16.  
  17. >/bin/ld: Unsatisfied symbols:
  18. >   qstrcspn (code)
  19. >   len_next_part (code)
  20. >   qstrpbrk (code)
  21. >   mail_gets (code)
  22. >   qstrspn (code)
  23. >*** Error code 1
  24.  
  25. >Stop.
  26. >*** Error code 1
  27.  
  28. >Stop.
  29.  
  30. >Strangely enough the same make works fine on my HP9000/360 also running 
  31. >HP-UX 8.0.
  32.  
  33. >Does anyone have a clue to what I am doing wrong?
  34.  
  35. you know, if you get enought of these, you start looking into why....
  36. so, here is why....
  37.  
  38. If you share the Elm directory between different architectures, certain
  39. of the .o files did not depend on the output of Configure, so rerunning
  40. Configure did not force compilation of those files.
  41.  
  42. This would be of no harm if the Elm source was not shared, as those 
  43. files really do not depend on the results of configure.  However, when
  44. its shared, then these .o's are for the wrong architecture.
  45.  
  46. Thus, you did the 360 first, then did a configure and did a compile.
  47. Now, those files are still the 360 version, and the linker quietly
  48. ignores them in the library, when linking the 832 version.  Thus
  49. the undefines.
  50.  
  51. OK, to solve this, I have made a change in the upcoming PL20 version
  52. to make those few remaining files depend on config.h, thus they will
  53. also re-compile (perhaps needlessly, but....)
  54.  
  55. For now, to make it work, just go into the lib directory and remove
  56. all the .o files and re-make.
  57. -- 
  58. ========================================================================
  59. Sydney S. Weinstein, CDP, CCP          Elm Coordinator - Current 2.4PL17
  60. Datacomp Systems, Inc.                 Projected 3.0 Release: ??? ?,1994
  61. syd@DSI.COM or dsinc!syd      Voice: (215) 947-9900, FAX: (215) 938-0235
  62.