[gnu.emacs] Problems with Emacstool on the Sun 3 and 4.

wlim@AI.MIT.EDU (William Y-P. Lim) (08/16/89)

A colleague of mine is encountering problems getting emacstool to work
for our Suns.   The problems are described below.  Please email me
your advice and fixes and I'll forward them to him.   Thanks.

Willie


==================Problems with Installing Emacstool==================

Sun machines and OS:

  Sun 3/160 and 3/50	Sun UNIX 4.2 Release 3.5
  2 Sun 3/160		Sun UNIX 4.2 Release 3.2 and SunOS Release 4.0.3
  Sun 4/260		SunOS Release Sys4-3.2_REV2

m- and s- files:
  sun3			m-sun3.h	s-bsd4-2.h
  sun4			m-sparc.h	s-sunos4.h


Problems:

      First, Emacs version 18.54 doesn't automatically make
emacstool, even when the m file indicates Sun Workstation and

#define HAVE_SUN_WINDOWS

is asserted.

     Second, the executable complains about undefined function
(init-sun-windows) at run time when I compile according to the
instructions in xmakefile:

sunfns.o  : sunfns.c buffer.h config.h
${etcdir}emacstool: ${etcdir}emacstool.c
	cd ${etcdir}; make ${MFLAGS} emacstool

     The problem is that emacstool is missing function definitions
from lisp/term/sun.el, lisp/sun-mouse.el, lisp/sun-fns.el, and
src/sunfns.c.  The c compiler complains about undefined functions for
src/sunfns.c if one tries to compile it with emacstool.c.  The other
problem is how does emacstool know to load lisp/term/sun.el,
lisp/sun-mouse.el, lisp/sun-fns.el automatically when it is invoked?

     Please help.  Thanks.