LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1132|回复: 7

无法使用make xconfig 编译2.6内核

[复制链接]
发表于 2003-11-29 14:20:01 | 显示全部楼层 |阅读模式
我安装了kde和gnome系统,但是在使用make xconfig时,总是告诉我没有安装qt库,我于是安装了许多带qt字样的deb包,比如libqt,libqt-dev等等,一大堆,但是还是提示错误,许许多的符号没有定义,错误信息滚了好几屏幕,
debian的最大缺点就是,一大堆的软件包不知道是干什么用的,想安装一个功能,却不知从何下手。
发表于 2003-11-29 16:51:05 | 显示全部楼层
 楼主| 发表于 2003-11-29 18:06:24 | 显示全部楼层
I can not install libqt3-mt-dev
error msg:xlibs-pic: Depends: xlibs (= 4.2.1-14) but 4.3.0-0ds4 is to be installed
 楼主| 发表于 2003-11-29 21:30:53 | 显示全部楼层
I have install libqt-mt-dev
but I do not run make xconfig

error messag(part ,all mesage too long):

  HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:26: qapplication.h: No such file or directory
scripts/kconfig/qconf.cc:7:25: qmainwindow.h: No such file or directory
scripts/kconfig/qconf.cc:8:22: qtoolbar.h: No such file or directory
scripts/kconfig/qconf.cc:9:19: qvbox.h: No such file or directory
scripts/kconfig/qconf.cc:10:23: qsplitter.h: No such file or directory
scripts/kconfig/qconf.cc:11:23: qlistview.h: No such file or directory
scripts/kconfig/qconf.cc:12:23: qtextview.h: No such file or directory
scripts/kconfig/qconf.cc:13:23: qlineedit.h: No such file or directory
scripts/kconfig/qconf.cc:14:22: qmenubar.h: No such file or directory
scripts/kconfig/qconf.cc:15:25: qmessagebox.h: No such file or directory
scripts/kconfig/qconf.cc:16:21: qaction.h: No such file or directory
scripts/kconfig/qconf.cc:17:21: qheader.h: No such file or directory
scripts/kconfig/qconf.cc:18:25: qfiledialog.h: No such file or directory
scripts/kconfig/qconf.cc:19:21: qregexp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:27:
scripts/kconfig/qconf.h:6:23: qlistview.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:27:
scripts/kconfig/qconf.h:13: error: parse error before `{' token
scripts/kconfig/qconf.h:18: error: destructors must be member functions
scripts/kconfig/qconf.h:22: error: parse error before `public'
scripts/kconfig/qconf.h:26: error: syntax error before `*' token
scripts/kconfig/qconf.h:27: error: syntax error before `*' token
scripts/kconfig/qconf.h:37: error: parse error before `{' token
scripts/kconfig/qconf.h:43: error: syntax error before `*' token
scripts/kconfig/qconf.h:51: error: `QKeyEvent' was not declared in this scope
scripts/kconfig/qconf.h:51: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:51: error: variable or field `keyPressEvent' declared
   void
scripts/kconfig/qconf.h:52: error: `QMouseEvent' was not declared in this scope
scripts/kconfig/qconf.h:52: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:52: error: variable or field `contentsMousePressEvent'
   declared void
scripts/kconfig/qconf.h:53: error: `QMouseEvent' was not declared in this scope
scripts/kconfig/qconf.h:53: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:53: error: variable or field `contentsMouseReleaseEvent
   ' declared void
scripts/kconfig/qconf.h:54: error: `QMouseEvent' was not declared in this scope
scripts/kconfig/qconf.h:54: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:54: error: variable or field `contentsMouseMoveEvent'
   declared void
scripts/kconfig/qconf.h:55: error: `QMouseEvent' was not declared in this scope
scripts/kconfig/qconf.h:55: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:55: error: variable or field `
   contentsMouseDoubleClickEvent' declared void
scripts/kconfig/qconf.h:56: error: `QFocusEvent' was not declared in this scope
scripts/kconfig/qconf.h:56: error: `e' was not declared in this scope
scripts/kconfig/qconf.h:56: error: variable or field `focusInEvent' declared
   void
scripts/kconfig/qconf.h:57: error: parse error before `public'
scripts/kconfig/qconf.h:64: error: syntax error before `:' token
scripts/kconfig/qconf.h:69: error: parse error before `public'
scripts/kconfig/qconf.h:73: error: ISO C++ forbids declaration of `updateList'
   with no type
scripts/kconfig/qconf.h:73: error: `int updateList' redeclared as different
   kind of symbol
scripts/kconfig/qconf.h:60: error: previous declaration of `void
   updateList(ConfigItem*)'
scripts/kconfig/qconf.h:73: warning: initialization to non-pointer type `int'
   from NULL
scripts/kconfig/qconf.h:73: warning: argument to non-pointer type `int' from
   NULL
scripts/kconfig/qconf.h:74: error: ISO C++ forbids declaration of `updateAll'
   with no type
scripts/kconfig/qconf.h:75: error: parse error before `}' token
scripts/kconfig/qconf.h: In function `ConfigList* listView()':
scripts/kconfig/qconf.h:78: error: invalid use of `this' in non-member function
scripts/kconfig/qconf.h: At global scope:
scripts/kconfig/qconf.h:81: error: non-member function `ConfigItem*
   firstChild()' cannot have `const' method qualifier
scripts/kconfig/qconf.h: In function `ConfigItem* firstChild()':
scripts/kconfig/qconf.h:82: error: `Parent' undeclared (first use this
   function)
scripts/kconfig/qconf.h:82: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
scripts/kconfig/qconf.h:82: error: parse error before `::' token
scripts/kconfig/qconf.h: In function `int mapIdx(colIdx)':
发表于 2003-11-29 21:46:27 | 显示全部楼层
安装tcl和tk
 楼主| 发表于 2003-11-29 23:37:17 | 显示全部楼层
I have install tcl and tk
I can compile kernel2.4, In 2.4,make xconfig use Tcl and Tk
but in 2.6 xconfig use qt
发表于 2003-11-30 10:04:37 | 显示全部楼层
试试 make gconfig(需要gtk2开发包)(不喜欢qt)。
发表于 2006-9-8 20:59:54 | 显示全部楼层
试试这个:
gcc -o hello hello.cpp `pkg-config QtGui --libs --cflags`
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表