This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 4.4.0: libstdc++.so has undef references to prior gcc versions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]