Hi,
I'm trying to compile tcsh 6.05 on an Alpha and
I cannot get past the first routine. I get the following errors:
cc -j -O2 -I. -I.. -Olimit 2000 sh.cQuote:>> make
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 542: redeclaration of 'sigvec'; previous declaration at line 280 in file '/usr/include/sys/signal.h'
extern sigret_t sigvec();
----------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 542: Incompatible function return type for this function
extern sigret_t sigvec();
----------------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 543: redeclaration of 'sigpause'; previous declaration at line 455 in file '/usr/include/sys/signal.h'
extern void sigpause();
------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 543: Incompatible function return type for this function
extern void sigpause();
--------------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 608: redeclaration of 'setpwent'; previous declaration at line 96 in file '/usr/include/pwd.h'
extern void setpwent();
------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 608: Incompatible function return type for this function
extern void setpwent();
--------------------^
/usr/lib/cmplrs/cc/cfe: Error: sh.c, line 657: 'SIGMIGRATE' undefined, reoccurrences will not be reported
(void) signal(SIGMIGRATE, (void (*)())0);
------------------^
make: *** [sh.u] Error 1
Does anyone know what I may do doing incorrectly? Perhaps someone
could send me along a Makefile for the Alpha.
Thanks for all your help
Charles