This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference __eh_pc
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- To: "Nuno Filipe R. Ferreira" <nuno dot ferreira at globalti dot pt>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 1 Dec 2001 17:40:35 -0500
- Subject: Re: undefined reference __eh_pc
- References: <20011130200452.A32519@disaster.jaj.com> <024e01c17a68$9695c630$6edca8c0@globals.interno>
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