From xemacs-m  Fri Jan 17 14:55:03 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id OAA04493 for <xemacs-beta@xemacs.org>; Fri, 17 Jan 1997 14:55:01 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.4/8.8.4)
	  id VAA19287; Fri, 17 Jan 1997 21:54:55 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: [comp.emacs.xemacs] Re: Problems compiling on Ultrix
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 17 Jan 1997 21:54:54 +0100
Message-ID: <kig680w9g4h.fsf@jagor.srce.hr>
Lines: 51
X-Mailer: Red Gnus v0.81/XEmacs 19.14

OK, here is the description how to compile XEmacs on Ultrix.  This
should be probably included to autoconf.

Comment: the my_data[27] was probably meant to be my_data[28]
(according to alex@srce.hr who forwarded this to me).

------- Start of forwarded message -------
Resent-Date: Fri, 17 Jan 1997 20:13:33 +0100 (MET)
Resent-From: Aleksandar Milivojevic <alex@bjesomar.srce.hr>
Resent-Message-Id: <199701171913.UAA27257@bjesomar.srce.hr>
Resent-To: hniksic@srce.hr
Newsgroups: comp.emacs.xemacs
Organization: Massachusetts General Hospital
Message-ID: <540k7j$qrk@hpngsv01.mgh.harvard.edu>
References: <53pu27$21j@sinus.seqeb.gov.au>  <qmksp7iyzaz.fsf@HERCULES.CS.UREGINA.CA> <gl3ezhsree.fsf@jagor.srce.hr>
Reply-To: sashik@bartok.mgh.harvard.edu (Shashidhar Kollipara)
From: sashik@bartok.mgh.harvard.edu (ShashiK)
To: xemacs@cs.uiuc.edu
Subject: Re: Problems compiling on Ultrix
Date: 15 Oct 1996 18:13:07 GMT



i was successful in installing xemacs-19.14 on Untrix 4.2a!!

but with some effort.

1) the problem with extern int my_data in src/emacs.c

	the linker complains about relocation entry and tells us to 
recompile with -G option.

	i  got a patch from Erik Magnuson [erik@sulu.FL.ENSCO.COM] to work 
around this problem, basically:

	edit emacs.c line:1624 to extern char my_data[27];

Recompiling xemacs lead to the second problem:

2) mmap and realloc had problems, emacs was complaining "Memory exhausted"

	the trick is to
 edit src/config.h,  undefine HAVE_MMAP and REL_ALLOC 
and define SYSYEM_MALLOC 1 in src/ultrix-xxx.h

recompiling,  did get me a working xemacs!


hope this helps

------- End of forwarded message -------

