Toybrick

标题: fatal error: drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_internal.h:... [打印本页]

作者: surongbin    时间: 2020-12-30 18:40
标题: fatal error: drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_internal.h:...

请问一下版主,从.https://github.com/rockchip-toybrick/kernel?sid=下载的源码,编译时出现以下的文件名过长的错误,可能是什么原因?


Inspiron-3668:/rk3399prox/linux_sdk/kernel-stable$ ./make.sh linux prox
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/utsrelease.h
make[1]: “arch/arm64/boot/dts/rockchip/rk3399pro-toybrick-prox-linux-edp.dtb”是最新的。
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[1]: “include/generated/vdso-offsets.h”是最新的。
  CHK     include/generated/compile.h
  CC      drivers/gpu/arm/midgard/backend/gpu/mali_kbase_device_hw.o
  CC      drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_backend.o
  CC      drivers/gpu/arm/midgard/backend/gpu/mali_kbase_jm_as.o
drivers/gpu/arm/midgard/backend/gpu/mali_kbase_device_hw.c:23:51: fatal error: drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_internal.h: File name too long
#include <backend/gpu/mali_kbase_instr_internal.h>
                                                   ^
compilation terminated.
make[4]: *** [drivers/gpu/arm/midgard/backend/gpu/mali_kbase_device_hw.o] 错误 1
make[4]: *** 正在等待未完成的任务....
drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_backend.c:29:51: fatal error: drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_internal.h: File name too long
#include <backend/gpu/mali_kbase_instr_internal.h>
                                                   ^
compilation terminated.
make[4]: *** [drivers/gpu/arm/midgard/backend/gpu/mali_kbase_instr_backend.o] 错误 1
  CC      drivers/ras/ras.o
  CC      drivers/ras/debugfs.o
  CC      drivers/regulator/core.o
  CC      drivers/reset/core.o
  CC      drivers/rtc/rtc-lib.o
make[3]: *** [drivers/gpu/arm/midgard] 错误 2
make[2]: *** [drivers/gpu/arm] 错误 2
make[1]: *** [drivers/gpu] 错误 2
make[1]: *** 正在等待未完成的任务....







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