This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 3.2.2 and Red 9 link error
- From: Philip Cheng <cheng at pcigeomatics dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 23 Apr 2003 17:38:53 -0400 (EDT)
- Subject: gcc 3.2.2 and Red 9 link error
I posted this message before but I got no answer. I am trying this
again before I switch back to Red Hat 8. May be it is because gcc 3.2.2
was not tested on Red Hat 9 yet.
I tried to create a shared object library by linking together with the
stdc++ library and I got the following error
undefined versioned symbol name _ZdlPv@@GLIBCPP_3.2
ld: failed to set dynamic section sizes: Bad value
If I did not specify stdc++ library it would build the shared object
library successfully except it would core dumped when I ran my
application. Wonder which library did it find the missing symbol.
I have no problem when using gcc 3.2.2 on Red Hat 8.
Any ideas?
Philip