🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #29

Problems building epoch-4.0, anyone help (Sequent)?

#29
From: Simon Marshall
Date: Mon, 06 Apr 1992 18:01
55 lines
3269 bytes
	Hi all, I'm trying to make epoch-4.0 to replace 3.2 on our system,
    but unfortunately I've run into a problem that I can't solve.  Please
    could anyone out there let me in on a solution?!  If you post a response
    (thanx), please also *email* to me too, as my access to USENET has gone
    flaky for the moment, and I am not on the epoch mailing list...

	The problem occurs when I try to build in ./src.  This is on a
    Sequent Symmetry S81 running DYNIX V3.0.17.10.  To get near compiling, I
    had to do the following:

	In config.h:

#include "config/s-bsd4-2.h"
#include "config/m-sequent.h"

	Create the file ./src/../memory.h which #includes memory.h which is
    part of the att universe on our Sequent.  This is to include memcpy() et
    al.  It does not exist in /usr/include.  Include the library libc.a from
    the att universe when linking.  This is to link in memcpy() et al. which
    are not in /usr/lib.  This gets rid of almost all the error messages
    about memcpy() etc. not being around:

#define C_DEBUG_SWITCH -I.. -traditional
#define C_OPTIMIZE_SWITCH
#define LIBS_SYSTEM /usr/att/lib/libc.a 

	I use gcc-2.1 as the Sequent cc is dumb & compains thus:

cc -c -I.. -Demacs     crt0.c
cc -I.. -Demacs      -c window.c -o window.o
cc: -o would overwrite window.o
make[1]: *** [window.o] Error 8

	for each of the source files.  When linking, however, the linker
    complains about one last symbol not being defined.  It does not seem
    down to my inclusion & linking with the att universe, as not including
    and linking also gives this error, and I can't find it anywhere, anyhow:

		:
		:
gcc -I.. -traditional	    -Demacs	-c malloc.c -o malloc.o
ld  -X  -o temacs crt0.o window.o term.o x11term.o x11fns.o xevent.o screen.o xdefault.o xresource.o property.o selection.o xutil.o mouse.o button.o xdispepoch.o dispepoch.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o syntax.o unexec.o mocklisp.o bytecode.o process.o callproc.o  doprnt.o lastfile.o m

alloc.o   -lX11    /usr/att/lib/libc.a    -lc 
emacs.o: Undefined symbol ___main referenced from text segment

	I can't find this symbol anywhere.  If it matters, I've not built
    ASCII emacs (why the name ASCII?!).  Has anyone else come across this?
    Many thanx in advance.

	Simon. 
_______________________________________________________________________________
Simon Marshall, Dept. of Computer Science, University of Hull, Hull HU6 7RX, UK
  "Football isn't about life and death.  It's more important than that." Bill
Email: S.Marshall@Hull.ac.uk    Phone: +44 482 465181    Fax: 466666   Shankley
Technical Details
Message-ID: <9204061703.AA08355@a.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sequent.cc.HUll.ac.UK!S.Marshall

Show Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sequent.cc.HUll.ac.UK!S.Marshall
From: S.Marshall@sequent.cc.HUll.ac.UK (Simon Marshall)
Subject: Problems building epoch-4.0, anyone help (Sequent)?
Message-ID: <9204061703.AA08355@a.cs.uiuc.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 6 Apr 1992 18:01:12 GMT
Lines: 53