zcl_nanjing 发表于 2013-4-1 15:47:00

linux内核make menuconfig出错

各位大神,小弟我在学习内核移植的时候,make menuconfig,然后报错。内核版本是2.6.22.6,交叉编译器是4.3.3。错误代码是:
zcl@ubuntu:~/work/kernel/linux-2.6.30.4$ make menuconfig
HOSTLDscripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `main':
mconf.c:(.text.startup+0x82): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x3d): undefined reference to `wmove'
checklist.c:(.text+0x5a): undefined reference to `acs_map'
checklist.c:(.text+0x66): undefined reference to `waddch'
checklist.c:(.text+0x7e): undefined reference to `waddnstr'
checklist.c:(.text+0x92): undefined reference to `wmove'
checklist.c:(.text+0xbc): undefined reference to `acs_map'
checklist.c:(.text+0xc8): undefined reference to `waddch'
checklist.c:(.text+0x105): undefined reference to `acs_map'
checklist.c:(.text+0x111): undefined reference to `waddch'
checklist.c:(.text+0x116): undefined reference to `acs_map'
checklist.c:(.text+0x122): undefined reference to `waddch'
checklist.c:(.text+0x127): undefined reference to `acs_map'
checklist.c:(.text+0x133): undefined reference to `waddch'
.
.
.
.
.

menubox.c:(.text+0x129f): undefined reference to `acs_map'
menubox.c:(.text+0x12af): undefined reference to `waddch'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
menubox.c:(.text+0x191): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x38b): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x4d0): undefined reference to `wrefresh'
collect2: ld 返回 1
make: *** 错误 1
make: *** 错误 2

TQ-lkp 发表于 2013-4-2 08:48:18

有没有拷贝配置单?
页: [1]
查看完整版本: linux内核make menuconfig出错