....componentspthreadsposix_types.h(9): error: #5: cannot open source input file "sys/types.h": No such file or directory解决办法:找到rtconfig.h,在其中找到宏定义RT_USING_NEWLIB,把它注释掉,重新编译,搞定。