profile-image

molostoff

Vasiliy Molostov Moscow, Russian Federation
FSME Development
Aug 30 2011
FSME Development
I've followed instructions from main web page from sf.net and tried to compile, but got this error with "std::auto_ptr" :

g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DLONG64 -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I../kernel -I../diagram -I.. -I.moc -I.ui -o .obj/main.o main.cpp
In file included from main.cpp:22:0:
MainWindow.h:49:5: error: 'auto_ptr' in namespace 'std' does not name a type
make[1]: *** [.obj/main.o] Error 1

----------

g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --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.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

---------

what is wrong with that auto_ptr?
Aug 30 2011
Wicd Client KDE Network
Aug 09 2011
Wicd Client KDE Network
Aug 06 2011
KBookOCR Office
Jun 24 2011
KBookOCR Office
Jun 22 2011
image2pdf Dolphin Service Menus
Jan 26 2011
Oldies Radio Stations Amarok 2.x Scripts
Nov 25 2010
Service Monitor KDE4 Extensions
Nov 09 2010
KGraphViewer and KGraphEditor Graphics
Nov 04 2010