posix_signal error compiling elm 2.4 pl25

From: Michael Rush <Michael.Rush_at_jcu.edu.au>
Date: Tue, 18 Jun 1996 17:57:45 +1000 (EST)

We're running DEC Unix V3.2 148 and trying to compile elm 2.4 pl25.
After running the Configure script I try to make all. Compiling
get_tz.c I get the error:

cc -O -I../hdrs -c get_tz.c
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 74: redeclaration
 of 'posix_signal'; previous declaration at line 672 in file '../hdrs/defs.h'
 extern void (*posix_signal ()) ();
 --------------^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/signal.h, line 74: Incompatible
function return type for this function
 extern void (*posix_signal ()) ();
 ---------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.

I can get around this problem by undefining POSIX_SIGNALS in
config.h (or undefining d_sigaction in config.sh), but I'm not sure if,
by doing this, it's going to muck things up further down the track.

Has anyone had this problem? Have I configured things wrongly? Is there a
better way of getting around the problem?

Cheers,
Michael
-------------------------------------------------------------------------
                           || || *
 _--_|\,-- From Townsville || Michael Rush || * *
/ \ in sunny || James Cook University || '
\_.--._/ North Queensland || Computer Centre || *
      v AUSTRALIA. ||Internet : michael.rush_at_jcu.edu.au ||
=========================================================================
Received on Tue Jun 18 1996 - 10:37:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT