gcc 4.4.0: libstdc++.so has undef references to prior gcc versions
Ian Lance Taylor
iant@google.com
Mon Jun 29 21:46:00 GMT 2009
Amitava Dutta <ad_101@yahoo.com> writes:
> The libstdc++.so that was built has many UNDEF references
> to symbols corresponding to prior versions of GCC.
>
> Why is that so and how do I correct that?
This is expected behaviour which should not be corrected.
> I'm trying to build GhostScript 8.64 using this compiler
> and encountered this error:
>
> /usr/local/gcc-4.4.0/lib/gcc/sparc-sun-solaris2.10/4.4.0/../../../libstdc++.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
This means that libstdc++.so is expecting a newer version of libgcc than
the one that it found. You may need to use LD_LIBRARY_PATH, or link
with -static-libgcc.
Ian
More information about the Gcc-help
mailing list