Xref: utzoo gnu.emacs.bug:1146 comp.windows.x:13381 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!haven!decuac!shlump.nac.dec.com!riscy.dec.com!croton.dec.com!frank From: frank@croton.dec.com (Frank Wortner) Newsgroups: gnu.emacs.bug,comp.windows.x Subject: Re: Problems building GNU Emacs with DECwindows Message-ID: <1479@riscy.dec.com> Date: 13 Sep 89 13:38:50 GMT References: <2684@orion.cf.uci.edu> Sender: news@riscy.dec.com Followup-To: gnu.emacs.bug Distribution: na Organization: Digital Equipment Corporation, NYC Lines: 26 In article <2684@orion.cf.uci.edu>, iglesias@orion.cf.uci.edu (Mike Iglesias) writes: > From: iglesias@orion.cf.uci.edu (Mike Iglesias) > Subject: Problems building GNU Emacs with DECwindows > Date: 12 Sep 89 21:29:28 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. Here's what I did to kludge around this problem. I created a file called "s-ultrix3.h" and #include'd it in "config.h" instead of the supplied "s-bsd4.3.h". ... Ugly, but effective. Frank P.S. Here's s-ultrix3.h: /* ULTRIX 3.0 has a name conflict in its X11 library, so we have to map these names to something else. Otherwise, the OS is just like 4.3 BSD. */ #define C_SWITCH_SYSTEM -Dmalloc=gnumalloc -Drealloc=gnurealloc -Dfree=gnufree #include "s-bsd4-3.h" croton>