解决办法在提示出错的相应头文件中添加如下include: #include <stdint.h> #include <inttypes.h> http://patchwork.ozlabs.org/patch/213584/