Path: utzoo!attcan!uunet!husc6!cmcl2!brl-adm!umd5!mimsy!aplcen!jhunix!ins_adjb
From: ins_adjb@jhunix.HCF.JHU.EDU (Daniel Jay Barrett)
Newsgroups: comp.sys.amiga
Subject: MG2a compiling problem (solution)
Keywords: mg2a microemacs makefile
Message-ID: <6511@jhunix.HCF.JHU.EDU>
Date: 6 Jun 88 00:36:24 GMT
Organization: Johns Hopkins Univ. Computing Ctr.
Lines: 22


The public domain editor MG2a (a Microemacs variant) was recently posted
to comp.sources.misc, and there is a problem in the Amiga Makefile for
the MANX C compiler.

When linking the final program, an error message appears that
"_offset_dummy" is undefined, and the link fails.  This is for
the default, full-blown, "big burrito" version of MG in the Makefile.

MY SOLUTION:	Change the XOBJ line in the "big burrito" from:

	XOBJ = $(MOUSEOBJ) $(MENUOBJ) $(ICONIFYOBJ)

to:

	XOBJ = $(MOUSEOBJ) $(MENUOBJ) $(ICONIFYOBJ) $(OFFSETOBJ)

Now everything compiles and links no problem.  I have reported this
problem to "mg-support".
-- 
Dan Barrett	ins_adjb@jhunix.UUCP
		barrett@cs.jhu.edu