[comp.emacs] Problems building GNU Emacs

mt00@eurotherm.co.uk (Martin Tomes) (10/22/90)

> 	I am trying to build GNU Emacs 18.55 under SCO Unix.
> Everything seems to compile OK, but when I try to link it I get the
> following two undefined symbols:
> 
> 	__divsi3 first referenced in dispnew.o
> 	__udivsi3 first referenced in malloc.o

You are using gcc, but the emacs makefile does not link to gnulib.  In
you s-* file add /usr/local/lib/gcc-gnulib to one of the library
defines.  I build with X11 on an Interactive system and have done this
to my s- file:

#define USG5
#define i386ix                  /* Identifies interactive 386/ix. */
#define LIBX11_SYSTEM -linet /usr/local/lib/gcc-gnulib
#define HAVE_SYSVIPC

  .
  .
  .

Martin Tomes

Janet:    mt00@uk.co.eurotherm    | Eurotherm Limited, Faraday Close,
Internet: mt00@eurotherm.co.uk    | Durrington, Worthing, W.Sussex, England.
UUCP:     {ukc,uunet}!etherm!mt00 | Phone: +44 903 68500  Fax: +44 903 65982