*BSD News Article 29669


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!eff!news.umbc.edu!haven.umd.edu!ames!cronkite.cisco.com!usenet.cisco.com!cshaker
From: cshaker@shaker-bsd.cisco.com (Christopher J. Shaker)
Newsgroups: comp.os.386bsd.questions
Subject: Working Gnu Emacs 18.59 for FreeBSD 1.1 Gamma? Also 'file' bug.
Date: 25 Apr 94 15:03:12
Organization: cisco Systems, Inc.
Lines: 94
Distribution: world
Message-ID: <CSHAKER.94Apr25150312@shaker-bsd.cisco.com>
NNTP-Posting-Host: shaker-bsd.cisco.com

When I've attempted to build Gnu emacs 18.59 from sources that built and ran
on FreeBSD 1.0.2, I got an error about '__DYNAMIC' being undefined. So, I
assumed that it was trying to use the dynamic shared libraries, so I did a
'make clean', and added '#define LD_SWITCH_MACHINE "-static"' to my
'src/config.h' file to force 'ld' to use static libraries.

Another thing to note is that the 'file' command in 1.1 Gamma thinks that
the '*.o' files that I built are PDP-11 executables!

I then can build Gnu emacs aok, *but*, when I attempt to run it, I get the
following garbage output and errors:

Script started on Mon Apr 25 14:56:17 1994
cshaker@shaker-bsd [889] % pwd
/extra_2/emacs-18.59/src
cshaker@shaker-bsd [890] % file emacs^G-18.59.4
emacs-18.59.4: data
cshaker@shaker-bsd [891] % file *.o
abbrev.o:     PDP-11 executable not stripped
alloc.o:      PDP-11 executable
buffer.o:     PDP-11 executable not stripped
bytecode.o:   PDP-11 executable not stripped
callint.o:    PDP-11 executable not stripped
callproc.o:   PDP-11 executable not stripped
casefiddle.o: PDP-11 executable not stripped
cm.o:         PDP-11 executable not stripped
cmds.o:       PDP-11 executable not stripped
crt0.o:       PDP-11 executable not stripped
data.o:       PDP-11 executable not stripped
dired.o:      PDP-11 executable not stripped
dispnew.o:    PDP-11 executable not stripped
doc.o:        PDP-11 executable not stripped
doprnt.o:     PDP-11 executable not stripped
editfns.o:    PDP-11 executable not stripped
emacs.o:      PDP-11 executable not stripped
eval.o:       PDP-11 executable not PDP-11 executable not stripped
fileio.o:     PDP-11 executable not stripped
filelock.o:   PDP-11 executable not stripped
filemode.o:   PDP-11 executable
fns.o:        PDP-11 executable not stripped
indent.o:     PDP-11 executable not stripped
insdel.o:     PDP-11 executable not stripped
keyboard.o:   PDP-11 executable not stripped
keymap.o:     PDP-11 executable not stripped
lastfile.o:   PDP-11 executable not stripped
lread.o:      PDP-11 executable not stripped
macros.o:     PDP-11 executable not stripped
malloc.o:     PDP-11 executable not stripped
marker.o:     PDP-11 executable not stripped
minibuf.o:    PDP-11 executable not stripped
mocklisp.o:   PDP-11 executable not stripped
print.o:      PDP-11 executable not stripped
process.o:    PDP-11 executable not stripped
regex.o:      PDP-11 executable not stripped
scroll.o:     PDP-11 executable
search.o:     PDP-11 executable not stripped
syntax.o:     PDP-11 executable not stripped
sysdep.o:     PDP-11 executable not stripped
term.o:       PDP-11 executao:       PDP-11 executable not stripped
tparam.o:     PDP-11 executable
undo.o:       PDP-11 executable not stripped
unexec.o:     PDP-11 executable not stripped
window.o:     PDP-11 executable not stripped
x11fns.o:     PDP-11 executable not stripped
x11term.o:    PDP-11 executable not stripped
xdisp.o:      PDP-11 executable not stripped
xmenu.o:      PDP-11 executable not stripped
cshaker@shaker-bsd [892] % ./emacs^G-18.59.4 -nw
U       eh^DICU eS^M]^P^KE^L    B^M^D^U^M^T^C   Q^CA^D  ^F^K^F^K9E^Pu^P^F^K
^C@|    B       ^F^K^?^F^KS^?u^Lh.A^A^CD^L      @Ph?^CD^D^K]|ICU        e^C^C=
^Kt^N^Khv^B^CD^D^C=D_^Kt^N^?5D_^Kh_^B^CD^D^C=4^C^Kt^N^?54^C^KhH^B^CD^Djh>^C
D^Kjh/^CD^D#D_^Kj^Ah ^CD^D#4^C^K^C=D^?^KtC!^K9^ED^?^K^O^T@^O6H  Mx!<^C^K
@P^?5D^?^Kh!9^B^C#D^?^K^C}xt^L^K^MD^?^K ^M^Kk^U^P!<^C^K@PhD8^B^CD^D#D^?
^KGE|^KE|9^E<^C^K~^V!D^?^K^CE|F: error 63
^KEx^KU|        Q^M^T^M^K@^L^K^T^P^CUtF^B: not found
t^K8^?^?^?^?i   ^P^K^K]^L       ^^M^\5^K@^L^K^T^X^C=H_^Kt2^O6:  }|B^C}|u^Ek^_^P
^P^P    HA`^D   KA{^X^M^L^C^Aa^?^?^?^O^CM|^CA`kS^Pk*^P^P^O6:    }|B^C}|u^Ck^Y^P 
HA`^D   KA{^X^M^L^C^Aa^?^?^?^O^CM|kX^EIt^D      H8^Ak^A^P^Mep[^_ICU     eVS^C=H_
^Kt^Z^K^KU^L    Q^M^T^M^K^K^D^QkW^P^P^P^K^KU^L  Q^M^T^M^K@^L^K^\^P^K^KU
^L      Q^M^T^M^K^K4^P^Ev~: not found
./emacs-18.59.4: 2: Syntax error: ")"ax error: ")" unexpected
cshaker@shaker-bsd [893] % exit
cshaker@shaker-bsd [894] % exit

Script done on Mon Apr 25 14:56:48 1994



I've had other troubles while attempting to build Gnu emacs 19.22

I was happy to find that I am able to run the 18.59 emacs binaries that I
had built under FreeBSD 1.0.2 on 1.1 Gamma.

Chris