This is the mail archive of the gcc@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: undefined reference __eh_pc


On Sat, Dec 01, 2001 at 01:03:36PM -0000, Nuno Filipe R. Ferreira wrote:
> > > This software was looking for libstdc++*.2.8.so. A symbolic 
> > 
> > What did you symlink this filename to?
> 
> Symlinked it to /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
                                     ^
That's not a good idea.              |
                                     |
                                     |
                                     |
                                     This is a 3, not a 2.  If a program
                                     wants libstdc++-2.x, giving it version
                                     3.x is only going to cause problems.

> Also, I've tried both rebuilding libstdc++-2.8.SRPMS and compiling the
> libstdc++-2.8.tar.gz, but it breaks with lots of declarations with
> exception specifications in libio.h.
> Can you help with this problem?

Not really; the libstdc++-2.x code is no longer maintained, and I am not
very familiar with it.  The glibc project makes libio.h, and they write very
"modern" code, i.e., not compatible with older compilers or libraries.

Since you mentioned SRPMS, I suggest you ask in a Red Hat support forum;
they may have solved this problem already.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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