Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!crash!mstreet From: mstreet@crash.cts.com (Michael Street) Newsgroups: comp.unix.questions Subject: Linking Stub functions for testing Keywords: Link Editor (ld) Message-ID: <3898@crash.cts.com> Date: 9 Mar 89 21:26:25 GMT Reply-To: mstreet@crash.CTS.COM (Michael Street) Distribution: na Organization: Crash TS, El Cajon, CA Lines: 19 I'm trying to test a C source code file that contains several separate functions, one function at a time. To do this, I need to stub out the other functions by linking in stub functions of the same name. I have not been able to determine how to do this as the linker returns a multiply defined symbol error. There should be a way to tell the Link Editor to ignore any previous definitions and use the last one. I do not want to touch the existing source file. I would appreciate any help in this matter. Thank you. Michael Street -- UUCP: {cbosgd, hplabs!hp-sdd, sdcsvax, nosc}!crash!mstreet ARPA: crash!mstreet@nosc.mil INET: mstreet@crash.cts.com PAPERNET: 1184 Blackbird St. El Cajon, CA. 92020 SOUNDNET: (619) 449-3515 Spock: "They are not the hell your whales."