求助,Tina-sdk编译不通过
在ubuntu16.04 虚拟机中执行 :
source build/envsetup.sh
lunch
make
编译报错:
drivers/input/init-input.c: In function 'input_set_power_enable':
drivers/input/init-input.c:750:4: error: implicit declaration of function '__gpio_set_value'; did you mean 'gpio_set_value'? [-Werror=implicit-function-declaration]
__gpio_set_value(power_io, 1);
^~~~~~~~~~~~~~~~
gpio_set_value
cc1: some warnings being treated as errors
scripts/Makefile.build:286: recipe for target 'drivers/input/init-input.o' failed
make[7]: *** [drivers/input/init-input.o] Error 1
scripts/Makefile.build:556: recipe for target 'drivers/input' failed
make[6]: *** [drivers/input] Error 2
Makefile:1810: recipe for target 'drivers' failed
make[5]: *** [drivers] Error 2
make[5]: Leaving directory '/home/zyj/riscv/tina-D1-H/lichee/linux-5.4'
Makefile:28: recipe for target '/home/zyj/riscv/tina-D1-H/out/d1-h-nezha/compile_dir/target/linux-d1-h-nezha/linux-5.4.61/.modules' failed
make[4]: *** [/home/zyj/riscv/tina-D1-H/out/d1-h-nezha/compile_dir/target/linux-d1-h-nezha/linux-5.4.61/.modules] Error 2
make[4]: Leaving directory '/home/zyj/riscv/tina-D1-H/target/allwinner/d1-h-nezha'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/zyj/riscv/tina-D1-H/target/allwinner'
target/Makefile:21: recipe for target 'target/allwinner/compile' failed
make[2]: *** [target/allwinner/compile] Error 2
make[2]: Leaving directory '/home/zyj/riscv/tina-D1-H'
target/Makefile:16: recipe for target '/home/zyj/riscv/tina-D1-H/out/d1-h-nezha/staging_dir/target/stamp/.target_compile' failed
make[1]: *** [/home/zyj/riscv/tina-D1-H/out/d1-h-nezha/staging_dir/target/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/zyj/riscv/tina-D1-H'
/home/zyj/riscv/tina-D1-H/build/toplevel.mk:304: recipe for target 'world' failed
make: *** [world] Error 2
#### make failed to build some targets (43:47 (mm:ss)) ####
离线