Xref: utzoo gnu.emacs.help:108 comp.emacs:9355 Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!eurotherm.co.uk!mt00 From: mt00@eurotherm.co.uk (Martin Tomes) Newsgroups: gnu.emacs.help,comp.emacs Subject: Problems building GNU Emacs Message-ID: <7299.9010220738@jackdaw.eurotherm.co.uk> Date: 22 Oct 90 07:38:55 GMT References: Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Distribution: gnu Organization: GNUs Not Usenet Lines: 27 > 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