linux-2.6

linux-2.6

Download

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

 

Compile

使用不同的配置界面

$ make menuconfig
scripts/kconfig/lxdialog/dialog.h:32:20: fatal error: curses.h: No such file or directory
出现问题的原因:原来是最小系统不支持图形的原因,安装libncurses5-dev后即可
$ sudo apt-get install libncurses5-dev
-----------
$ make xconfig
  CHECK   qt
*
* Could not find Qt via pkg-config.
* Please install either Qt 4.8 or 5.x. and make sure it's in PKG_CONFIG_PATH
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'.  Stop.
make: *** [xconfig] Error 2
$ apt-get install qt4-dev-tools

 mutian@mutian:~/myshare/linux-2.6$ make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_gtkcheck', needed by `scripts/kconfig/gconf.o'.  Stop.
make: *** [gconfig] Error 2
mutian@mutian:~/myshare/linux-2.6$ sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev

posted @ 2015-11-24 20:15  牧 天  阅读(647)  评论(0)    收藏  举报