Linux内核中make ARCH=arm 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'
………………………………………………………………………………
………………………………………………………………………………
menubox.c:(.text+0x55): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
menubox.c:(.text+0x1a5): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x3b2): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x4d4): undefined reference to `wrefresh'
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/mconf] Error 1
make: *** [menuconfig] Error 2
***************************************
解决方法如下:
sudo apt-get install build-essential
sudo apt-get install libncurses5
apt-get install libncurses5-dev
转自:http://blog.csdn.net/fantao015/article/details/8272134
ubuntu12.04 64bit 编译android源码时,在编译内核使用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 The ncurses shared libraries
libncurses5-dev Development environment
libncurses5-dbg Debugging libraries
libncursesw5 The ncurses shared libraries, with widecharacter support
libncursesw5-dev Development environment for libncursesw5
libncursesw5-dbg Debugging libraries for libncursesw5
安装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
转自:http://blog.csdn.net/smilettxp/article/details/7172925
分享到:
相关推荐
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j10 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- system-top.dtb -j10
前期工作:a.配置好tftp服务器:在嵌入式的童年中有介绍 b.开发板可以pc,linux ... arm平台:make menuconfig ARCH=arm 将内核配置文件拷贝到内核目录中config-file 查看cpu是否对应:system type->arm sy
make menuconfig ARCH=arm CROSS_COMPILE=arm-linux-, 将Device Driver--> Character Deivce---> Serial Device 下的S3C6400_qrj选项选择为M,然后执行 make modules ARCH=arm CROSS_COMPILE=arm-linux...
rootroot@cm-System-Product-Name:/home/wwt/ov5640_r16_project/lichee/linux-3.4$ make ARCH=arm menuconfig Device Drivers ---> <*> Multimedia support ---> [*] Video capture adapters ---> [ ] V4L ...
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=MMB29M OUT_DIR=out ============================================ rootroot@cm-System-Product-Name:...
rootroot@cm-System-Product-Name:/home/wwt/uvc_r16_project/lichee/linux-3.4$ make ARCH=arm menuconfig Device Drivers ---> <*> Multimedia support ---> [*] Video capture adapters ---> 修改...
rootroot@cm-System-Product-Name:/home/wwt/uvc_r16_project/lichee/linux-3.4$ make ARCH=arm menuconfig Device Drivers ---> <*> Multimedia support ---> [*] Video capture adapters ---> 修改: [ ...
这是嵌入式PowerPC, ARM和MIPS系统中使用DENX U-Boot和Linux的指导手册。文档中描述了如何在嵌入式PowerPC, ARM和MIPS系统上配置、编译、使用Das U-Boot(常常缩写为“U-Boot”)和Linux操作系统。文档中涵盖了所有...
3、编译lichee内核的时候出现modules中的软链接失效的问题的解决: cp sunxi_schw.ko /home/rootroot/wyb/r58_evb_sc5806/lichee/linux-3.4/output/lib/modules/3.4.39/ make:离开目录“/home/rootroot/wyb/r58_evb_...
HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=57513AA3 OUT_DIR= ============================================ rootroot@cm-System-Product...
ifneq ($(strip $(CONFIG_ARCH_SUN8IW8)),) obj-$(CONFIG_OV2710_MIPI)+= ov2710_mipi.o obj-$(CONFIG_OV4689)+= ov4689.o obj-$(CONFIG_OV4689_60FPS)+= ov4689_60fps.o obj-$(CONFIG_AR0330_MIPI)+= ar0330_mipi....
rootroot@cm-System-Product-Name:/home/wwt/dp18_ap6330/lichee/linux-3.10$ make ARCH=arm64 menuconfig rootroot@cm-System-Product-Name:/home/wwt/dp18_ap6330/lichee/linux-3.10$ WIFI部分可以关闭realtek:...
W:\ov5640_spi20_r40t\lichee\linux-3.10\drivers\media\platform\sunxi-vfe\device\Makefile obj-m += ov5640.o #obj-m += ov2640.o #obj-m += ov7736.o #obj-m += s5k4ec.o #obj-m += s5k4ec_mipi.o #obj-m += gc...
(关闭realtek的BT,否则会编译出错:) #$(TOP_DIR)device/softwinner/$(basename $(TARGET_DEVICE))/bluetooth/rtkbt.conf:system/etc/bluetooth/rtkbt.conf \ make: *** 没有规则可以创建“out/target/...