Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: ld and shared object creation
  2000-03-20  5:00 ld and shared object creation Usman Muzaffar
@ 2000-03-20  5:00 ` Sue Gleeson
  2000-03-28  5:00   ` /WB/
  0 siblings, 1 reply; 3+ messages in thread
From: Sue Gleeson @ 2000-03-20  5:00 UTC (permalink / raw)


Check the man page - there's an -expect_unresolved flag that
should do what you want.

Sue

In article <38D65B13.25D49E44@thynne.psych.nwux.edu>,
	Usman Muzaffar <usman@thynne.psych.nwux.edu> writes:
> 
> Hi -
> 
> I'm using /bin/ld -shared to create shared object. 
> Works great. But I get warnings for unresolved symbols
> (expected, the executable that uses the so is linked to
> other libraries this one depends on) and more irritatingly
> I always get a location_file ('so_locations') created.
> 
> How can I turn off these two features? Couldn't find
> anything in ld man page or Tru64 Unix Programmer's guide.
> 
> thanks,
> usman
> usman@thynne.psych.nwux.edu
> remove x from above to reply if present



^ permalink raw reply	[flat|nested] 3+ messages in thread

* ld and shared object creation
@ 2000-03-20  5:00 Usman Muzaffar
  2000-03-20  5:00 ` Sue Gleeson
  0 siblings, 1 reply; 3+ messages in thread
From: Usman Muzaffar @ 2000-03-20  5:00 UTC (permalink / raw)



Hi -

I'm using /bin/ld -shared to create shared object. 
Works great. But I get warnings for unresolved symbols
(expected, the executable that uses the so is linked to
other libraries this one depends on) and more irritatingly
I always get a location_file ('so_locations') created.

How can I turn off these two features? Couldn't find
anything in ld man page or Tru64 Unix Programmer's guide.

thanks,
usman
usman@thynne.psych.nwux.edu
remove x from above to reply if present



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ld and shared object creation
  2000-03-20  5:00 ` Sue Gleeson
@ 2000-03-28  5:00   ` /WB/
  0 siblings, 0 replies; 3+ messages in thread
From: /WB/ @ 2000-03-28  5:00 UTC (permalink / raw)


Or just link with the libraries that contain the symbols (ie: -lm -lX11
...)

Check out the -check_registry and -update_registry options for ld (the
system so_location file is located in /usr/shlib )

/WB/

Sue Gleeson wrote:
> 
> Check the man page - there's an -expect_unresolved flag that
> should do what you want.
> 
> Sue
> 
> In article <38D65B13.25D49E44@thynne.psych.nwux.edu>,
>         Usman Muzaffar <usman@thynne.psych.nwux.edu> writes:
> >
> > Hi -
> >
> > I'm using /bin/ld -shared to create shared object.
> > Works great. But I get warnings for unresolved symbols
> > (expected, the executable that uses the so is linked to
> > other libraries this one depends on) and more irritatingly
> > I always get a location_file ('so_locations') created.
> >
> > How can I turn off these two features? Couldn't find
> > anything in ld man page or Tru64 Unix Programmer's guide.
> >
> > thanks,
> > usman
> > usman@thynne.psych.nwux.edu
> > remove x from above to reply if present



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-03-28  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-20  5:00 ld and shared object creation Usman Muzaffar
2000-03-20  5:00 ` Sue Gleeson
2000-03-28  5:00   ` /WB/

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