🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2326

problem compiling emacs

#2326
From: brian
Date: Sat, 20 Apr 1991 13:44
56 lines
2079 bytes
I'm trying to compile emacs 18.52 on my Xenix 386/2.3.1 system with
the following result:

	cd etc; make  all
	cc -o loadst  loadst.c -lx
loadst.c
loadst.c(25) : fatal error C1015: cannot open include file 'nlist.h'
*** Error code 1

Stop.
*** Error code 1

Stop.

Now, loadst.c contains the following:

/*
 * loadst -- print current time and load statistics.
 *				-- James Gosling @ CMU, May 1981
 *  loadst [ -n ] [ interval ]
 */

#define NO_SHORTNAMES  /* Do not want config to try to include remap.h */
#include "../src/config.h"
#include <stdio.h>
#include <pwd.h>

/* Define two macros KERNEL_FILE (file to find kernel symtab in)
   and LDAV_SYMBOL (symbol name to look for), based on system type.
   Also define NLIST_STRUCT if the type `nlist' is a structure we
   can get from nlist.h; otherwise must use a.out.h and initialize
   with strcpy.  Note that config.h may define NLIST_STRUCT
   for more modern USG systems.  */


#ifdef LOAD_AVE_TYPE 
#ifndef NLIST_STRUCT 
#include <a.out.h>
#else  /* NLIST_STRUCT */
#include <nlist.h> 
#endif  /* NLIST_STRUCT */
#endif  /* LOAD_AVE_TYPE */

Now, NLIST_STRUCT is not defined anywhere, but the compile nonetheless fails
as above.  EVEN if I include #undef NLIST_STRUCT at the beginning of the
file.  

Anyone have ideas??

Brian

-- 
Brian Ampolsk @ Wynnewood *nix Consultants, Wynnewood, PA 

UUCP:  ..!uunet!enkil!brian    INTERNET:  brian@enkil.UUCP
Technical Details
Message-ID: <909@enkil.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!trac2000!enkil!brian

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,70e3b3ea2ecde801,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 103b8b,70e3b3ea2ecde801,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-21 04:51:20 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!trac2000!enkil!brian
From: brian@enkil.UUCP (brian)
Newsgroups: gnu.misc.discuss,gnu.emacs.help
Subject: problem compiling emacs
Keywords: emacs NLIST_STRUCT help
Message-ID: <909@enkil.UUCP>
Date: 20 Apr 91 13:44:35 GMT
Followup-To: poster
Organization: Wynnewood *nix Consultants, Wynnewood, PA
Lines: 56