亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
12下一頁
最近訪問板塊 發(fā)新帖
查看: 5485 | 回復(fù): 10
打印 上一主題 下一主題

求解 make menuconfig 錯(cuò)誤 (加急。。 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2010-08-16 10:18 |只看該作者 |倒序?yàn)g覽
跪求 解決方法
$ 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.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] 錯(cuò)誤 1
make: *** [menuconfig] 錯(cuò)誤 2

說是提示沒有安裝 ncurses-devel

但我確實(shí)已經(jīng)安裝了

$ dpkg -l | grep ncurses
ii  libncurses-ruby                      1.1-2                                                 ruby Extension for the ncurses C library
ii  libncurses-ruby1.8                   1.1-2                                                 ruby Extension for the ncurses C library
ii  libncurses-ruby1.9                   1.1-2                                                 ruby Extension for the ncurses C library
ii  libncurses4                          4.2-10.1                                              Shared libraries for terminal handling
ii  libncurses5                          5.7+20090803-2ubuntu3                                 shared libraries for terminal handling
ii  libncurses5-dbg                      5.7+20090803-2ubuntu3                                 debugging/profiling libraries for ncurses
ii  libncurses5-dev                      5.7+20090803-2ubuntu3                                 developer's libraries and docs for ncurses
ii  libncursesw5                         5.7+20090803-2ubuntu3                                 shared libraries for terminal handling (wide
ii  libncursesw5-dbg                     5.7+20090803-2ubuntu3                                 debugging/profiling libraries for ncurses
ii  libncursesw5-dev                     5.7+20090803-2ubuntu3                                 developer's libraries for ncursesw
ii  mtr-tiny                             0.75-2                                                Full screen ncurses traceroute tool
ii  ncurses-base                         5.7+20090803-2ubuntu3                                 basic terminal type definitions
ii  ncurses-bin                          5.7+20090803-2ubuntu3                                 terminal-related programs and man pages
ii  ncurses-term                         5.7+20090803-2ubuntu3                                 additional terminal type definitions


不想 重新安裝系統(tǒng)  求解

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2010-08-16 10:24 |只看該作者
本帖最后由 好看的附件 于 2010-08-16 10:33 編輯

回復(fù) 1# heyj6969

沒看清~~
LZ已經(jīng)安裝了ncurses庫(kù)?是不是版本問題?

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2010-08-16 10:26 |只看該作者
回復(fù) 1# heyj6969


    你是要編譯內(nèi)核是吧?

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2010-08-16 10:53 |只看該作者
回復(fù) 2# 好看的附件


    已經(jīng) 安裝了  
我的是  ubuntu 10.4   這個(gè)對(duì) ncurses 版本 有特定要求的么

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2010-08-16 10:54 |只看該作者
回復(fù) 3# iori809


    是的  現(xiàn)在 編譯不過去 急死人了    抓狂ing

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2010-08-16 11:03 |只看該作者
回復(fù) 1# heyj6969


    try:
     libncurses-dev

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2010-08-16 11:07 |只看該作者
回復(fù) 6# 好看的附件


    用Make編輯linux內(nèi)核
1,tar -xvf linux-2.6.18.3.tar
tar -jxvf linux-2.6.10.tar.bz2
2,mv linux-2.6.18.3 /usr/src
3,查看現(xiàn)在使用的版本信息
[root@localhost linux-2.6.18.3]# uname -a
Linux localhost.localdomain 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
4,[root@localhost tapeback]# rpm -aq | grep gcc
libgcc-3.4.5-2
compat-libgcc-296-2.96-132.7.2
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
[root@localhost tapeback]# rpm -ivh gcc-3.4.5-2.i386.rpm
warning: gcc-3.4.5-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]


5,
[root@localhost linux1]# make mrproper
CLEAN scripts/basic
CLEAN scripts/kconfig
[root@localhost linux1]# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:32:20: curses.h: No such file or directory
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:130: error: syntax error before "use_colors"
scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of `use_colors'
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:131: error: syntax error before "use_shadow"
scripts/lxdialog/dialog.h:131: warning: type defaults to `int' in declaration of `use_shadow'
scripts/lxdialog/dialog.h:131: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:133: error: syntax error before "attributes"
scripts/lxdialog/dialog.h:133: warning: type defaults to `int' in declaration of `attributes'
scripts/lxdialog/dialog.h:133: warning: data definition has no type or storage class
scripts/lxdialog/dialog.h:146: error: syntax error before '*' token
scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype


錯(cuò)誤原因,缺少軟件

6,rpm -ivh ncurses-devel-5.4-13.i386.rpm

make menuconfig
make clean
make bzImage
make modules
此時(shí)要注意的就是如果是原的內(nèi)核從新編譯的話,要把lib/modules/里的名字修改一下
make modules_install
mkinitrd /boot/initrd-2.6.26.img  2.6.26
然后修改grub/menu.lst文件,特別注意的是如果是scsi硬盤,必須創(chuàng)建initrd文件
設(shè)置好后,就可以在grub啟動(dòng)時(shí)選擇要加載的核心文件了



這個(gè)是我很早以前編譯內(nèi)核時(shí)候,出現(xiàn)的問題及解決方案~希望能幫到你
那時(shí)候我也和你一樣~理解那種心情,這個(gè)玩意兒不難但非常耽誤時(shí)間~

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2010-08-16 14:29 |只看該作者
回復(fù) 6# 好看的附件


$ sudo apt-get install libncurses-dev
[sudo] password for skywalker:
正在讀取軟件包列表... 完成
正在分析軟件包的依賴關(guān)系樹      
正在讀取狀態(tài)信息... 完成      
注意,選取 libncurses5-dev 而非 libncurses-dev
libncurses5-dev 已經(jīng)是最新的版本了。
升級(jí)了 0 個(gè)軟件包,新安裝了 0 個(gè)軟件包,要卸載 0 個(gè)軟件包,有 0 個(gè)軟件包未被升級(jí)

不行哦

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2010-08-16 14:44 |只看該作者
回復(fù) 8# heyj6969


    那你試試:
  sudo apt-get install libncurses*

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2010-08-16 14:49 |只看該作者
換源
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP