Toybrick

标题: 编译缺少文件 [打印本页]

作者: 9454002@qq.com    时间: 2022-5-6 17:45
标题: 编译缺少文件
kernel在编译的时候出现错误,源码是github下载的

作者: 9454002@qq.com    时间: 2022-5-6 17:46
#
# configuration written to .config
#
/usr/bin/env: ‘python’: No such file or directory
scripts/kconfig/conf  --silentoldconfig Kconfig
/usr/bin/env: ‘python’: No such file or directory
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/devicetable-offsets.s
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:278: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:484: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:590: scripts] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/usr/bin/env: ‘python’: No such file or directory
  CC      scripts/mod/devicetable-offsets.s
make[2]: *** [scripts/Makefile.build:278: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
  CHK     include/generated/utsrelease.h
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:484: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:590: scripts] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/usr/bin/env: ‘python’: No such file or directory
  CC      scripts/mod/devicetable-offsets.s
  CHK     include/generated/utsrelease.h
make[2]: *** [scripts/Makefile.build:278: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:484: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:590: scripts] Error 2
make: *** Waiting for unfinished jobs....
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux-u2.dtb': No such file or directory
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux-edp.dtb': No such file or directory
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux-mipi.dtb': No such file or directory
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux-imx258.dtb': No such file or directory
/usr/bin/env: ‘python’: No such file or directory
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
/usr/bin/env:   CC      scripts/mod/devicetable-offsets.s
‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:278: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:484: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:590: scripts] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
/usr/bin/env: ‘python’  CC      scripts/mod/devicetable-offsets.s
: No such file or directory
make[2]: *** [scripts/Makefile.build:278: scripts/mod/empty.o] Error 127
make[2]: *** Waiting for unfinished jobs....
/usr/bin/env: ‘python’: No such file or directory
make[2]: *** [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127
make[1]: *** [scripts/Makefile.build:484: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
  CHK     include/generated/utsrelease.h
make: *** [Makefile:590: scripts] Error 2
make: *** Waiting for unfinished jobs....
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb': No such file or directory
cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prod-linux.dtb': No such file or directory
cp: cannot stat 'arch/arm64/boot/Image': No such file or directory
./make.sh: line 98: genext2fs: command not found
作者: jefferyzhang    时间: 2022-5-6 17:50
/usr/bin/env: ‘python’: No such file or directory
作者: 9454002@qq.com    时间: 2022-5-6 17:56
TB-RK3399ProD 支持Android和Linux双系统,支持双系统启动和一键切换功能怎么切换呢?
作者: 9454002@qq.com    时间: 2022-5-6 18:04
make[2]: 'include/generated/vdso-offsets.h' is up to date.
  Building modules, stage 2.
  MODPOST 3 modules
  Image:  resource.img (with rk3399pro-toybrick-prod-linux.dtb logo.bmp logo_kernel.bmp) is ready
  Image:  boot.img (with Image  resource.img) is ready
  Image:  zboot.img (with Image.lz4  resource.img) is ready
./make.sh: line 98: genext2fs: command not found
作者: jefferyzhang    时间: 2022-5-6 18:06
9454002@qq.com 发表于 2022-5-6 18:04
make[2]: 'include/generated/vdso-offsets.h' is up to date.
  Building modules, stage 2.
  MODPOST 3  ...

./make.sh: line 98: genext2fs: command not found

你是真的一点英文都看不懂呀。。。




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3