|
现在我在学习使用RK3399PRO这个开发板,在Ubuntu18.04这个版本下,编译kernel-stable这个内核文件,使用aarch64-linux-android_4.9配置到 /etc/profile中,修改Makefile中的gcc为aarch64-linux-android-gcc后去执行./make.sh linux prod后出现
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:106:23: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
^
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/basic/fixdep' failed
make[1]: *** [scripts/basic/fixdep] Error 1
Makefile:478: recipe for target 'scripts_basic' failed
make: *** [scripts_basic] Error 2
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:106:23: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
^
compilation terminated.
scripts/Makefile.host:91: recipe for target 'scripts/basic/fixdep' failed
make[2]: *** [scripts/basic/fixdep] Error 1
Makefile:478: recipe for target 'scripts_basic' failed
make[1]: *** [scripts_basic] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'scripts'. Stop.
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
scripts/basic/fixdep.c:106:23: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
这样的问题,我该怎么去解决,百度了后也没啥思路。
|
|