Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!ginosko!uunet!mcsun!hp4nl!mhres!jv From: jv@mh.nl (Johan Vromans) Newsgroups: comp.windows.x Subject: Re: Problems building GNU Emacs with DECwindows Message-ID: Date: 14 Sep 89 04:07:40 GMT References: <2684@orion.cf.uci.edu> <8909130047.AA05734@lorax.umiacs.UMD.EDU> Sender: jv@mhres.mh.nl Organization: Multihouse Gouda, the Netherlands Lines: 30 In-reply-to: jsw@UMIACS.UMD.EDU's message of 13 Sep 89 00:47:20 GMT | 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. There is a remark (including a fix) about this problem in etc/MACHINES. It is also solved with Ultrix3.1 (UWS2.1) | I have had a similar problem with many X applications and DEC's version | of libX11.a . I usually get a message that calloc is multiply defined. | I have been able to get around this message in the past by expressly | specifying linking with libc.a right before libX11.a | | example: | | ld -o bozo foo.o bar.o -lc -lX11 | | I think this causes libc.a to be read twice, but, I get no warnings and the | executables have the correct permissions. The relase notes for Ultrix3.1 (UWS2.1) describe that this problem is fixed, and what to do if you want your own *alloc routines. Johan -- Johan Vromans jv@mh.nl via internet backbones Multihouse Automatisering bv uucp: ..!{mcvax,hp4nl}!mh.nl!jv Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500 ------------------------ "Arms are made for hugging" -------------------------