| 
 
贡献304 
飞刀97 FD
注册时间2019-2-19
在线时间11 小时积分63 
 
    
 扫一扫,手机访问本帖  | 
 
| 在编译 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[3]: *** [drivers/input/touchscreen/gt9xx.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:843: recipe for target 'drivers' failed
make: *** [drivers] Error 2
 
 | 
 |