Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!fxgrp!ljz From: ljz@fxgrp.UUCP (Lloyd Zusman, Master Byte Software) Newsgroups: comp.emacs Subject: Re: memacs3.9 Message-ID: <168@fxgrp.UUCP> Date: Mon, 23-Nov-87 17:04:59 EST Article-I.D.: fxgrp.168 Posted: Mon Nov 23 17:04:59 1987 Date-Received: Thu, 26-Nov-87 20:11:15 EST References: <538@ucdavis.ucdavis.edu> <999@sjuvax.UUCP> Reply-To: ljz@fxgrp.UUCP (Lloyd Zusman, fxgrp!ljz@ames.arpa) Followup-To: <999@sjuvax.UUCP> tmoody@sjuvax.UUCP (T. Moody) Organization: FX Development Group, Inc., Mountain View, CA Lines: 122 In article <999@sjuvax.UUCP> tmoody@sjuvax.UUCP (T. Moody) writes: >In article <538@ucdavis.ucdavis.edu> windley@iris.ucdavis.edu (Phil Windley) writes: > ... >>| ld: Undefined external - >>| _aputc >>| _inportb >>| _sysint >>| _outportb >>| _bdos >>| _movmem >>| _segread >>| ld: output file still contains undefined symbols >>| ld: (Warning) did not generate an output file >>| *** Error code 1 > > ... A >good number of these "undefined" items are linked to MSDOS-specific >parts of estruct.h. I tried masking things out, but succeeded only in >making a big mess. > >Under BSD 4.3, an output file was created, but it would not execute. > ... I got it to build just fine under BSD 4.3 and on a Sun. Re-extract the files from the shar's ... this will make sure you are starting with a clean slate. Then, make sure your "estruct.h" file looks like the following fragment. Copy or rename the "makefile.unx" file to "Makefile" or "makefile", get rid of all the *.o files, and then type 'make'. It should work just fine. /** fragment of estruct.h starts here **/ /* Machine/OS definitions */ #define AMIGA 0 /* AmigaDOS */ #define ST520 0 /* ST520, TOS */ #define MSDOS 0 /* MS-DOS */ #define V7 0 /* V7 UNIX or Coherent or BSD4.2*/ #define BSD 1 /* UNIX BSD 4.2 and ULTRIX */ #define USG 0 /* UNIX system V */ #define VMS 0 /* VAX/VMS */ #define CPM 0 /* CP/M-86 */ #define FINDER 0 /* Macintosh OS */ /* Compiler definitions */ #define UNIX 1 /* a random UNIX compiler */ #define MWC 0 /* Marc Williams C */ #define LATTICE 0 /* Lattice 2.14 thruough 3.0 compilers */ #define AZTEC 0 /* Aztec C 3.20e */ #define MSC 0 /* MicroSoft C compile version 3 & 4 */ #define TURBO 0 /* Turbo C/MSDOS */ /* Debugging options */ #define RAMSIZE 0 /* dynamic RAM memory usage tracking */ #define RAMSHOW 0 /* auto dynamic RAM reporting */ /* Special keyboard definitions */ #define WANGPC 0 /* WangPC - mostly escape sequences */ #define VT100 0 /* Handle VT100 style keypad. */ /* Terminal Output definitions */ #define ANSI 0 /* ANSI escape sequences */ #define HP150 0 /* HP150 screen driver */ #define HP110 0 /* HP110 screen driver */ #define VMSVT 0 /* various VMS terminal entries */ #define VT52 0 /* VT52 terminal (Zenith). */ #define RAINBOW 0 /* Use Rainbow fast video. */ #define TERMCAP 1 /* Use TERMCAP */ #define IBMPC 0 /* IBM-PC CGA/MONO/EGA driver */ #define DG10 0 /* Data General system/10 */ #define TIPC 0 /* TI Profesional PC driver */ #define Z309 0 /* Zenith 100 PC family driver */ #define MAC 0 /* Macintosh */ #define ATARI 0 /* Atari 520/1040ST screen */ /* Configuration options */ #define CVMVAS 1 /* arguments to page forward/back in pages */ #define CLRMSG 0 /* space clears the message line with no insert */ #define CFENCE 1 /* fench matching in CMODE */ #define TYPEAH 1 /* type ahead causes update to be skipped */ #define DEBUGM 1 /* $debug triggers macro debugging */ #define VISMAC 0 /* update display during keyboard macros */ #define CTRLZ 0 /* add a ^Z at end of files under MSDOS only */ #define ADDCR 0 /* ajout d'un CR en fin de chaque ligne (ST520) */ #define NBRACE 1 /* new style brace matching command */ #define REVSTA 1 /* Status line appears in reverse video */ #define COLOR 0 /* color commands and windows */ #define FILOCK 0 /* file locking under unix BSD 4.2 */ #define ISRCH 0 /* Incremental searches like ITS EMACS */ #define WORDPRO 1 /* Advanced word processing features */ #define FLABEL 0 /* function key label code [HP150] */ #define APROP 1 /* Add code for Apropos command */ #define CRYPT 1 /* file encryption enabled? */ #define MAGIC 1 /* include regular expression matching? */ #define AEDIT 1 /* advanced editing options: en/detabbing */ #define PROC 1 /* named procedures */ #define CLEAN 0 /* de-alloc memory on exit */ #define CALLED 0 /* is emacs a called subroutine? or stand alone */ #define ASCII 1 /* always using ASCII char sequences for now */ #define EBCDIC 0 /* later IBM mainfraim versions will use EBCDIC */ /** fragment of estruct.h ends here **/ Good luck. --------------------------------------------------------------------------- Lloyd Zusman Master Byte Software Los Gatos, California UUCP: ...!ames!fxgrp!ljz "We take things well in hand." INTERNET: fxgrp!ljz@ames.arpa --------------------------------------------------------------------------- -- Lloyd Zusman, Master Byte Software, Los Gatos, California "We take things well in hand." ...!ames!fxgrp!ljz