From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,82263d691e500fb5,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-17 14:39:21 PST Newsgroups: comp.unix.osf.osf1 Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!news.ucdavis.edu!geology.ucdavis.edu!WATERSTRAAT From: waterstraat@geology.ucdavis.edu (Paul Waterstraat) Subject: trying to build tcsh 6.04 for DEC OSF/1 V2.0 Message-ID: Sender: usenet@ucdavis.edu (News Guru) Reply-To: waterstraat@geology.ucdavis.edu Organization: Geology Department, U.C. Davis Date: Fri, 17 Jun 1994 21:19:51 GMT 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: 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