1

试图编译一个简单的 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 中没有提到它。我只是在其中添加这些定义还是......真的在这里迷失了。

4

1 回答 1

0

您必须安装 IBM® Informix® ESQL/C。以下 BIGINT 功能仅供 IBM® Informix® ESQL/C 的用户使用。要使用这些功能,ESQL/C 用户需要手动将他们的 C 代码链接到 ESQL/C 库。参考 - https://www.ibm.com/docs/en/rbd/9.5.1?topic=libraries-bigint-functions-chttps://www.ibm.com/docs/en/informix-servers/ 14.10?topic=programming-esqlc-header-files

于 2021-11-23T13:37:15.570 回答