stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liviu Nicoara <>
Subject Re: error compiling on linux
Date Thu, 10 Jan 2013 16:38:44 GMT
On 01/08/13 12:09, Winon wrote:
> When trying to compile the svn trunk on linux 64 bit with gcc 4.7.2
> (Debian 4.7.2-17), I get an error with a previous declaration of
> __mbstate_t.

Unfortunately, I could not reproduce the error on my Debian:

$ uname -a; gcc -v
Linux debbie 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--program-suffix=-4.4 --enable-shared --enable-multiarch 
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix 
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib 
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --with-arch-32=i586 --with-tune=generic 
--enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)

I built the library using (custom-built) gcc 4.7.2 as well:

$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.2/configure --prefix=/opt/gcc/4_7_2 
--enable-threads=posix --enable-languages=c,c++,objc --enable-shared 
--disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp 
--enable-lto --with-gnu-ld --verbose --enable-multilib
Thread model: posix
gcc version 4.7.2 (GCC)

Please be advised that BUILDMODE is different than BUILDTYPE, see top 
GNUmakefile in trunk.


View raw message