home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / utils / bug / 2368 < prev    next >
Encoding:
Text File  |  1993-01-11  |  2.6 KB  |  85 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csc.fi!ukkonen
  3. From: ukkonen@csc.fi (Jukka Ukkonen)
  4. Subject: making screen-3.2beta on a Convex...
  5. Message-ID: <199301111530.AA19857@csc.fi>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Centre for Scientific Computing (CSC)
  8. Distribution: gnu
  9. Date: Mon, 11 Jan 1993 19:30:13 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 72
  12.  
  13.     Hello!
  14.  
  15.     I tried to compile the screen version 3.2beta on a Convex
  16.     C3840 and bumped to some difficulties. The first being the
  17.     fact that gcc needs -fno-builtin flag not to complain about
  18.     mismatched definition for builtin `alloca' in the .h file
  19.     /usr/include/stdlib.h.
  20.     The second trouble was that on our ConvexOS distribution
  21.     tape there were no crypt-function in libc.a. To compensate
  22.     the lack of crypt() I have made a separate libcrypt.a in
  23.     /usr/local/lib where gcc finds it alright but configure
  24.     does not look for one there.
  25.  
  26.     BTW here is the command line which I used (had to use) to
  27.     make screen.
  28.  
  29.         make CFLAGS=-fno-builtin LIBS=-lcrypt
  30.  
  31.     As a third point to report there is a patch at the end of
  32.     this message that is needed to stop gcc from complaining
  33.     about & and >> operation on a union and strdup having a
  34.     different definition than the prototype. On a Convex the
  35.     wait structure is in POSIX style a plain int.
  36.  
  37.     Otherwise the new screen seems quite OK to me. Thanks.
  38.  
  39.         // jau
  40. ------
  41.   /    Jukka A. Ukkonen (M.Sc.), Centre for Scientific Computing (CSC)
  42.  /__   Internet: ukkonen@csc.fi            Tel:  (Home) +358-0-578628
  43.    /   Internet: jau@cs.tut.fi                   (Work) +358-0-4573208
  44.   v    X.400:    c=fi, admd=fumail, no prmd, org=csc, pn=jukka.ukkonen
  45.  
  46. ------------------------------ clip clip ------------------------------
  47.  
  48. *** screen-3.2b.old/screen.h    Sat Jun 13 01:03:35 1992
  49. --- screen-3.2b/screen.h    Mon Jan 11 16:45:13 1993
  50. ***************
  51. *** 562,566 ****
  52.   #endif
  53.   
  54.   #if (!defined(SYSV) || defined(sun) || defined(RENO) || defined(xelos)) && !defined(_AIX)
  55. ! # define BSDWAIT
  56.   #endif
  57. --- 562,568 ----
  58.   #endif
  59.   
  60.   #if (!defined(SYSV) || defined(sun) || defined(RENO) || defined(xelos)) && !defined(_AIX)
  61. ! # if !defined(__convex__)
  62. ! #  define BSDWAIT
  63. ! # endif
  64.   #endif
  65. *** screen-3.2b.old/socket.c    Wed Oct 28 06:48:58 1992
  66. --- screen-3.2b/socket.c    Mon Jan 11 16:47:19 1993
  67. ***************
  68. *** 106,112 ****
  69.   char *SockNamePtr, *SockName;
  70.   
  71.   char *strdup(str)
  72. ! #ifdef hpux
  73.   char *str;
  74.   #else
  75.   const char *str;
  76. --- 106,112 ----
  77.   char *SockNamePtr, *SockName;
  78.   
  79.   char *strdup(str)
  80. ! #if defined(hpux) || defined(__convex__)
  81.   char *str;
  82.   #else
  83.   const char *str;
  84.  
  85.