From: jrs@world.std.com (Rick Sladkey) Subject: Re: Help needed to compile "nemacs" (Kanji version Gnu emacs)... Date: 21 Nov 1992 04:05:51 GMT
>>>>> On 19 Nov 1992 19:08:21 -0800, dkyoon@alnitak.usc.edu (Dae-Kyun
>>>>> Yoon) said:
DK> I am now trying to compile nemacs-3.3.2 which is a version of
DK> GNU-emacs with Japanese Kanji support. I believe the nemacs version
DK> is based on emacs-18.55. I had many small problems while compiling
DK> and all of them could be easily fixed until now. However I am stuck
DK> with the following compile errors for which I need some help from
DK> the experts, especially from whom have already compiled emacs under
DK> Linux.
DK> while compiling "nemacs-3.3.2/src/unexec.c":
DK> ...
For this particular problem you should use a patch like the following:
*** unexec.c.orig Wed Nov 11 01:10:33 1992
--- unexec.c Wed Nov 11 19:50:02 1992
***************
*** 236,242 ****
extern char *sbrk ();
! #if defined (USG) && !defined (IBMRTAIX) && !defined (IRIS)
static struct bhdr hdr, ohdr;
#define a_magic fmagic
#define a_text tsize
--- 236,242 ----
extern char *sbrk ();
! #if defined (USG) && !defined (IBMRTAIX) && !defined (IRIS) && !defined(linux)
static struct bhdr hdr, ohdr;
#define a_magic fmagic
#define a_text tsize
DK> I know this is related to the COFF definition, so I tried without COFF
DK> but it also generated lots of error messages from different places.
DK> BTW, I am using "s-usg5-2-2.h" for my configuration file. Is this the
DK> right choice or there is any other (more close to Linux) configuration
DK> file ?
DK> I will appreciate any comments and advice.
It will save you a lot of time if you look at my patches for straight
GNU Emacs included in the file:
tsx-11.mit.edu:/pub/linux/packages/emacs-18.59/emacs-18.59a.tar.Z
Nemacs will be very close to this.