🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.emacs
Article #2145

Undefined _rindex on Sun-3 - FIXED

#2145
From: montnarochenengo.tcpip
Date: Fri, 17 Oct 1986 21:09
31 lines
1807 bytes
Received: by chenengo.steinmetz (1.1/1.1x Steinmetz)
	id AA11020; Wed, 15 Oct 86 13:47:37 EDT
Date: Wed, 15 Oct 86 13:47:37 EDT
From: Skip Montanaro <montnaro%chenengo.tcpip@csbvax>
Posted-Date: Wed, 15 Oct 86 13:47:37 EDT
Message-Id: <8610151747.AA11020@chenengo.steinmetz>
To: unix-emacs@cc5.bbn.com
Cc: mly@mit-prep.arpa
Subject: Undefined _rindex on Sun-3 - FIXED


Mly replied to me and suggested I use nm to see where rindex was defined. It
is referenced in libtermcap.a and defined in libc.a. Thus, the ld command I
showed was incorrect, since "-lc" was before "-ltermcap". In ymakefile, the
LIBES macro is defined as

 LIBES = LIB_STANDARD LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP $(LIBX) LIBS_DEBUG

To fix things, I just moved LIB_STANDARD to the end of the line:

 LIBES = LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP $(LIBX) LIBS_DEBUG LIB_STANDARD

After that temacs loaded successfully and xemacs dumped successfully.

Is there any reason that LIB_STANDARD should be first in the list?

-*--*--*--*--*--*--*--*--*--*--*--*--*--*--
Skip Montanaro
ARPA: montanaro%chenengo.tcpip@ge-crd.arpa
UUCP: seismo!rochester!steinmetz!chenengo!montanaro
-*--*--*--*--*--*--*--*--*--*--*--*--*--*--
Technical Details
Message-ID: <340@ndmce.uucp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ltuxa!we53!sw013b!dj3b1!killer!ndmce!pollux!infotel!ut-ngp!ut-sally!seismo!rutgers!nike!ucbcad!ucbvax!GE-CRD.ARPA!montnaro%chenengo.tcpip

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cuae2!ltuxa!we53!sw013b!dj3b1!killer!ndmce!pollux!infotel!ut-ngp!ut-sally!seismo!rutgers!nike!ucbcad!ucbvax!GE-CRD.ARPA!montnaro%chenengo.tcpip
From: montnaro%chenengo.tcpip@GE-CRD.ARPA@ndmce.uucp
Newsgroups: net.emacs
Subject: Undefined _rindex on Sun-3 - FIXED
Message-ID: <340@ndmce.uucp>
Date: Fri, 17-Oct-86 17:09:30 EDT
Article-I.D.: ndmce.340
Posted: Fri Oct 17 17:09:30 1986
Date-Received: Tue, 21-Oct-86 05:29:23 EDT
Sender: news@ndmce.uucp
Organization: The ARPA Internet
Lines: 31