@Wisota: Before everything. It starts on the first call to g++. There is this option -I/usr/lib/qt3/mkspecs/linux-g++/ that is inserted with every call but comes from I don't know where.
@Dusdan: Yes I run ./configure without option. I tried once ./configure -release (on a freshly decompressed archive) but it made no difference.
@AlexKiriukha: My QTDIR is "/usr/lib/qt3". Here's what I see just before the error:
------------
g++ -c -o qfsfileengine_unix.o -pipe -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/arch/generic -I/home/maxilys/qt-x11-opensource-src-4.1.0/include -I/home/maxilys/qt-x11-opensource-src-4.1.0/include/QtCore -I/home/maxilys/qt-x11-opensource-src-4.1.0/include -I/home/maxilys/qt-x11-opensource-src-4.1.0/include/QtCore -I/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/global -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS -I/usr/lib/qt3/mkspecs/linux-g++/ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT /home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp
/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘bool QFSFileEnginePrivate::doStat() const’:
/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp:283: error: ‘QT_LSTAT’ was not declared in this scope
/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp: In member function ‘virtual bool QFSFileEngine::setSize(qint64)’:
/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp:540: error: ‘QT_FTRUNCATE’ was not declared in this scope
/home/maxilys/qt-x11-opensource-src-4.1.0/src/corelib/io/qfsfileengine_unix.cpp:542: error: ‘QT_TRUNCATE’ was not declared in this scope
gmake: *** [qfsfileengine_unix.o] Erreur 1
------------
Bookmarks