Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site cbneb.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!bellcore!sabre!zeta!epsilon!gamma!ulysses!mhuxr!ihnp4!cbosgd!cbsck!cbneb!adm From: adm@cbneb.UUCP Newsgroups: net.micro.mac Subject: Re: Megamax C Message-ID: <3166@cbneb.UUCP> Date: Tue, 21-May-85 19:24:48 EDT Article-I.D.: cbneb.3166 Posted: Tue May 21 19:24:48 1985 Date-Received: Fri, 24-May-85 07:44:16 EDT Sender: adm@cbneb.UUCP Organization: AT&T Bell Laboratories, Columbus, OHIO Lines: 19 Nf-ID: #R:unisoft:-45900:cbnap:63200008:000:720 Nf-From: cbnap!whp May 21 16:04:00 1985 > ... > static int fred() > { > } > > this compiles without error (as it should) but when you link it it > gives a message '(local) identifier not found fred', or something > to that effect. So far so good ... this gives us a reasonable idea > of the problem, and a fix, but read on ... Doesn't sound like a but to me! Since function fred() is defined as static, no references to fred() are allowed outside this dot-c file. So it will compile, but when you link with another dot-c, any reference to fred() in the second dot-c should produce unresolved external declaration errors (which is what you're seeing with '...identifier not found' messages). Get rid of the "static" in front of "int fred()" and try it.