Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Jukka Ukkonen
Mon, 11 Jan 1993 19:30
making screen-3.2beta on a Convex...
Author: 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;
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads