From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f30003a6671314e X-Google-Attributes: gidfee84,public From: Joe Mario Subject: Re: /usr/bin/ld output Date: 1999/08/13 Message-ID: <37B48189.EAAF72E1@zk3.dec.com>#1/1 X-Deja-AN: 512393704 Content-Transfer-Encoding: 7bit References: <7p1ami$vmc$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UBPG Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 skettle@my-deja.com wrote: > When I try to link when building a binary I get unresolved references: > eg. > > /usr/bin/ld: > Unresolved: > foo(int) > bar(int*,int*) > ... > Is there any flag to ld that turns will prints out this type of info ? See the linker's manpage "man ld" for the -y flag. That flag is position dependent so it needs to appear early in the link line so the linker knows to search for the symbol in subsequent objects and libraries. Joe Mario