当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 使用uClinux时,我使用了make dep最后出现提示,怎么办?
帖子发表于 : 2009-08-11 18:31 

注册: 2009-03-27 16:01
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
使用uClinux时,我使用了make dep最后出现提示
find: “/home/mrchy/uClinux-dist/linux-2.4.x/include/asm”: 没有该文件或目录
scripts/mkdep -- init/*.c > .depend
make[1]:正在离开目录 `/home/mrchy/uClinux-dist/linux-2.4.x'
这个跟后面好像有关系,我的使用uClinux-dist-20080808
arm-linux-gcc 4.3.2

make lib_only 后
出现
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ssize_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ptrdiff_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:81: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'u_int64_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int64_t'
/home/mrchy/uClinux-dist/lib/libc/include/linux/types.h:131: error: expected specifier-qualifier-list before '__kernel_daddr_t'
error.c: In function 'strerror':
error.c:29: warning: implicit declaration of function 'open'
error.c:33: warning: implicit declaration of function 'read'
error.c:41: warning: implicit declaration of function 'atoi'
error.c:46: warning: implicit declaration of function 'close'
make[4]: *** [error.o] 错误 1
make[4]:正在离开目录 `/home/mrchy/uClinux-dist/lib/libc/error'
make[3]: *** [subdirs] 错误 1
make[3]:正在离开目录 `/home/mrchy/uClinux-dist/lib/libc'
make[2]: *** [libc] 错误 2
make[2]:正在离开目录 `/home/mrchy/uClinux-dist/lib'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/mrchy/uClinux-dist/lib'

请高手指点呀,我已经晕了好几天了


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译