尝试编译AC程序,但我遇到致命错误:/USR/include/rpc/misc/abstract_atomic.h

发布于 2025-01-30 17:47:54 字数 1154 浏览 3 评论 0原文

我正在尝试编译我的程序。首先,我遇到了致命的错误:rpc/rpc.h,尝试了一些修复程序,然后是致命错误:/usr/include/rpc/misc/misc/abstract_atomic.h。现在我有致命错误:NetConfig.h。我不知道该怎么办。有人可以帮忙吗?

┌──(kali㉿kali)-[~/Test/Blatt4]
└─$ gcc -c rls_clnt.c rls_svc.c rls_xdr.c
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_clnt.c:7:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_svc.c:6:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_xdr.c:6:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

I am trying to compile my programm. First I got the fatal error:rpc/rpc.h, tried some fixes and then fatal error:/usr/include/rpc/misc/abstract_atomic.h. Now I get fatal error: netconfig.h. I have no idea what to do. Can someone help?

┌──(kali㉿kali)-[~/Test/Blatt4]
└─$ gcc -c rls_clnt.c rls_svc.c rls_xdr.c
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_clnt.c:7:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_svc.c:6:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/rpc/rpc.h:38,
                 from rls.h:9,
                 from rls_xdr.c:6:
/usr/include/rpc/types.h:240:10: fatal error: netconfig.h: Datei oder Verzeichnis nicht gefunden
  240 | #include <netconfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文