This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
cannot link [against] shared libraries
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: cannot link [against] shared libraries
- From: "Michalski, Rafał" <RMichalski at era dot pl>
- Date: Fri, 27 Jul 2001 10:40:40 +0200
After upgrading my compiler to 3.0,
I am no longer able to link against
the Xerces XML parser shared library.
The same C++ program that linked well under 2.95.3
now produces unresolved symbols messages
about library symbols.
The reason for upgrade was
to get rid of the compiler bug
when gdb cannot see variables declared
in nested scopes.
Building the library itself
is lo longer possible due to ld errors.
Are some extra options necessary in 3.0 to build/link against .so ?
My platforms are Slackware Linux 8.0
and Sparc Solaris 8.
Rafal Michalski