【发布时间】:2020-08-23 09:04:50
【问题描述】:
尝试构建内核时
我收到了这个错误
/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9:26: error: no include path in which to search for stdint.h
# include_next <stdint.h>
当我查看时 /usr/lib/gcc/x86_64-linux-gnu/7/
只有一个 stdint.h,在 include-fixed 目录下有:limit.h 和 syslimit.h
【问题讨论】:
-
您的操作系统使用交叉编译器还是“标准”gcc 版本?
-
在我的操作系统 (ubuntu 18.04) gcc 版本 7.5.0 中,在它使用 gcc 7 的项目中