Tcsh build failed

From: Roger Jagoda <rogerj_at_lps.cornell.edu>
Date: Thu, 16 Feb 1995 16:06:09 -0500

Folks,
 
This is probably an FAQ but I didn't see it.
We're trying to build tcsh version 6.0.5.

We adjusted the Makefile and config.h (osf1 under config) in the
prescribed way. Here's the error log:



cc -E -I. -I.. -D_h_tc_const tc.const.c | grep 'Char STR' | sed -e 's/Char
\([a-zA-Z0-9_]*\)\[\].
*/extern Char \1[];/' | sort >> tc.const.h
cc -c -O2 -I. -I.. -Olimit 2000 sh.c
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 690: redeclaration of 'sbrk';
previous declaration at
 line 421 in file '/usr/include/unistd.h'
  extern char *sbrk ();
   -------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 690: Incompatible function
return type for this function
    extern char *sbrk ();
     ------------------^
     *** Exit 1
     Stop.




Does anyone have any ideas about how to build Tcsh?

Many MANY thanks in advance!

--Roger Jagoda
Cornell University
rogerj_at_lps.cornell.edu
Received on Thu Feb 16 1995 - 18:32:00 NZDT

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