[uClibc]undefined reference to std::char_traits<wchar_t>

Mindy J. Pereira Mindy.J.Pereira at Dartmouth.EDU
Sat May 17 18:13:21 UTC 2003



I'm using the uclibc root_fs-i386 on redhat linux 7.1 to compile and statically link to a set of 3rd party libraries (the getronics esnacc asn1 library). The libraries compile and statically link correctly using my regular file system and gcc3.2.2. However, when I attempt to statically link to the library inside the uclibc file system, I get:

../../lib/libsm.a(sm_Attr.o): In function `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::c_str() const':
/home/minp/thesis/SMIME/libsrc/lolevel/../../../SMPDist/esnacc/c++/inc/asn-list.h:653: undefined reference to `std::char_traits<wchar_t>::assign(wchar_t&, wchar_t const&)'

etc. 

Can anyone tell me what I am doing wrong? Does uclibc not support wchar in the root file system? 

thanks.


More information about the uClibc mailing list