红联Linux门户
Linux帮助

编译2.6.22的一个错误记录

发布时间:2008-01-02 00:54:48来源:红联作者:lighsr
lhbdesktop:/usr/src/linux# make menuconfig

HOSTCC scripts/kconfig/lxdialog/checklist.o

In file included from scripts/kconfig/lxdialog/checklist.c:24:

scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory

In file included from scripts/kconfig/lxdialog/checklist.c:24:

scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ?htype?

scripts/kconfig/lxdialog/dialog.h:187: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:194: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:196: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:197: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:198: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:199: error: expected ??before ??token

scripts/kconfig/lxdialog/dialog.h:201: 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 ?ialog_checklist?

scripts/kconfig/lxdialog/checklist.c:116: error: ?INDOW?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once

scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)

scripts/kconfig/lxdialog/checklist.c:116: error: ?ialog?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:116: error: ?ist?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect

scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function ?etmaxy?

scripts/kconfig/lxdialog/checklist.c:129: error: ?tdscr?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:130: error: ?EY_MAX?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function ?etmaxx?

scripts/kconfig/lxdialog/checklist.c:137: error: ?OLS?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:138: error: ?INES?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of function ?raw_shadow?

scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function ?ewwin?

scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ?eypad?

scripts/kconfig/lxdialog/checklist.c:143: error: ?RUE?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ?raw_box?

scripts/kconfig/lxdialog/checklist.c:146: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:146: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of function ?attrset?

scripts/kconfig/lxdialog/checklist.c:147: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ?vwaddch?

scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ?addch?

scripts/kconfig/lxdialog/checklist.c:151: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of function ?rint_title?

scripts/kconfig/lxdialog/checklist.c:156: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of function ?rint_autowrap?

scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function ?ubwin?

scripts/kconfig/lxdialog/checklist.c:171: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:171: error: ?truct dialog_color?has no member named ?tr?

scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of function ?rint_item?

scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of function ?rint_arrows?

scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of function ?rint_buttons?

scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ?noutrefresh?

scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function ?oupdate?

scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ?getch?

scripts/kconfig/lxdialog/checklist.c:210: error: ?EY_UP?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:210: error: ?EY_DOWN?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:220: error: ?ALSE?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function ?crollok?

scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function ?scrl?

scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function ?refresh?

scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function ?elwin?

scripts/kconfig/lxdialog/checklist.c:297: error: ?EY_LEFT?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:298: error: ?EY_RIGHT?undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function ?n_key_esc?

scripts/kconfig/lxdialog/checklist.c:312: error: ?EY_RESIZE?undeclared (first use in this function)

make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1


安装此包解决问题libncurses5-dev
文章评论

共有 0 条评论