Path: utzoo!utgpu!water!watmath!clyde!burl!codas!killer!jolnet!tarkus!jcs From: jcs@tarkus.UUCP (John C. Sucilla) Newsgroups: comp.sys.att Subject: Re: Problem with ld and string table Summary: How to get around your link problem Message-ID: <33@tarkus.UUCP> Date: 14 Jan 88 01:43:15 GMT References: <2244@bloom-beacon.MIT.EDU> Organization: tarkus -- Calumet City, IL. Lines: 26 In article <2244@bloom-beacon.MIT.EDU>, malevine@athena.mit.edu (Mark A Levine) writes: > > I'm trying to bring up Kyoto Common Lisp on an AT&T 3B2/300 running > System V version 2.0. However, I'm running into a problem when I try > to link all of the object files together. The command I'm using to > link the object files is: > > cc -o raw_kcl -lm > > There are some 100 or so object files to be linked. When I try to run > this, I get the following error message (for example): > > ld fatal: fail to write symbol name Lapplyhook in string table for file raw_kcl > Linking a large number of .o's requires ld to be executed more than once. You need to create intermediate output files that havent been stripped. This means the symbol table has to be there when you do the final ld run. Try this: ld 1/2 your .o's with the -r option and without the -s option ld the other 1/2 of your .o's with -r and without -s ld the two output files from the above two steps without -r That should do it. If it doesnt, try 3 passes...