Article View: gnu.utils.bug
Article #1294making screen-3.2beta on a Convex...
From: Jukka Ukkonen
Date: Mon, 11 Jan 1993 19:30
Date: Mon, 11 Jan 1993 19:30
71 lines
2731 bytes
2731 bytes
Hello! I tried to compile the screen version 3.2beta on a Convex C3840 and bumped to some difficulties. The first being the fact that gcc needs -fno-builtin flag not to complain about mismatched definition for builtin `alloca' in the .h file /usr/include/stdlib.h. The second trouble was that on our ConvexOS distribution tape there were no crypt-function in libc.a. To compensate the lack of crypt() I have made a separate libcrypt.a in /usr/local/lib where gcc finds it alright but configure does not look for one there. BTW here is the command line which I used (had to use) to make screen. make CFLAGS=-fno-builtin LIBS=-lcrypt As a third point to report there is a patch at the end of this message that is needed to stop gcc from complaining about & and >> operation on a union and strdup having a different definition than the prototype. On a Convex the wait structure is in POSIX style a plain int. Otherwise the new screen seems quite OK to me. Thanks. // jau ------ / Jukka A. Ukkonen (M.Sc.), Centre for Scientific Computing (CSC) /__ Internet: ukkonen@csc.fi Tel: (Home) +358-0-578628 / Internet: jau@cs.tut.fi (Work) +358-0-4573208 v X.400: c=fi, admd=fumail, no prmd, org=csc, pn=jukka.ukkonen ------------------------------ clip clip ------------------------------ *** screen-3.2b.old/screen.h Sat Jun 13 01:03:35 1992 --- screen-3.2b/screen.h Mon Jan 11 16:45:13 1993 *************** *** 562,566 **** #endif #if (!defined(SYSV) || defined(sun) || defined(RENO) || defined(xelos)) && !defined(_AIX) ! # define BSDWAIT #endif --- 562,568 ---- #endif #if (!defined(SYSV) || defined(sun) || defined(RENO) || defined(xelos)) && !defined(_AIX) ! # if !defined(__convex__) ! # define BSDWAIT ! # endif #endif *** screen-3.2b.old/socket.c Wed Oct 28 06:48:58 1992 --- screen-3.2b/socket.c Mon Jan 11 16:47:19 1993 *************** *** 106,112 **** char *SockNamePtr, *SockName; char *strdup(str) ! #ifdef hpux char *str; #else const char *str; --- 106,112 ---- char *SockNamePtr, *SockName; char *strdup(str) ! #if defined(hpux) || defined(__convex__) char *str; #else const char *str;
Technical Details
Message-ID:
<199301111530.AA19857@csc.fi>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csc.fi!ukkonenShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csc.fi!ukkonen From: ukkonen@csc.fi (Jukka Ukkonen) Subject: making screen-3.2beta on a Convex... Message-ID: <199301111530.AA19857@csc.fi> Sender: gnulists@ai.mit.edu Organization: Centre for Scientific Computing (CSC) Distribution: gnu Date: Mon, 11 Jan 1993 19:30:13 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 72