BusyBox 编译出现问题---scripts/kconfig/lxdialog/dialog.h:128: error

By | 04月07日
Advertisement

[email protected]:/tmp/busybox-1.14.2$ make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
scripts/basic/split-include.c: In function ‘main’:
scripts/basic/split-include.c:133: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:359: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c: In function ‘exec_conf’:
scripts/kconfig/mconf.c:470: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function ‘show_textbox’:
scripts/kconfig/mconf.c:836: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: 没有那个文件或目录
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’
scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’
scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’
scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’
scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’
scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
scripts/kconfig/lxdialog/checklist.c:190: warning: implicit declaration of function ‘print_item’
scripts/kconfig/lxdialog/checklist.c:194: warning: implicit declaration of function ‘print_arrows’
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_buttons’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:201: warning: implicit declaration of function ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_UP’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_DOWN’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: error: ‘FALSE’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:223: warning: implicit declaration of function ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c:282: warning: incompatible implicit declaration of built-in function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:283: warning: implicit declaration of function ‘delwin’
scripts/kconfig/lxdialog/checklist.c:287: error: ‘KEY_LEFT’ undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:288: error: ‘KEY_RIGHT’ undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
make[1]: *** [menuconfig] 错误 2
make: *** [menuconfig] 错误 2
[email protected]:/tmp/busybox-1.14.2$

解决办法:ubuntu系统中缺少一个套件 ncurses devel ,把此套件安装下即可

$ sudo apt-get install libncurses5-dev

Similar Posts:

  • make[1]: *** [scripts/kconfig/mconf.o] 错误 1

    linux内核编译时 make[1]: *** [scripts/kconfig/mconf.o] 错误 1 make: *** [menuconfig] 错误 2 一般是由于gcc和内核版本不兼容导致的.

  • Eclipse 编译 Android工程时,提示该错误 :Error generating final archive: Debug certificate e

    Eclipse 编译 Android工程时,提示该错误 :Error generating final archive: Debug certificate expired on xxxxxx(日期) 解决办法: linux:Window-->Preferences-->Android-->Build中Default debug keystore显示了地址"/home/jinli/.android/debug.keystore",删除此路径下的debug.keysto

  • QtMultimedia编译出错的解决方法 make[1]: ***[audiorecord.o] Error 1ui_audiorecord.h:174:er

    sudo apt-get install libxtst-dev sudo apt-get install libxrender-dev 今天编译了一个应用程序,其中要用到 QtMultimedia的库文件,出现错误如下: g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DWITH_ENGINE -DWITH_MOTION_RECTS -DDUAL_RENDERING -DNO_DEWARP_SETTING -DQT_NO_DEBUG -DQT_MULTIMEDI

  • scripts is disabled on this system error in PowerShell

    File cannot be loaded because the execution of scripts is disabled on this system error in PowerShell When you try to run a Powershell script (PS1), you may get the following error: File xyz.ps1 cannot be loaded because the execution of scripts is di

  • Busybox编译出错问题

    编译busybox时出现这样的错误: undefined reference to `query_module' 参考网友的答案是: 使用cross-3.4.1编译busybox-1.9.1时出现错误,提示undefined reference to `query_module'.前面编译的时候没有出现过这个问题,推断应该是配置选项的问题.发现提示中还有insmod的错误,所以判断应该在 Linux Module Utilities中. 看了一下,busybox推荐的默认配置中,支持2.4和2.

  • busybox编译错误

    CC networking/interface.o networking/interface.c:818: error: 'ARPHRD_INFINIBAND' undeclared here (not in a function) make[1]: *** [networking/interface.o] Error 1 make: *** [networking] Error 2 通过查看内核源代码目录中的"include/linux/ifarp.h"文件可得知"ARPH

  • 关于busybox编译根文件系统的一些错误

    错误1: miscutils/taskset.c:15: error: parse error before '*' tokenmiscutils/taskset.c:16: warning: function declaration isn't a prototypemiscutils/taskset.c: In function `from_cpuset':miscutils/taskset.c:19: error: `CPU_SETSIZE' undeclared (first use i

  • android内核,busybox编译

    http://bbs.xml.org.cn/dispbbs.asp?boardID=77&ID=59118 http://blog.chinaunix.net/u/26691/showart_468007.html http://blog.csdn.net/liaoshengjiong/archive/2009/03/04/3957725.aspx http://www.phpfans.net/article/htmls/201005/Mjg1NTQ1.html

  • busybox编译错误解决方法

    networking/libiproute/lib.a(iptunnel.o): In function `parse_args': iptunnel.c:(.text.parse_args+0x13c): undefined reference to `__cpu_to_be16' iptunnel.c:(.text.parse_args+0x154): undefined reference to `__cpu_to_be16' iptunnel.c:(.text.parse_args+0x

  • Eclipse编译打包时报Conversion to Dalvik format failed with error 1 错误的解决方式

    在网上有很多这样或那样的解决方案,我不喜欢复制过来装个比,我就说说自己怎么解决的以防自己以后忘了. 这次是在我打包的时候出现的错误,因为项目依赖了好几个library,我估计是其中什么配置不一致导致的.我就说下我的操作步骤吧. 1.重启一下eclipse后,clean一下所有包: 2.查看你的android项目之间依赖的sdk版本是否一致,可以看AndroidManifest.xml,例如看 <uses-sdk android:minSdkVersion="8" android:

Tags: