🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98474

EMACS 18.57 build problem -- Sun 3, SunOS 3.5, gcc 1.36

#98474
From: Bennett Todd -- gaj
Date: Wed, 19 Jun 1991 20:26
26 lines
1639 bytes
``make'' in the ``src'' subdirectory was failing on the link invocation,
unable to resolv ``Fdivd'' and friends. It seems the ``ld'' line was
being built with ``gnulib'' *after* ``-lc'' -- but gnulib was the first
thing in the link line to want these routines, which come from libc. I
rearranged the link line to put libc at the end, and it built perfectly.
Here's the relevent diff for src/ymakefile:

-Bennett
bet@orion.mc.duke.edu

*** 278,284 ****
  SHELL=/bin/sh
  
  /* Construct full set of libraries to be linked.  */
! LIBES = LIBS_TERMCAP $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_DEBUG LIB_STANDARD $(GNULIB_VAR)
  
  /* Enable recompilation of certain other files depending on system type.  */
  
--- 278,284 ----
  SHELL=/bin/sh
  
  /* Construct full set of libraries to be linked.  */
! LIBES = LIBS_TERMCAP $(LIBX) LIBS_SYSTEM LIBS_MACHINE LIBS_DEBUG $(GNULIB_VAR) LIB_STANDARD
  
  /* Enable recompilation of certain other files depending on system type.  */
  
Technical Details
Message-ID: <9106192026.AA01917@zachary.mc.duke.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f137f030040af323,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-06-19 13:26:27 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: bet@ZACHARY.MC.DUKE.EDU (Bennett Todd -- gaj)
Newsgroups: gnu.emacs.bug
Subject: EMACS 18.57 build problem -- Sun 3, SunOS 3.5, gcc 1.36
Message-ID: <9106192026.AA01917@zachary.mc.duke.edu>
Date: 19 Jun 91 20:26:27 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26
Approved: bug-gnu-emacs@prep.ai.mit.edu