Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!think!nike!ucbcad!ucbvax!GE-CRD.ARPA!montnaro%chenengo.tcpip From: montnaro%chenengo.tcpip@GE-CRD.ARPA Newsgroups: net.emacs Subject: "Undefined _rindex" on Sun-3 Message-ID: <8610142238.AA21668@ucbvax.Berkeley.EDU> Date: Tue, 14-Oct-86 19:17:00 EDT Article-I.D.: ucbvax.8610142238.AA21668 Posted: Tue Oct 14 19:17:00 1986 Date-Received: Mon, 20-Oct-86 22:13:41 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 40 Received: by chenengo.steinmetz (1.1/1.1x Steinmetz) id AA09428; Tue, 14 Oct 86 14:52:24 EDT Date: Tue, 14 Oct 86 14:52:24 EDT From: Skip Montanaro Posted-Date: Tue, 14 Oct 86 14:52:24 EDT Message-Id: <8610141852.AA09428@chenengo.steinmetz> To: unix-emacs@cc5.bbn.com Subject: "Undefined _rindex" on Sun-3 When I compile and load temacs (version 18.24) on a Sun-3/75 (Release 3.1 of Sun's UNIX) ld complains that the symbol, "_rindex", is undefined. s-bsd4-2.h and m-sun3.h are included from config.h and HAVE_X_WINDOWS is left undefined. The only files that "rindex" occurs in are fileio.c, several s-*.h files for System V variants, and in the files xfns.c, xterm.c, and xterm.h. xfns.c and xterm.c are not even compiled, since HAVE_X_WINDOWS is not defined. The generated ld command looks okay as far as I can tell: ld -X -o temacs crt0.o dispnew.o scroll.o xdisp.o window.o term.o cm.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o fns.o print.o lread.o abbrev.o syntax.o unexec.o mocklisp.o bytecode.o process.o callproc.o doprnt.o tparam.o lastfile.o alloca.o malloc.o -lc -ltermcap -lg Undefined: _rindex Does anyone have any ideas where this undefined symbol is coming from? Thanks -*--*--*--*--*--*--*--*--*--*--*--*--*--*-- Skip Montanaro ARPA: montanaro%chenengo.tcpip@ge-crd.arpa UUCP: seismo!rochester!steinmetz!chenengo!montanaro -*--*--*--*--*--*--*--*--*--*--*--*--*--*--