*BSD News Article 22920


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:6252 comp.os.386bsd.bugs:1657 gnu.emacs.help:13239
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.bugs,gnu.emacs.help
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!europa.eng.gtefsd.com!avdms8.msfc.nasa.gov!sol.ctr.columbia.edu!usc!cs.utexas.edu!uunet!pipex!uknet!festival!castle.ed.ac.uk!richard
From: richard@castle.ed.ac.uk (Richard Tobin)
Subject: Re: NetBSD 0.9: Need help building emacs
References: <MIKE.LONG.93Oct26230310@cthulhu.analog.com>
Message-ID: <CFKFnE.9EE@festival.ed.ac.uk>
Sender: news@festival.ed.ac.uk (remote news read deamon)
Organization: University of Edinburgh
Date: Wed, 27 Oct 1993 17:09:11 GMT
Lines: 14

In article <MIKE.LONG.93Oct26230310@cthulhu.analog.com> Mike Long <Mike.Long@Analog.com> writes:
>I am having problems in the dump phase of building emacs on my NetBSD 0.9
>system.  The dumped executable has an invalid magic number, so it won't run.

I haven't tried it, but I would guess that you need to add this to the
s/386bsd.h file:

#define A_TEXT_OFFSET(x)    (sizeof (struct exec))
#define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))

-- Richard
-- 
"Beat your ploughshares into swords and your pruninghooks into spears"
(Joel 3:10)