gpt4 book ai didi

c - gcc 基本 C 程序无法编译 : File missing in Ubuntu

转载 作者:太空宇宙 更新时间:2023-11-04 04:13:31 25 4
gpt4 key购买 nike

当我试图编译一个基本的 C 程序时,我就遇到过这种情况。有人可以帮忙吗?

我在 npm 的 node-gyp 重建中遇到了麻烦。

In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:0,
from test.c:1:
/usr/include/stdint.h:34:10: fatal error: bits/stdint-intn.h: No such file or directory
#include <bits/stdint-intn.h>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.

最佳答案

gcc/glibc 安装不完整或不兼容? Ubuntu package search说你需要 libc6-dev 包用于 /usr/include/x86_64-linux-gnu/bits/stdint-intn.h

关于c - gcc 基本 C 程序无法编译 : File missing in Ubuntu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54454834/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com