home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10222 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.9 KB

  1. Xref: sparky comp.sys.hp:10222 gnu.emacs.help:4059
  2. Newsgroups: comp.sys.hp,gnu.emacs.help
  3. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
  4. From: jhd@irfu.se (Jan D.)
  5. Subject: Re: unexec anomally when compiling GNU
  6. Message-ID: <1992Sep10.003744.25761@irfu.se>
  7. Date: Thu, 10 Sep 1992 00:37:44 GMT
  8. References: <2799@nlsun1.oracle.nl>
  9. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  10. Keywords: emacs a.out unexec
  11. Lines: 45
  12.  
  13. In article <2799@nlsun1.oracle.nl> rlyle@nl.oracle.com (The Wizard of Ozje - Garf) writes:
  14. >
  15. >OK, it's another GNU Emacs installation thing.  This might be quite interesting:
  16. >
  17. >I have a HP9000/827.  
  18. >I do not have gcc.
  19. >I have v18.57 release code fresh from the oven.
  20. >I do not have any path releases.
  21. >
  22. >It doesn't work using s-hpux.h and m-hp9000s800. It coughs in two places:
  23. >
  24. >    1)  With an include of the file #include <errnet.h> within src/fileio.c
  25. >    2)  In src/unexhp9k800.c it gives me:
  26. >cc: "unexhp9k800.c", line 88: error 1539: Cannot do arithmetic with pointers to objects of unknown size.
  27. >
  28. >Now, I can make it compile via judicious (unsigned int) casting, but the executable core dumps with the slightest hint of you asking it to run.  I've been
  29. >through most of the a.out.h and related files in an effort to understand exactly
  30. >what the unexec call tries to do.  Hmmm.
  31. >
  32. >HP linker is new to me, and I don't like what I've seen so far.
  33. >
  34. >Any ideas, anyone?  Have YOU seen THIS bug BEFORE?  (Ask your dog, all opinions valued)
  35. >
  36.  
  37. Yes, I've seen this before. I think all this is fixed in emacs 18.58.
  38.  
  39. But if you don't wan't that you can get by with
  40.  
  41.     1) Just remive the include <errnet.h> or surround it with
  42.     #ifndef __hpux
  43.     #include <errnet.h>
  44.     #endif
  45.  
  46.     2) the return value of sbrk has changed to void*. You need to cast
  47.        it to a (char *).
  48.  
  49.  
  50. I did this mod's once upon a time, but I think there was additional problems
  51. after that. My suggestion is that you get 18.58.
  52.  
  53. Cheers,
  54.  
  55.     Jan D.
  56.  
  57.     Jan D.
  58.