执行make menuconfig出来了N多错误

news/2025/2/26 23:41:53
make menuconfig 出来了N多错误,配置界面也出不来,搜了下发现这些错误都是和menuconfig这个界面的显示程序有关
解决办法:http://lzjyjh.blog.sohu.com/137854765.html
用google查了原来是少了 ncurses-devel 组件,这就是menuconfig的显示程序。
安装该库:
apt-get install libncurses5-dev
问题解决


apuser@YaochuanLiubt:~/mywork/htc/primods-ics-crc-3.0.16-216ca31/primods-ics-crc-3.0.16-216ca31$ make menuconfig  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x7e1): undefined reference to `stdscr'
scripts/kconfig/mconf.o: In function `main':
mconf.c:(.text+0x1256): undefined reference to `initscr'
mconf.c:(.text+0x125d): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x41): undefined reference to `wmove'
checklist.c:(.text+0x61): undefined reference to `acs_map'
checklist.c:(.text+0x69): undefined reference to `waddch'
checklist.c:(.text+0x7b): undefined reference to `waddnstr'
checklist.c:(.text+0x8c): undefined reference to `wmove'
checklist.c:(.text+0xb3): undefined reference to `acs_map'
checklist.c:(.text+0xbb): undefined reference to `waddch'
checklist.c:(.text+0x10b): undefined reference to `acs_map'
checklist.c:(.text+0x113): undefined reference to `waddch'
checklist.c:(.text+0x11a): undefined reference to `acs_map'
checklist.c:(.text+0x122): undefined reference to `waddch'
checklist.c:(.text+0x129): undefined reference to `acs_map'
checklist.c:(.text+0x131): undefined reference to `waddch'
checklist.c:(.text+0x138): undefined reference to `acs_map'
checklist.c:(.text+0x183): undefined reference to `acs_map'
checklist.c:(.text+0x18b): undefined reference to `waddch'
checklist.c:(.text+0x192): undefined reference to `acs_map'
checklist.c:(.text+0x19a): undefined reference to `waddch'
checklist.c:(.text+0x1a1): undefined reference to `acs_map'
checklist.c:(.text+0x1a9): undefined reference to `waddch'
checklist.c:(.text+0x1b0): undefined reference to `acs_map'
checklist.c:(.text+0x1b8): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x245): undefined reference to `wmove'
checklist.c:(.text+0x26d): undefined reference to `waddch'
checklist.c:(.text+0x287): undefined reference to `wmove'
checklist.c:(.text+0x2e0): undefined reference to `wmove'
checklist.c:(.text+0x2f2): undefined reference to `waddch'
checklist.c:(.text+0x31e): undefined reference to `waddnstr'
checklist.c:(.text+0x337): undefined reference to `wmove'
checklist.c:(.text+0x33f): undefined reference to `wrefresh'
checklist.c:(.text+0x378): undefined reference to `wprintw'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x433): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x585): undefined reference to `stdscr'
checklist.c:(.text+0x5d2): undefined reference to `COLS'
checklist.c:(.text+0x5e6): undefined reference to `stdscr'
checklist.c:(.text+0x5f3): undefined reference to `LINES'
checklist.c:(.text+0x626): undefined reference to `newwin'
checklist.c:(.text+0x636): undefined reference to `keypad'
checklist.c:(.text+0x67e): undefined reference to `wmove'
checklist.c:(.text+0x68a): undefined reference to `acs_map'
checklist.c:(.text+0x692): undefined reference to `waddch'
checklist.c:(.text+0x6bb): undefined reference to `acs_map'
checklist.c:(.text+0x6c6): undefined reference to `waddch'
checklist.c:(.text+0x6f6): undefined reference to `acs_map'
checklist.c:(.text+0x6fb): undefined reference to `waddch'
checklist.c:(.text+0x762): undefined reference to `subwin'
checklist.c:(.text+0x772): undefined reference to `keypad'
checklist.c:(.text+0x908): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x910): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x915): undefined reference to `doupdate'
checklist.c:(.text+0x941): undefined reference to `wgetch'
checklist.c:(.text+0xa81): undefined reference to `doupdate'
checklist.c:(.text+0xa9d): undefined reference to `delwin'
checklist.c:(.text+0xaa5): undefined reference to `delwin'
checklist.c:(.text+0xb0d): undefined reference to `scrollok'
checklist.c:(.text+0xb1c): undefined reference to `wscrl'
checklist.c:(.text+0xb28): undefined reference to `scrollok'
checklist.c:(.text+0xb7f): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xb89): undefined reference to `wrefresh'
checklist.c:(.text+0xc0b): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xc15): undefined reference to `wrefresh'
checklist.c:(.text+0xcc9): undefined reference to `delwin'
checklist.c:(.text+0xcd1): undefined reference to `delwin'
checklist.c:(.text+0xd29): undefined reference to `delwin'
checklist.c:(.text+0xd31): undefined reference to `delwin'
checklist.c:(.text+0xd59): undefined reference to `doupdate'

http://www.niftyadmin.cn/n/847581.html

相关文章

Ubuntu14.04中实现Mini2440裸板编程

宿主机:Ubuntu14.04 开发板:MIni2440 编译器:arm-linux-gcc 0 前言 在进行ARM开发板的裸板编程时(无操作系统),通常需要使用一定的IDE(集成了ARM相关的编译器和连接器),…

emacs在win8乱码

系统为英文版WIN8 RTM X64位。在使用Emacs 24.2打开文件时候,发现中文字体部分显示为方块。通过对编码的设置依然不能解决问题。在网上查找解决方案的时候,发现有人提到通过设置字体能够解决这个问题。于是仔细看了下emacs里的那些个方块,里面…

只有明确目标和方向才能直冲云霄

只有明确目标和方向才能直冲云霄十年前的今天开始写博客,记录人生故事,记录技术经历。十年后独著四本计算机图书同时登上国内IT图书市场,所著之书被国内各大图书馆所收藏。谁都有迷茫的时候,不知道明天的路改如何走,在…

repo start 和仓库分支名称

20130111关于repo和git4.1 项目repo init -u gitosisXXXXroid.git.xxxxxxxxxx.com.cn:android/platform/manifest.git -b XXXXroid4.1 --repo-urlgitosisXXXXroid.git.xxxxxxxxxx.com.cn:tools/repo.git上面这个命令在repo init 的时候选择了manifest.xml的分支为XXXXroid4.1。…

C语言的变量的内存分配

今晚看了人家写的一个关于C语言内存分配的帖子&#xff0c;发现真是自己想找的&#xff0c;于是乎就收藏了。。。 先看一下两段代码&#xff1a; char* toStr() {char *s "abcdefghijkl";return s; } int main() {cout << toStr() << endl;return 0; }…

关于泛性论和 力比多力

20130112libido 泛性论泛性论在西方源远流长&#xff0c;古希腊人的哲学思想中已显露泛性沦痕迹&#xff0c;德国哲学家A&#xff0e;叔本华在《爱和生的苦恼》中称&#xff1a;“性爱才是这个世界真正的世袭君主&#xff0c;它已意识到自己权力的伟大&#xff0c;倨傲地高坐在…

U-Boot源码——u-boot.lds

1 文件类型 在学习U-Boot源码时遇到了u-boot.lds文件[1]p256&#xff0c;经过查找发现U-Boot源码中有许多同名的u-boot.lds文件&#xff08;在不同目录中&#xff09;&#xff0c;其中部分截图如下&#xff1a; 由于上图可见&#xff0c;在U-Boot中u-boot.lds分布在平台相关或者…

vim乱码的解决

Vim 有四个跟字符编码方式有关的选项&#xff0c;encoding、fileencoding、fileencodings、termencoding 它们的意义如下: encoding: Vim 内部使用的字符编码方式&#xff0c;包括 Vim 的 buffer (缓冲区)、菜单文本、消息文本等。 fileencoding: Vim 中当前编辑的文件的字符编…