From: waterstraat@geology.ucdavis.edu (Paul Waterstraat)
Subject: trying to build tcsh 6.04 for DEC OSF/1 V2.0
Date: Fri, 17 Jun 1994 21:19:51 GMT [thread overview]
Message-ID: <CrK8L3.5FA@ucdavis.edu> (raw)
Greetings,
I'm trying to build tcsh (v.6.04) under DEC OSF/1 V2.0 and am encountering some
difficulties. (My background is heavy in OpenVMS and FORTRAN and a little Sun
4.1.x. This is just the first of many things that I will be attemtping to port
from SunOS to Alpha/OSF. So I'm pretty low on the Unix/OSF and C learning
curves. So your patience is appreciated.) I have two goals here. one is to just
get a version of tcsh running on the ALpha. The second is to learn what I need
to know to effectively port applications from SunOS and others to Alpha/OSF.
I think I've followed the instructions correctly. I'm not sure what to do about
DEC C's "missing" const. Here's the problem so far:
% xmkmf
mv Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib/X11/config
% make
cc -O -I. -DDEC -DR5_XLIB -DSMT -DFUNCPROTO=3 -std1 -Olimit 2000 -c sh.c
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 626: redeclaration of 'bcopy'; pr
evious declaration at line 219 in file '/usr/include/string.h' (3.1.2.3)
extern void bcopy (const void *, void *, size_t) ;
------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 626: Incompatible type for the fu
nction parameter (3.5.4.3(15))
extern void bcopy (const void *, void *, size_t) ;
----------------- -^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 647: redeclaration of 'sbrk'; pre
vious declaration at line 505 in file '/usr/include/unistd.h' (3.1.2.3)
extern void *sbrk (ssize_t) ;
-------------^
/usr/lib/cmplrs/cc/cfe: Error: ./tc.os.h, line 647: Incompatible function return
type for this function (3.5.4.3(15))
extern void *sbrk (ssize_t) ;
------------------^
*** Exit 1
Stop.
--
Paul Waterstraat Internet: waterstraat@geology.ucdavis.edu
Department of Geology BITNET: <no longer available>
University of California Voice: (916) 752-7421
Davis, CA 95616-8605 USA FAX: (916) 752-0951
--
"Phenomenal Cosmic Power, little bitty living space" -- The Genie, Aladdin
next reply other threads:[~1994-06-17 21:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-17 21:19 Paul Waterstraat [this message]
1994-06-20 10:06 ` trying to build tcsh 6.04 for DEC OSF/1 V2.0 Pete Hendry
1994-06-20 11:19 ` The Fantom Ferret
1994-07-18 16:42 ` Douglas Jones
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox