配置linux内核是遇到的问题:(1)问题一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解决办法:安装所需库
sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev (2)问题二make menuconfig的时候出错:
- *** Unable to find the ncurses libraries or the
- *** required header files.
- *** ‘make menuconfig‘ requires the ncurses libraries.
- ***
- *** Install ncurses (ncurses-devel) and try again.
- ***
解决:
sudo apt-get install libncurses5-dev
时间: 2024-10-08 03:15:31