当前位置: 技术问答>linux和unix
make ARCH=arm xconfig 问题
来源: 互联网 发布时间:2016-11-09
本文导语: 我在fedora上运行 make ARCH=arm xconfig 出现如下错误: HOSTCXX scripts/kconfig/qconf.o scripts/kconfig/qconf.cc:6:26: error: qapplication.h: No such file or directory scripts/kconfig/qconf.cc:7:25: error: qmainwindow.h: No such file or directory scripts/kco...
我在fedora上运行
make ARCH=arm xconfig
出现如下错误:
HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:26: error: qapplication.h: No such file or directory
scripts/kconfig/qconf.cc:7:25: error: qmainwindow.h: No such file or directory
scripts/kconfig/qconf.cc:8:22: error: qtoolbar.h: No such file or directory
scripts/kconfig/qconf.cc:9:21: error: qlayout.h: No such file or directory
scripts/kconfig/qconf.cc:10:19: error: qvbox.h: No such file or directory
scripts/kconfig/qconf.cc:11:23: error: qsplitter.h: No such file or directory
scripts/kconfig/qconf.cc:12:23: error: qlistview.h: No such file or directory
scripts/kconfig/qconf.cc:13:26: error: qtextbrowser.h: No such file or directory
scripts/kconfig/qconf.cc:14:23: error: qlineedit.h: No such file or directory
scripts/kconfig/qconf.cc:15:20: error: qlabel.h: No such file or directory
scripts/kconfig/qconf.cc:16:25: error: qpushbutton.h: No such file or directory
scripts/kconfig/qconf.cc:17:22: error: qmenubar.h: No such file or directory
scripts/kconfig/qconf.cc:18:25: error: qmessagebox.h: No such file or directory
scripts/kconfig/qconf.cc:19:21: error: qaction.h: No such file or directory
scripts/kconfig/qconf.cc:20:21: error: qheader.h: No such file or directory
scripts/kconfig/qconf.cc:21:25: error: qfiledialog.h: No such file or directory
scripts/kconfig/qconf.cc:22:25: error: qdragobject.h: No such file or directory
scripts/kconfig/qconf.cc:23:21: error: qregexp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:7:25: error: qmetaobject.h: No such file or directory
scripts/kconfig/qconf.moc:10:34: error: private/qucomextra_p.h: No such file or directory
scripts/kconfig/qconf.moc:12:2: error: #error "This file was generated using the moc from 3.1.1. It"
scripts/kconfig/qconf.moc:13:2: error: #error "cannot be used with the include files from this version of Qt."
scripts/kconfig/qconf.moc:14:2: error: #error "(The moc has changed too much.)"
scripts/kconfig/qconf.moc:116:25: error: qobjectdefs.h: No such file or directory
scripts/kconfig/qconf.moc:117:28: error: qsignalslotimp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:28:
...
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:17: error: no ‘const char* ConfigList::className() const’ member function declared in class ‘ConfigList’
scripts/kconfig/qconf.moc:22: error: expected constructor, destructor, or type conversion before ‘*’ token
scripts/kconfig/qconf.moc:23: error: ‘QMetaObjectCleanUp’ does not name a type
scripts/kconfig/qconf.moc:26: error: ‘QString’ does not name a type
scripts/kconfig/qconf.moc:34: error: ‘QString’ does not name a type
scripts/kconfig/qconf.moc:45: error: expected constructor, destructor, or type conversion before ‘*’ token
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [xconfig] Error 2
怎么改正?
make ARCH=arm xconfig
出现如下错误:
HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:26: error: qapplication.h: No such file or directory
scripts/kconfig/qconf.cc:7:25: error: qmainwindow.h: No such file or directory
scripts/kconfig/qconf.cc:8:22: error: qtoolbar.h: No such file or directory
scripts/kconfig/qconf.cc:9:21: error: qlayout.h: No such file or directory
scripts/kconfig/qconf.cc:10:19: error: qvbox.h: No such file or directory
scripts/kconfig/qconf.cc:11:23: error: qsplitter.h: No such file or directory
scripts/kconfig/qconf.cc:12:23: error: qlistview.h: No such file or directory
scripts/kconfig/qconf.cc:13:26: error: qtextbrowser.h: No such file or directory
scripts/kconfig/qconf.cc:14:23: error: qlineedit.h: No such file or directory
scripts/kconfig/qconf.cc:15:20: error: qlabel.h: No such file or directory
scripts/kconfig/qconf.cc:16:25: error: qpushbutton.h: No such file or directory
scripts/kconfig/qconf.cc:17:22: error: qmenubar.h: No such file or directory
scripts/kconfig/qconf.cc:18:25: error: qmessagebox.h: No such file or directory
scripts/kconfig/qconf.cc:19:21: error: qaction.h: No such file or directory
scripts/kconfig/qconf.cc:20:21: error: qheader.h: No such file or directory
scripts/kconfig/qconf.cc:21:25: error: qfiledialog.h: No such file or directory
scripts/kconfig/qconf.cc:22:25: error: qdragobject.h: No such file or directory
scripts/kconfig/qconf.cc:23:21: error: qregexp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:7:25: error: qmetaobject.h: No such file or directory
scripts/kconfig/qconf.moc:10:34: error: private/qucomextra_p.h: No such file or directory
scripts/kconfig/qconf.moc:12:2: error: #error "This file was generated using the moc from 3.1.1. It"
scripts/kconfig/qconf.moc:13:2: error: #error "cannot be used with the include files from this version of Qt."
scripts/kconfig/qconf.moc:14:2: error: #error "(The moc has changed too much.)"
scripts/kconfig/qconf.moc:116:25: error: qobjectdefs.h: No such file or directory
scripts/kconfig/qconf.moc:117:28: error: qsignalslotimp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:28:
...
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:17: error: no ‘const char* ConfigList::className() const’ member function declared in class ‘ConfigList’
scripts/kconfig/qconf.moc:22: error: expected constructor, destructor, or type conversion before ‘*’ token
scripts/kconfig/qconf.moc:23: error: ‘QMetaObjectCleanUp’ does not name a type
scripts/kconfig/qconf.moc:26: error: ‘QString’ does not name a type
scripts/kconfig/qconf.moc:34: error: ‘QString’ does not name a type
scripts/kconfig/qconf.moc:45: error: expected constructor, destructor, or type conversion before ‘*’ token
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [xconfig] Error 2
怎么改正?
|
头文件的路径没指定对把