Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Mario <mario@zk3.dec.com>
Subject: Re: /usr/bin/ld output
Date: 1999/08/13	[thread overview]
Message-ID: <37B48189.EAAF72E1@zk3.dec.com> (raw)
In-Reply-To: 7p1ami$vmc$1@nnrp1.deja.com

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<sym> 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 <sym> in subsequent objects and
libraries.

Joe Mario





      reply	other threads:[~1999-08-13  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-13  4:00 /usr/bin/ld output skettle
1999-08-13  4:00 ` Joe Mario [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox