试图编译一个简单的 c 程序并得到错误。
In file included from /opt/local/lib/gcc47/gcc/x86_64-apple- darwin13/4.7.3/include/stdint.h:3:0,
from ecl/config.h:134,
from ecl/ecl.h:35,
from main.c:2:
/opt/local/lib/gcc47/gcc/x86_64-apple-darwin13/4.7.3/include-fixed/stdint.h:27:32: fatal error: sys/_types/_int8_t.h: No such file or directory
compilation terminated.
这是什么错误,我该如何解决?从我收集到的 int8 等是在 stdint.h 中定义的,但在 types.h 或 _types.h 中没有提到它。我只是在其中添加这些定义还是......真的在这里迷失了。