编译Linux2.6.22时一个错误的解决
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: