jiangjun@ubuntu:/tmp/qt-x11-opensource-src-4.1.0$ make
cd src && make
make[1]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src'
cd tools/moc && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/moc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/moc'
cd tools/rcc && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/rcc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/rcc'
cd tools/uic && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/uic'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/tools/uic'
cd corelib && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
make -f Makefile.Debug all
make[3]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
make -f Makefile.Release all
make[3]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/corelib'
cd xml && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
make -f Makefile.Debug all
make[3]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
make -f Makefile.Release all
make[3]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/xml'
cd gui && make
make[2]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/gui'
make -f Makefile.Debug all
make[3]: Entering directory `/tmp/qt-x11-opensource-src-4.1.0/src/gui'
g++ -c -pipe -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REEN TRANT -fPIC -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -DQT_BUILD_GUI_LIB -DQT_ NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE _SSE -DQT_PDF_SUPPORT -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSXP -DQT_CORE_LIB -D _LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../in clude/QtCore -I../../include -I../../include/QtGui -I../3rdparty/libpng -I../3rd party/zlib -I.moc/debug-shared -I/usr/X11R6/include -I. -o .obj/debug-shared/qap plication.o kernel/qapplication.cpp
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
from kernel/qapplication.cpp:51:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:50:22: error: X11 /Xlib.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:55:23: error: X11 /Xutil.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:56:21: error: X11 /Xos.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:57:23: error: X11 /Xatom.h: 没有那个文件或目录
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:246: 错误:‘Color map’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: 错误:ISO C+ + 不允许声明无类型的 ‘Visual’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: 错误:expect ed ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:260: 错误:‘Windo w’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:263: 错误:‘Windo w’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:264: 错误:‘Windo w’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:264: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:265: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:266: 错误:‘Windo w’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:266: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: 错误:expect ed ‘,’ or ‘...’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: 错误:ISO C+ + 不允许声明无类型的 ‘XSelectionRequestEvent’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:279: 错误:‘Atom’ 未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: 错误:‘Atom’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: 错误:ISO C+ + 不允许声明无类型的 ‘Atom’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: 错误:expect ed ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: 错误:ISO C+ + 不允许声明无类型的 ‘Window’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: 错误:expect ed ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: 错误:‘Windo w’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: 错误:‘Time’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:339: 错误:‘Time’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: 错误:ISO C+ + 不允许声明无类型的 ‘Visual’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: 错误:expect ed ‘;’ before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:366: 错误:‘Color map’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:518: 错误:‘Atom’ 没有命名一个类型
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:528: 错误:‘Focus Out’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:529: 错误:‘Focus In’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:530: 错误:‘KeyPr ess’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:531: 错误:‘KeyRe lease’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:532: 错误:‘None’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:533: 错误:‘Rever tToParent’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:534: 错误:‘GrayS cale’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:535: 错误:‘Curso rShape’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:550: 错误:‘XPoin t’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:550: 错误:模板参 数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:550: 错误:显式特 例化非模板 ‘<type error>’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:551: 错误:‘XRect angle’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:551: 错误:模板参 数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:551: 错误:显式特 例化非模板 ‘<type error>’
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:552: 错误:‘XChar 2b’ 在此作用域中尚未声明
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:552: 错误:模板参 数 1 无效
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:552: 错误:显式特 例化非模板 ‘<type error>’
kernel/qapplication.cpp: In member function ‘void QApplicationPrivate::initializ e()’:
kernel/qapplication.cpp:724: 警告:未使用的变量 ‘q’
make[3]: *** [.obj/debug-shared/qapplication.o] 错误 1
make[3]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/gui'
make[2]: *** [debug-all] 错误 2
make[2]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src/gui'
make[1]: *** [sub-gui-make_default-ordered] 错误 2
make[1]: Leaving directory `/tmp/qt-x11-opensource-src-4.1.0/src'
make: *** [sub-src-make_default-ordered] 错误 2
-------
希望大牛能够告诉我怎么解决
装QT4.0出现的make错误,编译没有问题
-
- 帖子: 5
- 注册时间: 2006-04-18 17:49
-
- 帖子: 5
- 注册时间: 2006-04-18 17:49