montnaro%chenengo.tcpip@GE-CRD.ARPA@ndmce.uucp (10/18/86)
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 -*--*--*--*--*--*--*--*--*--*--*--*--*--*--