Hi again,
Thanks for the suggestion, but I'm not altogether sure that mixed rpms is
the source of the problem...libstdc++.so is linked to the RH6 library, and
I'm pretty sure that I installed all the c++ stuff from the RH6
distro...it seems odd to me that the compile process is looking for a
symbol which is included in a library in /usr/lib, and I can't see any
libstdc++-devel package with headers in the RH6 RPMs...
As a matter of interest, why did redhat opt for egcs over gcc for RH6? I
have a sneaking suspicion that the problem's there. I wish I knew more about
the internal workings of the compiler... the oddest thing about the whole
story is that every write/read up to the last works, and the programs only
core dump for the last one (it seems). And unfortunately the last one is
the one of interest in most cases :)
What packages are needed to successfully compile a c++ program?
Are egcs, egcs-c++ and libstdc++ all that's needed?
Thanks a lot,
Dave.
On Mon, 4 Oct 1999, David Neary wrote:
> 1) First run, I got a number of "Undefined reference to `__eh_pc'" errors,
> with "more to follow". Eventually, I figured that __eh_pc is part of
> libstdc++.so, which is in /usr/lib, which was a little odd...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!