This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined reference to '__uselocale@GLIBC_2.3' on Linux
- From: "Ashish Ranjan" <ashish at ip-unity dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 10 Oct 2003 17:25:51 -0700
- Subject: undefined reference to '__uselocale@GLIBC_2.3' on Linux
Hi,
I am trying to port an C++ based application to Linux from Solaris.
compilation goes well but for link I am getting errors as below.
--------------
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libgcc_s.so: undefined reference to
`dl_iterate_phdr@GLIBC_2.2.4'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libstdc++.so: undefined reference
to `__strftime_l@GLIBC_2.3'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libstdc++.so: undefined reference
to `__wcsftime_l@GLIBC_2.3'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/libstdc++.so: undefined reference
to `__uselocale@GLIBC_2.3'
--------------
Application uses pthreads, oracle 9.2.0.1.0 libs, commoncpp2 version 1.0.8
I am using RedHat Linux 9.0, gcc/libstdc++ 3.2.2 and glibc 2.3.2.
Thanks in Advance,
Ashish