Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* trying to build tcsh 6.04 for DEC OSF/1 V2.0
@ 1994-06-17 21:19 Paul Waterstraat
  1994-06-20 10:06 ` Pete Hendry
  1994-06-20 11:19 ` The Fantom Ferret
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Waterstraat @ 1994-06-17 21:19 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-07-18 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-17 21:19 trying to build tcsh 6.04 for DEC OSF/1 V2.0 Paul Waterstraat
1994-06-20 10:06 ` Pete Hendry
1994-06-20 11:19 ` The Fantom Ferret
1994-07-18 16:42   ` Douglas Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox