This is not a bug.
Just extract all your lib*.a library files
find . -name "*.a" -exec ar x \{\} \; -print
ar rc libnew.a *.o
HTH,
Vamsi Kundeti.
On Tue, Mar 18, 2008 at 6:05 PM, muni2773 <[EMAIL PROTECTED]> wrote:
>
> Folks I am trying to embed a static lib in a new lib that I am creating wit
Hello,
Dont use 'ld' directly to create the shared libraries. Use gcc
--shared. I had the same problem earlier and this seems to be the
workaround.
<-->
$ gcc -Wall -W -fPIC -c -o oldlib.o oldlib.c
$ gcc --shared -o liboldlib.so oldlib.o
<--
Hello All,
Recently we have moved all libraries to be in fPIC mode (recompiled all
the binaries with -fPIC option), and we have a static linking happening
but ld fails with the following message.
hidden symbol `__dso_handle' in /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/crtbegin.o is referenced b