problem with latest cvs

R. Sinoradzki
Sun Mar 25 07:53:00 GMT 2001


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:
   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 

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.

More information about the Libstdc++ mailing list