Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:6240 comp.os.386bsd.bugs:1651 gnu.emacs.help:13228 Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.bugs,gnu.emacs.help Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!library.ucla.edu!europa.eng.gtefsd.com!uunet!noc.near.net!analog.com!analog.com!nwd2sun2.analog.com!Mike.Long From: Mike.Long@analog.com (Michael W. Long) Subject: NetBSD 0.9: Need help building emacs Message-ID: <MIKE.LONG.93Oct26230310@cthulhu.analog.com> Lines: 24 Sender: usenet@analog.com Reply-To: Mike Long <Mike.Long@Analog.com> Organization: Analog Devices Inc, Norwood MA, USA Date: Wed, 27 Oct 1993 03:03:10 GMT 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. When I issue 'file emacs', the result is 'emacs: data', which is not helpful. temacs compiled without any problems and does have a valid magic number, so the problem is something in the dump process, not with the compiler. I am using gcc 2.4.5 and GNU make 3.68. I ran configure with the arguments: i386-net-386bsd --run-in-place The only change I made to src/s/386bsd.h was to change the kernel name from /386bsd to /netbsd. Did I misconfigure emacs? Has NetBSD changed too much from 386bsd for the src/s/386bsd.h file to be applicable, and if so, what should I use instead? Is the <a.out.h> or <sys/exec.h> distributed with NetBSD 0.9 broken? Does NetBSD use a different executable format than 386bsd did? I can't believe that I'm the first person to try to get emacs up on NetBSD, so someone please tell me how you did it. -- Mike Long Mike.Long@Analog.com VLSI Design Engineer voice: (617)461-4030 Analog Devices, SPD Div. FAX: (617)461-3010 Norwood, MA 02062 *this = !opinion(Analog);