🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87835

2 tiny bugs compiling 19.25 for m68k-next

#87835
From: Matthew Swift
Date: Sun, 28 Aug 1994 03:30
45 lines
2017 bytes
NextStep 3.0 on 680040 cube, --with-gcc (2.5.4), no window system, GNU make
3.69.

1]  If I do not give a machine type to configure, it will correctly identify my
machine as "m68k-next-ns3".  This alias is not listed in etc/MACHINES, however;
only "m68k-next-mach2" and "m68k-next-bsd" are.  

I assume that all three are equivalent, because of these lines in configure:

  ## NeXT
  m68*-next-* | i[34]86-next-* )
    machine=next opsys=mach2
 

2] When we get to the file "src/getloadavg.c", make dies with the following:

Monolith# make 
gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/usr/local/src/gnu/emacs-19.25/src
     -g -O  getloadavg.c
getloadavg.c:388: mach.h: No such file or directory
make: *** [getloadavg.o] Error 1
Monolith# 


Here are the relevant line of getloadavg.c:

#ifdef NeXT
#ifdef HAVE_MACH_MACH_H
#include <mach/mach.h>
#else
#include <mach.h>
#endif
#endif /* NeXT */

The problem is that HAVE_MACH_MACH_H is never set, as far as I can tell by
searching through configure and Makefile[.in].  And my system does
HAVE_MACH_MACH_H.  

The exact same bug was present in versions  18.59, 19.15, 19.19, and 19.21.
(I sent an almost identical report of this bug to this address on
93-09-09-1700 GMT.)

Matt Swift
swift@bu.edu
Technical Details
Message-ID: <199408280321.XAA59140@acs3>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!convex!cs.utexas.edu!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!acs.bu.edu!swift

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7745c25418c93cd3,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-08-27 20:33:23 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!godot.cc.duq.edu!news.duke.edu!convex!cs.utexas.edu!math.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!acs.bu.edu!swift
From: swift@acs.bu.edu (Matthew Swift)
Newsgroups: gnu.emacs.bug
Subject: 2 tiny bugs compiling 19.25 for m68k-next
Date: 27 Aug 1994 23:30:42 -0400
Organization: GNUs Not Usenet
Lines: 45
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199408280321.XAA59140@acs3>
Reply-To: swift@bu.edu