From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621435.tru64-unix-managers.marc@archive.invalid> From: Michael Rush Date: Tue, 18 Jun 1996 07:57:45 +0000 To: tru64-unix-managers Subject: posix_signal error compiling elm 2.4 pl25 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621435 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@jcu.edu.au || =========================================================================