Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!samsung!umich!sharkey!wyn386!wybbs!wizard!bob From: bob@wizard.uucp (Bob Smith) Newsgroups: comp.unix.xenix.sco Subject: Re: Problems creating Patch 2.0.12u3 Message-ID: <278@wizard.uucp> Date: 4 May 91 05:06:33 GMT References: <44@hlthnt.UUCP> Lines: 22 In <44@hlthnt.UUCP> sginn@hlthnt.UUCP (Steve Ginn) writes: >I was recently trying to compile the above named app and everything >ran fine until it started linking and came up with the following >problems: >/bin/ld : error: Unresolved externals: >_rindex in file(s): >patch.o (patch.c) rindex() is a BSD version of strrchr(). You should be able to compile patch by adding a line like: #define rindex() strrchr() somewhere at the beginning of patch.c . -- | Bob Smith _ 835 Mammoth Rd. _ Dracut, MA 01826 _ 508-670-6712 | Path: uunet!spool.mu.edu!sdd.hp.com!caen!sharkey!wyn386!wybbs!wizard!bob