青晗 发表于 2021-6-22 16:30:49

编译 Linux-3.14.38报错

在编译 Linux-3.14.38时报错,请问这个是什么原因呀?用的gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf。ubnutu18.04

drivers/input/touchscreen/gt9xx.c: 在函数‘goodix_ts_probe’中:

drivers/input/touchscreen/gt9xx.c:2423:59: 错误: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]

   GTP_INFO("GTP Driver Built@%s, %s", __TIME__, __DATE__);

                                                         ^

drivers/input/touchscreen/gt9xx.c:2423:1: 错误: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]

   GTP_INFO("GTP Driver Built@%s, %s", __TIME__, __DATE__);

^

drivers/input/touchscreen/gt9xx.c: 在文件作用域:

drivers/input/touchscreen/gt9xx.c:1657:11: 警告: ‘gtp_i2c_test_no_rst’ defined but not used [-Wunused-function]

static s8 gtp_i2c_test_no_rst(struct i2c_client *client)

         ^

cc1:有些警告被当作是错误

scripts/Makefile.build:308: recipe for target 'drivers/input/touchscreen/gt9xx.o' failed

make: *** Error 1

scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed

make: *** Error 2

scripts/Makefile.build:455: recipe for target 'drivers/input' failed

make: *** Error 2

Makefile:843: recipe for target 'drivers' failed

make: *** Error 2



青晗 发表于 2021-6-22 16:31:59

OKMX6UL-C的板子

肉肉珩 发表于 2021-6-23 08:54:19

青晗 发表于 2021-6-22 16:31
OKMX6UL-C的板子

飞凌出厂的交叉编译器是gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.gz,没用过你说的这个。
页: [1]
查看完整版本: 编译 Linux-3.14.38报错