From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,98be1995d1f46bc1 X-Google-Attributes: gidfee84,public From: /WB/ Subject: Re: ld and shared object creation Date: 2000/03/28 Message-ID: <38E059E5.9EBD56A0@slashwb.org>#1/1 X-Deja-AN: 603300422 Content-Transfer-Encoding: 7bit References: <38D65B13.25D49E44@thynne.psych.nwux.edu> <8b61as$igq$1@lead.zk3.dec.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@home.net X-Trace: news1.frmt1.sfba.home.com 954227173 24.11.133.229 (Mon, 27 Mar 2000 23:06:13 PST) Organization: @Home Network MIME-Version: 1.0 Reply-To: WB@slashwb.org NNTP-Posting-Date: Mon, 27 Mar 2000 23:06:13 PST Newsgroups: comp.unix.osf.osf1 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 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