uclinux编译出错!自己实在看不懂了
root@shenwening-desktop:/usr/src/uClinux-dist#makemenuconfigconfig/mkconfig>KconfigCC...
root@shenwening-desktop:/usr/src/uClinux-dist# make menuconfig
config/mkconfig > Kconfig
CC=cc CXX=c++ make -C /usr/src/uClinux-dist/config/kconfig mconf
make[1]: 正在进入目录 `/usr/src/uClinux-dist/config/kconfig'
cc -DCURSES_LOC="<curses.h>" -c -o mconf.o mconf.c
In file included from mconf.c:27:
lxdialog/dialog.h:32:20: error: curses.h: 没有该文件或目录
In file included from mconf.c:27:
lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:193: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:195: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:200: error: expected ‘)’ before ‘*’ token
mconf.c: In function ‘conf’:
mconf.c:610: error: ‘KEY_MAX’ undeclared (first use in this function)
mconf.c:610: error: (Each undeclared identifier is reported only once
mconf.c:610: error: for each function it appears in.)
mconf.c: In function ‘conf_choice’:
mconf.c:761: error: ‘KEY_MAX’ undeclared (first use in this function)
make[1]: *** [mconf.o] 错误 1
make[1]:正在离开目录 `/usr/src/uClinux-dist/config/kconfig'
make: *** [/usr/src/uClinux-dist/config/kconfig/mconf] 错误 2
我用uClinux-dist-20101026.tar.bz2的源代码。 展开
config/mkconfig > Kconfig
CC=cc CXX=c++ make -C /usr/src/uClinux-dist/config/kconfig mconf
make[1]: 正在进入目录 `/usr/src/uClinux-dist/config/kconfig'
cc -DCURSES_LOC="<curses.h>" -c -o mconf.o mconf.c
In file included from mconf.c:27:
lxdialog/dialog.h:32:20: error: curses.h: 没有该文件或目录
In file included from mconf.c:27:
lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:193: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:195: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:196: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:197: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:198: error: expected ‘)’ before ‘*’ token
lxdialog/dialog.h:200: error: expected ‘)’ before ‘*’ token
mconf.c: In function ‘conf’:
mconf.c:610: error: ‘KEY_MAX’ undeclared (first use in this function)
mconf.c:610: error: (Each undeclared identifier is reported only once
mconf.c:610: error: for each function it appears in.)
mconf.c: In function ‘conf_choice’:
mconf.c:761: error: ‘KEY_MAX’ undeclared (first use in this function)
make[1]: *** [mconf.o] 错误 1
make[1]:正在离开目录 `/usr/src/uClinux-dist/config/kconfig'
make: *** [/usr/src/uClinux-dist/config/kconfig/mconf] 错误 2
我用uClinux-dist-20101026.tar.bz2的源代码。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询