home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / elm / 3332 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!olivea!isc-br!tau-ceti!visual!ssanbeg
  2. From: ssanbeg@visual.spk.wa.us (Scott Sanbeg)
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: "leavembox.c", line 766: SIG_BLOCK undefined
  5. Message-ID: <1992Nov16.043745.2617@visual.spk.wa.us>
  6. Date: 16 Nov 92 04:37:45 GMT
  7. References: <1djh74INN8mj@spool.mu.edu> <1992Nov10.152718.1027@sco.COM>
  8. Organization: The Visual Market - Spokane, WA
  9. Lines: 30
  10.  
  11. In article <1992Nov10.152718.1027@sco.COM> larryp@sco.COM (Larry Philps) writes:
  12. >
  13. >SIG_BLOCK is one of the possible arguments to the POSIX sigprocmask
  14. >system call.  Configure on your system must have detected sigprocmask
  15. >in libc, or else line 766 would have been ifdef'ed out of the code.
  16. >Given that sigprocmask exists, posix requires that the symbol SIG_BLOCK
  17. >be defined in <signal.h>.
  18.  
  19. Oh-oh. I've retrieved elm2.4.tar.Z from uunet; I'm working with the
  20. SCO UNIX Dev. Sys. v3.2.4, with the lng353a SLS installed. I've tried
  21. specifying -D_POSIX_SOURCE, -posix, -ansi, and also have tried doing
  22. as you've recommended below (define d_sighold, etc.), Larry. No go.
  23.  
  24. S_IFMT and companions show up as a compiler error: Stop... If I physically
  25. put the #defines into {elm}../hdrs/sysdefs.h, I can be rid of these parti-
  26. cular errors, but others surface anyway.
  27.  
  28. >
  29. >It is likely there somewhere, but you probably need an extra define on
  30. >the cc line to get signal.h to include the posix symbols.  If it is not
  31. >there, it is a bug in your development system.
  32.  
  33. Oh-oh. :)
  34.  
  35. Scott
  36.  
  37.  
  38. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39. Scott Sanbeg     UNIX Systems Administrator       (509)535-2561
  40. ssanbeg@visual.spk.wa.us (or) ...!uunet!tau-ceti!visual!ssanbeg
  41.