[root@localhost qt]# ./configure -gif -static
Build type: linux-g++-static
Compile flags: -DQT_BUILTIN_GIF_READER -I$(QTDIR)/src/3rdparty/zlib -I$(QTDIR)/src/3rdparty/libpng
Link flags:
GIF supports: yes
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
[root@localhost qt]# make
cd src/moc; make
make[1]: Entering directory `/usr/local/qt-2.0.2/src/moc'
g++ -c -I/usr/local/qt/include -Wno-unused -Wno-parentheses -pipe -O2 -DQT_NO_CODECS -I../../include -I. -o qtextcodec.o ../tools/qtextcodec.cpp
../tools/qtextcodec.cpp:870: 错误:声明友元时必须使用 class 关键字
../tools/qtextcodec.cpp:870: 错误:友元声明没有指定类或函数名
../tools/qtextcodec.cpp: In constructor ‘QTextCodecFromIODDecoder::QTextCodecFromIODDecoder(const QTextCodecFromIOD*)’:
../tools/qtextcodec.cpp:882: 错误:‘QMultiByteUnicodeTable* QTextCodecFromIOD::to_unicode_multibyte’ 是私有的
../tools/qtextcodec.cpp:1135: 错误:在此上下文中
../tools/qtextcodec.cpp: In member function ‘virtual QString QTextCodecFromIODDecoder::toUnicode(const char*, int)’:
../tools/qtextcodec.cpp:882: 错误:‘QMultiByteUnicodeTable* QTextCodecFromIOD::to_unicode_multibyte’ 是私有的
../tools/qtextcodec.cpp:1150: 错误:在此上下文中
make[1]: *** [qtextcodec.o] 错误 1
make[1]: Leaving directory `/usr/local/qt-2.0.2/src/moc'
make: *** [moc] 错误 2
大家给看看是什么原因阿
[ 此贴被XChinux在2007-08-12 23:00重新编辑 ]