This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Strange error with the most recent libstdc++ snapshot
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: Strange error with the most recent libstdc++ snapshot
- From: "Luke Mauldin" <lukem64 at hotmail dot com>
- Date: Sun, 31 Dec 2000 09:22:41 -0600
>It seems like you're not using the -L command line switch to tell the
>compiler where to find the newly installed library...
>
>| /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.
>
>What is the result of the following?
>
> nm /usr/lib/libstdc++.so | c++filt | grep _IO_
The result is
U _IO_default_pbackfail@@GLIBC_2.0
U _IO_default_uflow@@GLIBC_2.0
U _IO_file_attach@@GLIBC_2.1
U _IO_file_close@@GLIBC_2.0
U _IO_file_close_it@@GLIBC_2.1
U _IO_file_doallocate@@GLIBC_2.0
U _IO_file_finish@@GLIBC_2.1
U _IO_file_init@@GLIBC_2.1
U _IO_file_jumps@@GLIBC_2.0
U _IO_file_open@@GLIBC_2.0
U _IO_file_overflow@@GLIBC_2.1
U _IO_file_read@@GLIBC_2.0
U _IO_file_seek@@GLIBC_2.0
U _IO_file_seekoff@@GLIBC_2.1
U _IO_file_setbuf@@GLIBC_2.1
U _IO_file_stat@@GLIBC_2.0
U _IO_file_sync@@GLIBC_2.1
U _IO_file_underflow@@GLIBC_2.1
U _IO_file_write@@GLIBC_2.1
U _IO_file_xsgetn
U _IO_file_xsputn@@GLIBC_2.1
U _IO_no_init
U _IO_un_link@@GLIBC_2.0
U _IO_wfile_doallocate
U _IO_wfile_overflow@@GLIBC_2.2
U _IO_wfile_seekoff@@GLIBC_2.2
U _IO_wfile_setbuf@@GLIBC_2.2
U _IO_wfile_sync@@GLIBC_2.2
U _IO_wfile_underflow@@GLIBC_2.2
U _IO_wfile_xsputn@@GLIBC_2.2
000625c0 W _IO_FILE type_info function
000c3b70 B _IO_FILE type_info node
It seems like the functions are there, such as _IO_no_init, how do I tell
the linker where to find the new library? I thought if I recomplied all of
gcc that it would find it automactially?
P.S. Yes I have run /sbin/ldconfig after installing the new library.
Luke
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com