免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12345
最近访问板块 发新帖
楼主: zhangweibo
打印 上一主题 下一主题

新手kernel2.6.0编译升级方法 [复制链接]

论坛徽章:
0
41 [报告]
发表于 2004-12-01 12:07 |只看该作者

新手kernel2.6.0编译升级方法

出现如下提示是什么原因?


  1. [root@yf165 linux-2.6.9]# make mrproper
  2. [root@yf165 linux-2.6.9]# make menuconfig
  3.   HOSTCC  scripts/basic/fixdep
  4.   HOSTCC  scripts/basic/split-include
  5.   HOSTCC  scripts/basic/docproc
  6.   SHIPPED scripts/kconfig/zconf.tab.h
  7.   HOSTCC  scripts/kconfig/conf.o
  8.   HOSTCC  scripts/kconfig/mconf.o
  9.   SHIPPED scripts/kconfig/zconf.tab.c
  10.   SHIPPED scripts/kconfig/lex.zconf.c
  11.   HOSTCC  -fPIC scripts/kconfig/zconf.tab.o
  12.   HOSTLLD -shared scripts/kconfig/libkconfig.so
  13.   HOSTLD  scripts/kconfig/mconf
  14.   HOSTCC  scripts/lxdialog/checklist.o
  15. In file included from scripts/lxdialog/checklist.c:24:
  16. scripts/lxdialog/dialog.h:29:20: curses.h: No such file or directory
  17. In file included from scripts/lxdialog/checklist.c:24:
  18. scripts/lxdialog/dialog.h:127: syntax error before "use_colors"
  19. scripts/lxdialog/dialog.h:127: warning: type defaults to `int' in declaration of `use_colors'
  20. scripts/lxdialog/dialog.h:127: warning: data definition has no type or storage class
  21. scripts/lxdialog/dialog.h:128: syntax error before "use_shadow"
  22. scripts/lxdialog/dialog.h:128: warning: type defaults to `int' in declaration of `use_shadow'
  23. scripts/lxdialog/dialog.h:128: warning: data definition has no type or storage class
  24. scripts/lxdialog/dialog.h:130: syntax error before "attributes"
  25. scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of `attributes'
  26. scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage class
  27. scripts/lxdialog/dialog.h:143: syntax error before '*' token
  28. scripts/lxdialog/dialog.h:143: warning: function declaration isn't a prototype
  29. scripts/lxdialog/dialog.h:146: syntax error before '*' token
  30. scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
  31. scripts/lxdialog/dialog.h:147: syntax error before '*' token
  32. scripts/lxdialog/dialog.h:147: warning: function declaration isn't a prototype
  33. scripts/lxdialog/dialog.h:148: syntax error before '*' token
  34. scripts/lxdialog/dialog.h:149: warning: function declaration isn't a prototype
  35. scripts/lxdialog/dialog.h:150: syntax error before '*' token
  36. scripts/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
  37. scripts/lxdialog/checklist.c:32: syntax error before '*' token
  38. scripts/lxdialog/checklist.c:34: warning: function declaration isn't a prototype
  39. scripts/lxdialog/checklist.c: In function `print_item':
  40. scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `wattrset'
  41. scripts/lxdialog/checklist.c:38: `win' undeclared (first use in this function)
  42. scripts/lxdialog/checklist.c:38: (Each undeclared identifier is reported only once
  43. scripts/lxdialog/checklist.c:38: for each function it appears in.)
  44. scripts/lxdialog/checklist.c:39: warning: implicit declaration of function `wmove'
  45. scripts/lxdialog/checklist.c:39: `choice' undeclared (first use in this function)
  46. scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `waddch'
  47. scripts/lxdialog/checklist.c:44: `selected' undeclared (first use in this function)
  48. scripts/lxdialog/checklist.c:46: warning: implicit declaration of function `wprintw'
  49. scripts/lxdialog/checklist.c:46: `status' undeclared (first use in this function)
  50. scripts/lxdialog/checklist.c:51: warning: implicit declaration of function `mvwaddch'
  51. scripts/lxdialog/checklist.c:51: `item' undeclared (first use in this function)
  52. scripts/lxdialog/checklist.c:53: warning: implicit declaration of function `waddstr'
  53. scripts/lxdialog/checklist.c:56: warning: implicit declaration of function `wrefresh'
  54. scripts/lxdialog/checklist.c: At top level:
  55. scripts/lxdialog/checklist.c:64: syntax error before '*' token
  56. scripts/lxdialog/checklist.c:66: warning: function declaration isn't a prototype
  57. scripts/lxdialog/checklist.c: In function `print_arrows':
  58. scripts/lxdialog/checklist.c:67: `win' undeclared (first use in this function)
  59. scripts/lxdialog/checklist.c:67: `y' undeclared (first use in this function)
  60. scripts/lxdialog/checklist.c:67: `x' undeclared (first use in this function)
  61. scripts/lxdialog/checklist.c:69: `scroll' undeclared (first use in this function)
  62. scripts/lxdialog/checklist.c:82: `height' undeclared (first use in this function)
  63. scripts/lxdialog/checklist.c:85: `item_no' undeclared (first use in this function)
  64. scripts/lxdialog/checklist.c:85: `choice' undeclared (first use in this function)
  65. scripts/lxdialog/checklist.c: At top level:
  66. scripts/lxdialog/checklist.c:103: syntax error before '*' token
  67. scripts/lxdialog/checklist.c:104: warning: function declaration isn't a prototype
  68. scripts/lxdialog/checklist.c: In function `print_buttons':
  69. scripts/lxdialog/checklist.c:105: `width' undeclared (first use in this function)
  70. scripts/lxdialog/checklist.c:106: `height' undeclared (first use in this function)
  71. scripts/lxdialog/checklist.c:108: `dialog' undeclared (first use in this function)
  72. scripts/lxdialog/checklist.c:108: `selected' undeclared (first use in this function)
  73. scripts/lxdialog/checklist.c: In function `dialog_checklist':
  74. scripts/lxdialog/checklist.c:126: `WINDOW' undeclared (first use in this function)
  75. scripts/lxdialog/checklist.c:126: `dialog' undeclared (first use in this function)
  76. scripts/lxdialog/checklist.c:126: `list' undeclared (first use in this function)
  77. scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression has no effect
  78. scripts/lxdialog/checklist.c:132: warning: implicit declaration of function `endwin'
  79. scripts/lxdialog/checklist.c:133: warning: implicit declaration of function `fprintf'
  80. scripts/lxdialog/checklist.c:133: `stderr' undeclared (first use in this function)
  81. scripts/lxdialog/checklist.c:150: `COLS' undeclared (first use in this function)
  82. scripts/lxdialog/checklist.c:151: `LINES' undeclared (first use in this function)
  83. scripts/lxdialog/checklist.c:153: `stdscr' undeclared (first use in this function)
  84. scripts/lxdialog/checklist.c:155: warning: implicit declaration of function `newwin'
  85. scripts/lxdialog/checklist.c:156: warning: implicit declaration of function `keypad'
  86. scripts/lxdialog/checklist.c:156: `TRUE' undeclared (first use in this function)
  87. scripts/lxdialog/checklist.c:189: warning: implicit declaration of function `subwin'
  88. scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `wnoutrefresh'
  89. scripts/lxdialog/checklist.c:223: warning: implicit declaration of function `doupdate'
  90. scripts/lxdialog/checklist.c:226: warning: implicit declaration of function `wgetch'
  91. scripts/lxdialog/checklist.c:233: `KEY_UP' undeclared (first use in this function)
  92. scripts/lxdialog/checklist.c:233: `KEY_DOWN' undeclared (first use in this function)
  93. scripts/lxdialog/checklist.c:243: `FALSE' undeclared (first use in this function)
  94. scripts/lxdialog/checklist.c:244: warning: implicit declaration of function `scrollok'
  95. scripts/lxdialog/checklist.c:245: warning: implicit declaration of function `wscrl'
  96. scripts/lxdialog/checklist.c:272: called object is not a function
  97. scripts/lxdialog/checklist.c:308: warning: implicit declaration of function `delwin'
  98. scripts/lxdialog/checklist.c:312: `KEY_LEFT' undeclared (first use in this function)
  99. scripts/lxdialog/checklist.c:313: `KEY_RIGHT' undeclared (first use in this function)
  100. /usr/include/bits/string2.h: At top level:
  101. scripts/lxdialog/dialog.h:130: warning: array `attributes' assumed to have one element
  102. make[2]: *** [scripts/lxdialog/checklist.o] Error 1
  103. make[1]: *** [menuconfig] Error 2
  104. make: *** [menuconfig] Error 2
  105. [root@yf165 linux-2.6.9]#

复制代码

论坛徽章:
0
42 [报告]
发表于 2007-07-09 01:12 |只看该作者
原帖由 水若寒 于 2004-12-1 12:07 发表于 41楼  
出现如下提示是什么原因?


# make mrproper
# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SHIPPED scripts/kconfig ...

很明显,没有装开发工具罗。我也是这样~~呵呵

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52
43 [报告]
发表于 2007-07-09 22:27 |只看该作者
呵呵,支持…………

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52
44 [报告]
发表于 2007-07-12 00:54 |只看该作者
刚刚编译成功,谢谢楼主,正在努力学习中……顶

还有个问题就是编译花了我半个多小时是不是正常?还是我CPU太慢了?或者我在桌面用终端编译速度慢了?这个时间够我装个系统了。

论坛徽章:
0
45 [报告]
发表于 2007-07-12 13:06 |只看该作者
谢谢楼主分享,学到了知识,想不到2.6内核这么好,以前RH7.3升级很烦!

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52
46 [报告]
发表于 2007-07-13 12:40 |只看该作者
使用2。6的内核比2。4快,呵呵,谢谢楼主,

不过我的声卡不能用了。估计要编译进内核才可以,再编译下看看。

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52
47 [报告]
发表于 2007-07-16 00:08 |只看该作者
呵呵,怎么这个贴没人回呀?

论坛徽章:
0
48 [报告]
发表于 2009-01-19 13:36 |只看该作者

论坛徽章:
0
49 [报告]
发表于 2013-01-04 21:38 |只看该作者
学习一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP