fukunhangkong 发表于 2023-7-31 16:09:06

stdio.h: No such file or directory

root@user-VirtualBox:/opt/OKMX8MP-C/OK8MP-linux-sdk/OK8MP-linux-kernel/extra/jailhouse# vim Makefile
root@user-VirtualBox:/opt/OKMX8MP-C/OK8MP-linux-sdk/OK8MP-linux-kernel/extra/jailhouse# make
WARNING: Could not create the helper script to generate configurations on remote machines ("jailhouse-conf-collect"). You need Python and the Mako library for it.
CC      /opt/OKMX8MP-C/OK8MP-linux-sdk/OK8MP-linux-kernel/extra/jailhouse/tools/jailhouse.o
/opt/OKMX8MP-C/OK8MP-linux-sdk/OK8MP-linux-kernel/extra/jailhouse/tools/jailhouse.c:14:10: fatal error: stdio.h: No such file or directory
   14 | #include <stdio.h>
      |          ^~~~~~~~~
compilation terminated.

这个是什么原因啊


w_y_y 发表于 2023-8-1 09:27:41

您在这个路径是在编译什么东西吗?看报错是缺少python,缺少头文件可以重新下载c语言的标准库来解决。

fukunhangkong 发表于 2023-8-2 10:55:14

问题解决了,是交叉编译器的路径不对。
页: [1]
查看完整版本: stdio.h: No such file or directory