免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1784 | 回复: 0
打印 上一主题 下一主题

[BootLoader] 请教在cygwin下编译uboot报错的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-10-24 19:01 |只看该作者 |倒序浏览
源码u-boot-1.3.4在ubuntu下编译正常,但是在cygwin下编译有如下报错:
//**********************************************************************************************
In file included from /usr/include/sys/_default_fcntl.h:179:0,
                            from /usr/include/sys/fcntl.h:3,
                            from /usr/include/fcntl.h:14,
                            from mkimage.h:24,
                            from image.c:71:
/cygdrive/d/Linux/uboot/u-boot-1.3.4/include/linux/types.h:在文件作用域:
/cygdrive/d/Linux/uboot/u-boot-1.3.4/include/linux/types.h:13:26:错误:与‘_types_fd_set’类型冲突
typedef __kernel_fd_set fd_set;

/usr/include/sys/types.h:254:3:附注:‘types_fd_set’的上一个声明在此:
} _types_fd_set;

In file included from /cygdrive/d/linux/uboot/u-boot-1.3.4/include/u-boot/md5.h:9:0,
                            from image.c:72:
/cygdrive/d/linux/uboot/u-boot-1.3.4/include/linux/types.h:14:25:错误:与'dev_t'类型冲突
typedef __kernel_dev_t dev_t;

In file included form /usr/include/sys/types.h:473:0,
                            from /usr/include/sys/_default_fcntl.h:179,
                            from /usr/include/sys/fcntl.h:3,
                            from /usr/include/fcntl.h:14,
                            from mkimage.h:24,
                            from image.c:71:
/usr/include/cygwin/types.h:49:20:附注:‘dev_t’的上一个声明在此:
typedef _uint32_t dev_t;
……
……
……
//**********************************************************************************************
省略的为类似的错误:
错误:与'ino_t'类型冲突
错误:与'mode_t'类型冲突
错误:与'off_t'类型冲突
错误:与'daddr_t'类型冲突
错误:与'key_t'类型冲突
错误:与'uid_t'类型冲突
错误:与'gid_t'类型冲突
错误:与'clock_t'类型冲突
错误:与'uint64_t'类型冲突
错误:与'__u64'类型冲突
错误:与'u_int64_t'类型冲突
错误:与'__s64'类型冲突
错误:与'int64_t'类型冲突

请大牛帮忙分析一下,这是什么原因呢?十分感谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP