This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ld problems creating shared libraries
- To: "'binutils at sourceware dot cygnus dot com'" <binutils at sourceware dot cygnus dot com>
- Subject: ld problems creating shared libraries
- From: Martin Waller <martin dot waller at seagatesoftware dot com>
- Date: Tue, 30 Jan 2001 05:04:41 -0800
Hello,
I'm trying to use ld (GNU ld version 2.9.5 (with BFD 2.9.5.0.22)) to create
a shared library by using the -shared command line option. This on its own
seems to work fine but then I want to resolve symbols within the library
against the library and not against symbols in the main program. To do this
I add the -Bsymbolic flag. At this point I get a whole load of unresolved
symbols which I'm not expecting; I would expect all these symbols to be
resolved at load time.
This technique seems to work fine on other platforms, SUN etc, but fails
here ?
Does anyone have any ideas ?
Martin