标签:
ubuntu12.04 64bit 编译kernel(或者make menuconfig)源码时出现如下错误:
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help‘:
mconf.c:(.text+0x811): undefined reference to `stdscr‘
scripts/kconfig/mconf.o: In function `main‘:
mconf.c:(.text+0x1286): undefined reference to `initscr‘
mconf.c:(.text+0x128d): 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‘
安装libncurses5-dev可以解决
sudo apt-get install libncurses5-dev
ubuntu12.04 64bit 编译android源码时出现如下错误:
host Executable: cmu2nuance (out/host/linux-
x86/obj/EXECUTABLES/cmu2nuance_intermediates/cmu2nuance)
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb] Error 1
make: *** Waiting for unfinished jobs....
host Executable: coverage (out/host/linux-x86/obj/EXECUTABLES/coverage_intermediates/coverage)
安装libncurses5-dev:i386可以解决
sudo apt-get install libncurses5-dev:i386
==>那么就出现了一个共存性的问题:这两个程序任意时刻只能装一个,不能共存,所以编译时需注意。
如何解决这个共存性的问题呢?
解决办法如下:
安装如下指令安装:
sudo apt-get install lib32ncurses5-dev
上海嵌入式家园-开发板商城
淘宝网址:http://embedclub.taobao.com/
本店热销ARM9 mini2440/micro2440/FL2440/TQ2440/JZ2440、ARM11 Tiny6410/mini6410/OK6410、Cortex-A8 Smart210/Tiny210/mini210s/OK210、Cortex-A9 Tiny4412/Super4412/卡片电脑NanoPC-T1、STM32 F103/F107/F207/F407、FPGA/CPLD开发板及其配套的扩展模块、仿真器OpenJTAG、H-JTAG。
ubuntu12.04 64bit libncurses5-dev和libncurses5-dev:i386共存性问题讨论
标签:
原文地址:http://www.cnblogs.com/hanson/p/4606612.html