Date: Wed, 3 Jun 2009 07:48:43 +1000 From: Stephen Hocking <stephen.hocking@gmail.com> To: ports@freebsd.org Subject: QT4 build errors under RELENG_7 Message-ID: <6300771b0906021448l16eb9cc1ia3d20c0948b97a97@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, Have had a long-standing problem building QT4 under 7.2. Basically it errors out with some undefined constants (which one can find in qplatformdefs.h), but this file is apparently being included in the file in question. Most puzzling. Here's the build failure: c++ -c -O2 -fno-strict-aliasing -pipe -fno-exceptions -O2 -fno-strict-aliasing -pipe -Wall -W -DQT_BOOTSTRAPPED -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_DATASTREAM -DQT_NO_TEXTSTREAM -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_THREAD -DQT_NO_REGEXP -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_GEOM_VARIANT -DQT_NO_USING_NAMESPACE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I. -I.uic/release-shared -I/usr/local/include -o release-shared/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp ../../corelib/io/qfsfileengine.cpp: In member function 'bool QFSFileEnginePrivate::openFh(QFlags<QIODevice::OpenModeFlag>, FILE*)': ../../corelib/io/qfsfileengine.cpp:305: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::posFdFh() const': ../../corelib/io/qfsfileengine.cpp:518: error: 'QT_FTELL' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'bool QFSFileEnginePrivate::seekFdFh(qint64)': ../../corelib/io/qfsfileengine.cpp:548: error: 'QT_OFF_T' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:548: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::readFdFh(char*, qint64)': ../../corelib/io/qfsfileengine.cpp:623: error: 'QT_FTELL' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:623: error: 'QT_FSEEK' was not declared in this scope ../../corelib/io/qfsfileengine.cpp: In member function 'qint64 QFSFileEnginePrivate::readLineFdFh(char*, qint64)': ../../corelib/io/qfsfileengine.cpp:694: error: 'QT_OFF_T' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:694: error: expected `;' before 'oldPos' ../../corelib/io/qfsfileengine.cpp:699: error: 'oldPos' was not declared in this scope ../../corelib/io/qfsfileengine.cpp:699: error: 'QT_FTELL' was not declared in this scope *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.3/src/tools/moc. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4-moc. *** Error code 1 Stop in /src/FreeBSD/ports/accessibility/qt4-accessible. *** Error code 1 Stop in /src/FreeBSD/ports/devel/qt4.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6300771b0906021448l16eb9cc1ia3d20c0948b97a97>