Welcome 微信登录

首页 / 操作系统 / Linux / 编译Linux2.6.22时一个错误的解决

lhbdesktop:/usr/src/linux# make menuconfigHOSTCC scripts/kconfig/lxdialog/checklist.oIn file included from scripts/kconfig/lxdialog/checklist.c:24:scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directoryIn 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 ??tokenscripts/kconfig/lxdialog/dialog.h:194: error: expected ??before ??tokenscripts/kconfig/lxdialog/dialog.h:196: error: expected ??before ??tokenscripts/kconfig/lxdialog/dialog.h:197: error: expected ??before ??tokenscripts/kconfig/lxdialog/dialog.h:198: error: expected ??before ??tokenscripts/kconfig/lxdialog/dialog.h:199: error: expected ??before ??tokenscripts/kconfig/lxdialog/dialog.h:201: error: expected ??before ??tokenscripts/kconfig/lxdialog/checklist.c:31: error: expected ??before ??tokenscripts/kconfig/lxdialog/checklist.c:59: error: expected ??before ??tokenscripts/kconfig/lxdialog/checklist.c:95: error: expected ??before ??tokenscripts/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 oncescripts/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 effectscripts/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?