home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / elm / 3263 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.6 KB  |  46 lines

  1. Path: sparky!uunet!utcsri!utgpu!attcan!ncrcan!scocan!larryp
  2. From: larryp@sco.COM (Larry Philps)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: "leavembox.c", line 766: SIG_BLOCK undefined
  5. Message-ID: <1992Nov10.152718.1027@sco.COM>
  6. Date: 10 Nov 92 15:27:18 GMT
  7. References: <1djh74INN8mj@spool.mu.edu>
  8. Sender: news@sco.COM (News administration)
  9. Organization: SCO Canada, Inc.
  10. Lines: 34
  11.  
  12. In <1djh74INN8mj@spool.mu.edu> tomb@studsys.mscs.mu.edu (Tom Baas) writes:
  13.  
  14. > Hi, all,
  15. > I am trying to compile elm2.4 on an ISC SVr3.2 and I get the following:
  16. > "leavembox.c", line 766: SIG_BLOCK undefined
  17. > Can anyone tell me what I have to do the fix this problem?
  18.  
  19. SIG_BLOCK is one of the possible arguments to the POSIX sigprocmask
  20. system call.  Configure on your system must have detected sigprocmask
  21. in libc, or else line 766 would have been ifdef'ed out of the code.
  22. Given that sigprocmask exists, posix requires that the symbol SIG_BLOCK
  23. be defined in <signal.h>.
  24.  
  25. It is likely there somewhere, but you probably need an extra define on
  26. the cc line to get signal.h to include the posix symbols.  If it is not
  27. there, it is a bug in your development system.
  28.  
  29. In that case, edit config.sh,  change the field d_sigprocmask to
  30. "undef", and the d_sighold field to "define".  Then reextract all
  31. the .SH files, and recompile.  Note that this step will have to be
  32. performed after every run of Configure.
  33.  
  34. Good Luck
  35.  
  36. ---
  37. #include <std/disclaimer>
  38.  
  39. Larry Philps,     SCO Canada, Inc.
  40. Postman:  130 Bloor St. West, 10th floor, Toronto, Ontario.  M5S 1N5
  41. InterNet: larryp@sco.COM
  42. UUCP:      {uunet,utcsri,sco}!scocan!larryp
  43. Phone:      (416) 922-1937
  44.