zoukankan      html  css  js  c++  java
  • make menuconfig出错解决方法

     make menuconfig出错解决方法 2011-06-11 22:22:49

    分类: 系统运维


    1. 错误现象:
    2. make menuconfig
    3. In file included from scripts/kconfig/lxdialog/checklist.c:24:
    4. scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: 没有那个文件或目录
    5. In file included from scripts/kconfig/lxdialog/checklist.c:24:
    6. scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
    7. scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
    8. scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
    9. scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token
    10. scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token
    11. scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token
    12. scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token
    13. scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token
    14. scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token
    15. scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
    16. scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
    17. scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
    18. scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
    19. scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
    20. scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
    21. scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
    22. scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
    23. scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
    24. scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression_r has no effect
    25. scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
    26. scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
    27. scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
    28. scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
    29. scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
    30. scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
    31. scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’
    32. scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
    33. scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
    34. scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
    35. scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
    36. scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’
    37. scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)
    38. scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’
    39. scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’
    40. scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’
    41. scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’
    42. scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’
    43. scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
    44. scripts/kconfig/lxdialog/checklist.c:191: warning: implicit declaration of function ‘print_item’
    45. scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_arrows’
    46. scripts/kconfig/lxdialog/checklist.c:200: warning: implicit declaration of function ‘print_buttons’
    47. scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wnoutrefresh’
    48. scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘doupdate’
    49. scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function ‘wgetch’
    50. scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_UP’ undeclared (first use in this function)
    51. scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_DOWN’ undeclared (first use in this function)
    52. scripts/kconfig/lxdialog/checklist.c:224: error: ‘FALSE’ undeclared (first use in this function)
    53. scripts/kconfig/lxdialog/checklist.c:225: warning: implicit declaration of function ‘scrollok’
    54. scripts/kconfig/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wscrl’
    55. scripts/kconfig/lxdialog/checklist.c:235: warning: implicit declaration of function ‘wrefresh’
    56. scripts/kconfig/lxdialog/checklist.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
    57. scripts/kconfig/lxdialog/checklist.c:286: warning: implicit declaration of function ‘delwin’
    58. scripts/kconfig/lxdialog/checklist.c:290: error: ‘KEY_LEFT’ undeclared (first use in this function)
    59. scripts/kconfig/lxdialog/checklist.c:291: error: ‘KEY_RIGHT’ undeclared (first use in this function)
    60. make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
    61. make[1]: *** [menuconfig] 错误 2
    62. make: *** [menuconfig] 错误 2
    63. 解决方法:
    64. rhel系列安装ncurses-devel包
    65. ubuntu安装libncurses5-dev包
  • 相关阅读:
    《TomCat与Java Web开发技术详解》(第二版) 第六章节的学习总结 ---- JSP技术
    《Lucene in Action 第二版》第三章节的学习总结----IndexSearcher以及Term和QueryParser
    《TomCat与Java Web开发技术详解》(第二版) 第六章节对应CD附带的helloapp无法启动的问题解决
    《TomCat与Java Web开发技术详解》(第二版) 第五章节的学习总结 ---- Servlet的高级用法
    《Lucene in Action》(第二版) 第二章节的学习总结 ---- IndexWriter+Document+Field
    《Lucene in Action》(第二版) 第一章节的学习总结 ---- 用最少的代码创建索引和搜索
    Windows Server 2008 R2 配置AD(Active Directory)域控制器
    Windows Server 2008 R2 负载平衡入门篇
    Asp.net MVC 的八个扩展点
    C# 使用memcache(memcache安装)
  • 原文地址:https://www.cnblogs.com/tao560532/p/5021989.html
Copyright © 2011-2022 走看看