[comp.emacs] Problem compiling Epoch-3.2

mferrare@physics.adelaide.edu.au (Mark Ferraretto) (12/07/90)

When compiling Epoch I get the following


cd etc; make  all
cc -o loadst -O loadst.c
ld:
Undefined:
ldopen
ldgetname
ldtbread
ldclose
*** Exit 1

Stop.
*** Exit 1

Stop.

I then type make again and it works OK until the following when making in the
src directory.
cc -g -Demacs    -DBUTTON -DCB -c malloc.c
ld  -X -D 800000 -o temacs pre-crt0.o /lib/crt0.o dispepoch.o xdisp.o window.o
term.o cm.o x11term.o x11fns.o screen.o xdefault.o mouse.o button.o xutil.o xeve
nt.o xresource.o property.o   emacs.o keyboard.o macros.o keymap.o sysdep.o  buf
fer.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 unexmips.o mocklisp.o
 bytecode.o  process.o callproc.o   doprnt.o termcap.o tparam.o lastfile.o alloc
a.o malloc.o   -lX11    -lc
ld:
Unknown flag: -X
ld: Usage: ld [options] file [...]
*** Exit 1

Stop.
*** Exit 1

Stop.
*** Exit 1

Stop.

On taking the -X flag out I get the following:

ld  -D 800000 -o temacs pre-crt0.o /lib/crt0.o dispepoch.o xdisp.o window.o  ter
m.o cm.o x11term.o x11fns.o screen.o xdefault.o mouse.o button.o xutil.o xevent.
o xresource.o property.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 c
asefiddle.o indent.o search.o regex.o undo.o  alloc.o data.o doc.o editfns.o cal
lint.o  eval.o fns.o print.o lread.o  abbrev.o syntax.o unexmips.o mocklisp.o by
tecode.o  process.o callproc.o   doprnt.o termcap.o tparam.o lastfile.o alloca.o
 malloc.o   -lX11    -lc
ld:
Undefined:
ldopen
ldgetname
ldtbread
ldclose
*** Exit 1

Stop.
*** Exit 1

Stop.
*** Exit 1

Stop.



Machine:  Sony News-3410.
Using  :  s-bsd4-3.h and m-mips.h


Any Ideas??
Am I missing a library or something?
--
       _             Name  : Mark Ferraretto
      \  \           Place : Department of Physics and Mathematical Physics
 ||     \  \                 University of Adelaide
==========>==>==--   Aarnet: mferrare@physics.adelaide.edu.au