Strange error with the most recent libstdc++ snapshot
Luke Mauldin
lukem64@hotmail.com
Sat Dec 30 18:06:00 GMT 2000
I downloaded the most recent libstdc++ snapshot from libstdc++'s homepage
and replaced the libstdc++-v3 directory in Redhat's gcc with the snapshot of
libstdc++ that I downloaded. To rebuild gcc/g++ I instructed it to use
libstdc++-v3 and during configure it said it was using v3. It built the
library without any errors and built RPMS for it as well. I installed the
new gcc/g++ rpms as well as the new libstdc++ RPMS. I have a small c++
program that I have coded that uses iostream and stdlib and it complies ok
but when I try to link the program I get a strange error:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.so: undefined reference to
'_IO_file_xsgent'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.so: undefined reference to
'_IO_no_init'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/libstdc++.so: undefined reference to
'_IO_file_doallocate'
I have checked in /usr/lib and libstdc++.so points to libstdc++.3.0.0 which
seems right to me. I don't know what else to do/check and I don't think
RedHat will help me since I'm using a libstdc++ snapshot I download from
libstdc++'s homepage. Can anyone here help me?
Luke
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the Libstdc++
mailing list