试过了,GCC201203和201103,ARMCC三种都没有问题,不过没有加上newlic试过。------------------ 原始邮件 ------------------发件人: "prife"<gop...@gmail.com>;发送时间: 2012年8月3日(星期五) 凌晨1:26收件人: "rt-thread-cnusers"<rt-threa...@googlegroups.com>;主题: Re: 回复: nfs的编译bug,涉及minilibc楼上,下面是几种情况是否验证?1. armcc 是否可以过?2. 开启关闭MINILIB后,上面armc,gcc两个版本是否都可以过?3. 开启关闭NEWLIB后,上面armc,gcc两个版本是否都可以过?在 2012年8月3日 上午12:00,Romeo <xp...@vip.qq.com>写道:
‘默’守成规O(∩_∩)O哈哈~
\realtouchgit\software\rt-thread\components\dfs\filesystems\nfs\rpc\types.h
42-59行
#ifndef RT_USING_MINILIBC
typedef unsigned int u_int;
typedef unsigned char u_char;
typedef unsigned long u_long;typedef rt_int8_t int8_t;
typedef rt_uint8_t uint8_t;
typedef rt_int16_t int16_t;
typedef rt_uint16_t uint16_t;
typedef rt_int32_t int32_t;
typedef rt_uint32_t uint32_t;
#else
#include <sys/types.h>
#include <stdint.h>
#endiftypedef long long int64_t;=============================修改如下,编译在201103和201203没有问题==================
typedef unsigned long long uint64_t;#ifndef RT_USING_MINILIBC
typedef unsigned int u_int;
typedef unsigned char u_char;
typedef unsigned long u_long;typedef rt_int8_t int8_t;
typedef rt_uint8_t uint8_t;
typedef rt_int16_t int16_t;
typedef rt_uint16_t uint16_t;
typedef rt_int32_t int32_t;
typedef rt_uint32_t uint32_t;#else
typedef long long int64_t;
typedef unsigned long long uint64_t;
#include <sys/types.h>
#include <stdint.h>
#endif------------------ 原始邮件 ------------------发件人: "prife"<gop...@gmail.com>;发送时间: 2012年8月2日(星期四) 晚上10:37收件人: "rt-thread-cnusers"<rt-threa...@googlegroups.com>;主题: Re: nfs的编译bug,涉及minilibc忘记说了:realtouch-stm32f4\software\examples\examples\3_networkingrtconfig.h 里使能#define RT_USING_DFS_NFS#define RT_USING_DFS在 2012年8月2日 下午10:35,prife <gop...@gmail.com>写道:trunk\components\dfs\filesystems\nfs\rpc\types.h58行typedef long long int64_t;typedef unsigned long long uint64_t;使用 codesourcery 201103月版本不能编译通过,提示redefinition,但是201106月版本可以编译通过。ARMCC可以编译通过, armcc可以过如果注释掉这两行,201103 &201106 gcc编译通过,但是armcc编译不过。因为涉及到MINILIBC的问题,所以我先发到这里mark一下。--
把有限的时间投入到无限的学习中去
--
把有限的时间投入到无限的学习中去
--
把有限的时间投入到无限的学习中去
奉默大哥命令,上此修改补丁。------------------ 原始邮件 ------------------发件人: "我自己的邮箱"<xp...@vip.qq.com>;发送时间: 2012年8月3日(星期五) 上午9:06收件人: "rt-thread-cnusers"<rt-threa...@googlegroups.com>;主题: 回复: 回复: nfs的编译bug,涉及minilibc