Xref: utzoo gnu.emacs.bug:1139 comp.windows.x:13358 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ucsd!orion.cf.uci.edu!iglesias From: iglesias@orion.cf.uci.edu (Mike Iglesias) Newsgroups: gnu.emacs.bug,comp.windows.x Subject: Problems building GNU Emacs with DECwindows Message-ID: <2684@orion.cf.uci.edu> Date: 12 Sep 89 21:29:28 GMT Reply-To: iglesias@orion.cf.uci.edu (Mike Iglesias) Distribution: na Organization: University of California, Irvine Lines: 44 I'm trying to build GNU Emacs v18.55 on a DECstation 3100 running Ultrix v3.0 and DECwindows. When ld links the executable, it complains that malloc, realloc and free are multiply defined. ld does leave a src/temacs file, which seems to run ok if I chmod it to have execute permissions. I then run make again and it builds the dumped verions of Emacs, which also appears to run ok in the limited testing I've done on it. Has anyone else built GNU Emacs on a DECstation 3100 using the DECwindows X11 library and gotten around this problem? Below is a script of the ld of emacs. Thanks in advance for any information! Mike Iglesias University of California, Irvine Internet: iglesias@orion.cf.uci.edu BITNET: iglesias@uci UUCP: ...!ucbvax!ucivax!iglesias ------------------------------------------------------------------------ Script started on Mon Sep 11 22:02:07 1989 csh> make cd etc; make all cd src; make all make -f xmakefile all ld -X -D 800000 -o temacs pre-crt0.o /lib/crt0.o dispnew.o scroll.o xdisp.o window.o term.o cm.o x11term.o x11fns.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 unexmips.o mocklisp.o bytecode.o process.o callproc.o doprnt.o termcap.o tparam.o lastfile.o malloc.o -lX11 -lc ld: /lib/libX11.a(XvmsAlloc.o): malloc: multiply defined /lib/libX11.a(XvmsAlloc.o): realloc: multiply defined /lib/libX11.a(XvmsAlloc.o): free: multiply defined *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. csh>