%% K V Ramesh <[EMAIL PROTECTED]> writes:

  kvr> "job.c", line 832: error(1020): identifier "SIG_BLOCK" is undefined
  kvr>   (void) sigprocmask( SIG_BLOCK,&fatal_signal_set,sigset_t *);
  kvr>                       ^

  kvr> "job.c", line 832: error(1029): expected an expression
  kvr>   (void) sigprocmask( SIG_BLOCK,&fatal_signal_set,sigset_t *);
  kvr>                                                             ^

  kvr> "job.c", line 846: error(1020): identifier "SIG_SETMASK" is undefined
  kvr>   Sigprocmask ( SIG_SETMASK, &empty, sigset_t *);
  kvr>                 ^

  kvr> "job.c", line 846: error(1029): expected an expression
  kvr>   Sigprocmask ( SIG_SETMASK, &empty, sigset_t *);
  kvr>                                                ^

  kvr> "job.c", line 846: warning(1551): variable "sigset_t" is used before its
  kvr> value
  kvr>           is set
  kvr>   Sigprocmask ( SIG_SETMASK, &empty, sigset_t *);
  kvr>                                      ^

Hmm.  These macros (SIG_BLOCK and SIG_SETMASK) should be defined in
/usr/include/signal.h (or some header included by that header: on
Solaris it's in /usr/include/sys/signal.h) on your system.  It's almost
impossible for me to debug problems like this via email, unfortunately;
they require a significant amount of rooting around on the system.

If you can't see anything in /usr/include/signal.h or files it includes
that looks promising, you can try adding this to the top of job.c and
see if it works:

#ifndef SIG_BLOCK
#define SIG_BLOCK 1
#endif
#ifndef SIG_UNBLOCK
#define SIG_UNBLOCK 2
#endif
#ifndef SIG_SETMASK
#define SIG_SETMASK 3
#endif

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.ultranet.com/~pauld/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

Reply via email to