Path: utzoo!attcan!uunet!ncrlnk!ncrcae!hubcap!gatech!ncar!tank!uxc!uxc.cso.uiuc.edu!kailand!pwolfe From: pwolfe@kailand.KAI.COM Newsgroups: comp.sources.bugs Subject: Gnu Make 3.27 on Alliant hosts Message-ID: <2800012@kailand> Date: 18 Jan 89 16:48:00 GMT Lines: 50 Nf-ID: #N:kailand:2800012:000:1537 Nf-From: kailand.KAI.COM!pwolfe Jan 18 10:48:00 1989 Gnu Make 3.27 compiles and runs on Alliant FX/8 hosts with the following modifications: ******************** In the file "read.c": globally change the variable "vector" to "read_vector". This eliminates a conflict with a reserved word. ******************** In the system include file "/usr/include/fcntl.h", add the following lines. These fixes the fcntl.h file to be just like the one distributed with BSD 4.3. These three go near the top, just after the line: #define O_APPEND FAPPEND /* append (writes guaranteed at the end) */ and before the line: #ifndef F_DUPFD #define O_CREAT FCREAT /* open with file create */ #define O_TRUNC FTRUNC /* open with truncation */ #define O_EXCL FEXCL /* error on create if file exists */ These three go near the end, just after the line: #define FASYNC 00100 /* signal pgrp when data ready */ and before the line: #endif #define FCREAT 001000 /* create if nonexistant */ #define FTRUNC 002000 /* truncate to zero length */ #define FEXCL 004000 /* error if already created */ ******************** If you don't have write access to the /usr/include directory, or you feel uneasy about fixing system include files, you could instead add: #include to the file "remake.c", and just ignore all the warnings about things being redefined. ******************** Patrick Wolfe System Manager, Kuck and Associates, Inc. pat@kai.com {uunet,uiucuxc}!kailand!pat pat%kai.com@uxc.cso.uiuc.edu pat@kai.com@uiucvmd.bitnet pat%kai.com@uiucuxc.arpa