This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problem with latest cvs


Hi.

I have checked out the latest CVS tree (gcc-3_0-branch)
and built a c/c++ compiler for a i686/linux system.

This simple program does not compile:

#include <vector>
using std::vector;
int main(){
    vector<int> v(10);
    return 0;
}

The error is:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/libstdc++.so:
   undefined reference to `std::locale::id::_S_highwater'

I configured the built with:

/usr/local/src/gcc/gcc/configure --enable-shared
--enable-version-specific-runtime-libs --with-gnu-as
--with-gnu-ld --enable-threads=posix --enable-checking
--enable-languages=c,c++ --enable-clocale=generic 
--enable-long-long

I have tried different configurations but the error remains.
Perhaps I do something wrong.

bye Ralf.

P.S: If this question isn't new to this mailing list, sorry,
I have found nothing about this topic in the archive.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]