{"id":126,"date":"2013-07-11T13:41:40","date_gmt":"2013-07-11T05:41:40","guid":{"rendered":"http:\/\/www.datarelab.com\/blog\/?p=126"},"modified":"2013-07-11T13:41:40","modified_gmt":"2013-07-11T05:41:40","slug":"ubuntu%e5%ae%89%e8%a3%85busybox%e8%87%b4%e5%91%bd%e9%94%99%e8%af%afcurses.h%e6%b2%a1%e6%9c%89%e9%82%a3%e4%b8%aa%e6%96%87%e4%bb%b6%e6%88%96%e7%9b%ae%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.datarelab.com\/blog\/Technical_literature\/126.html","title":{"rendered":"Ubuntu\u5b89\u88c5BusyBox\u81f4\u547d\u9519\u8befcurses.h\u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55"},"content":{"rendered":"<p><strong>\u95ee\u9898\uff1a<\/strong><br \/>\n&nbsp;root@czu:~# cd \/root\/\u684c\u9762\/busybox-1.19.3<br \/>\nroot@czu:~\/\u684c\u9762\/busybox-1.19.3# make menuconfig<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/basic\/fixdep<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/basic\/split-include<br \/>\nscripts\/basic\/split-include.c: \u5728\u51fd\u6570\u2018main\u2019\u4e2d:<br \/>\nscripts\/basic\/split-include.c:134:11: \u8b66\u544a\uff1a \u5ffd\u7565\u58f0\u660e\u6709 warn_unused_result \u5c5e\u6027\u7684\u2018fgets\u2019\u7684\u8fd4\u56de\u503c [-Wunused-result]<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/basic\/docproc<br \/>\n&nbsp; GEN &nbsp; &nbsp; include\/applets.h<br \/>\n&nbsp; GEN &nbsp; &nbsp; include\/usage.h<br \/>\n&nbsp; GEN &nbsp; &nbsp; applets\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; coreutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; coreutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; coreutils\/libcoreutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; procps\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; procps\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; mailutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; mailutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/uuid\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/blkid\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/e2p\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; e2fsprogs\/old_e2fsprogs\/ext2fs\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; libbb\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; libbb\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; printutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; printutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; libpwdgrp\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; debianutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; debianutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; shell\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; shell\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; loginutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; loginutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; sysklogd\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; sysklogd\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; console-tools\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; console-tools\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; init\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; init\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; scripts\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; runit\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; runit\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; miscutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; miscutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; archival\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; archival\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; archival\/libarchive\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; modutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; modutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; selinux\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; selinux\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; util-linux\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; util-linux\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; util-linux\/volume_id\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; editors\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; editors\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; findutils\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; findutils\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; networking\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; networking\/Config.in<br \/>\n&nbsp; GEN &nbsp; &nbsp; networking\/libiproute\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; networking\/udhcp\/Kbuild<br \/>\n&nbsp; GEN &nbsp; &nbsp; networking\/udhcp\/Config.in<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/kconfig\/conf.o<br \/>\nscripts\/kconfig\/conf.c: \u5728\u51fd\u6570\u2018conf_choice\u2019\u4e2d:<br \/>\nscripts\/kconfig\/conf.c:354:9: \u8b66\u544a\uff1a \u5ffd\u7565\u58f0\u660e\u6709 warn_unused_result \u5c5e\u6027\u7684\u2018fgets\u2019\u7684\u8fd4\u56de\u503c [-Wunused-result]<br \/>\nscripts\/kconfig\/conf.c: \u5728\u51fd\u6570\u2018conf_askvalue\u2019\u4e2d:<br \/>\nscripts\/kconfig\/conf.c:106:8: \u8b66\u544a\uff1a \u5ffd\u7565\u58f0\u660e\u6709 warn_unused_result \u5c5e\u6027\u7684\u2018fgets\u2019\u7684\u8fd4\u56de\u503c [-Wunused-result]<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/kconfig\/kxgettext.o<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/kconfig\/mconf.o<br \/>\nscripts\/kconfig\/mconf.c: \u5728\u51fd\u6570\u2018show_textbox\u2019\u4e2d:<br \/>\nscripts\/kconfig\/mconf.c:839:7: \u8b66\u544a\uff1a \u5ffd\u7565\u58f0\u660e\u6709 warn_unused_result \u5c5e\u6027\u7684\u2018write\u2019\u7684\u8fd4\u56de\u503c [-Wunused-result]<br \/>\nscripts\/kconfig\/mconf.c: \u5728\u51fd\u6570\u2018exec_conf\u2019\u4e2d:<br \/>\nscripts\/kconfig\/mconf.c:473:6: \u8b66\u544a\uff1a \u5ffd\u7565\u58f0\u660e\u6709 warn_unused_result \u5c5e\u6027\u7684\u2018pipe\u2019\u7684\u8fd4\u56de\u503c [-Wunused-result]<br \/>\n&nbsp; SHIPPED scripts\/kconfig\/zconf.tab.c<br \/>\n&nbsp; SHIPPED scripts\/kconfig\/lex.zconf.c<br \/>\n&nbsp; SHIPPED scripts\/kconfig\/zconf.hash.c<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/kconfig\/zconf.tab.o<br \/>\n&nbsp; HOSTLD &nbsp;scripts\/kconfig\/mconf<br \/>\n&nbsp; HOSTCC &nbsp;scripts\/kconfig\/lxdialog\/checklist.o<br \/>\nIn file included from scripts\/kconfig\/lxdialog\/checklist.c:24:0:<br \/>\nscripts\/kconfig\/lxdialog\/dialog.h:31:20: \u81f4\u547d\u9519\u8bef\uff1a curses.h\uff1a\u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55<br \/>\n\u7f16\u8bd1\u4e2d\u65ad\u3002<br \/>\nmake[2]: *** [scripts\/kconfig\/lxdialog\/checklist.o] \u9519\u8bef 1<br \/>\nmake[1]: *** [menuconfig] \u9519\u8bef 2<br \/>\nmake: *** [menuconfig] \u9519\u8bef 2<br \/>\nroot@czu:~\/\u684c\u9762\/busybox-1.19.3#<br \/>\n<strong>\u89e3\u51b3\u529e\u6cd5\uff1a<\/strong><br \/>\nroot@czu:~\/\u684c\u9762\/busybox-1.19.3# apt-get install libncurses5-dev<br \/>\n<strong>\u539f\u56e0\uff1a<\/strong><br \/>\nUbuntu\u7cfb\u7edf\u4e2d\u7f3a\u5c11\u4e00\u4e2a\u5957\u4ef6 ncurses devel \uff0c\u628a\u6b64\u5957\u4ef6\u5b89\u88c5\u4e0b\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\u9898\uff1a &nbsp;root@czu:~# cd \/root\/\u684c\u9762\/busybox-1.19.3 root@c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14,150],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-Technical_literature","tag-linux","tag-ubuntu"],"views":1615,"_links":{"self":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":0,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}