嵌入式爱好者

查看: 26365|回复: 2

[Linux] 编译 Linux-3.14.38报错

[复制链接]

8

主题

28

帖子

63

积分

i.MX6Q通行证i.MX6UL通行证RK3568通行证RK3399通行证

扫一扫,手机访问本帖
发表于 2021-6-22 16:30:49 | 显示全部楼层 |阅读模式
在编译 Linux-3.14.38时报错,请问这个是什么原因呀?用的gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf。ubnutu18.04

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

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

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

  4.                                                            ^

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

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

  7. ^

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

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

  10. static s8 gtp_i2c_test_no_rst(struct i2c_client *client)

  11.            ^

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

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

  14. make[3]: *** [drivers/input/touchscreen/gt9xx.o] Error 1

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

  16. make[2]: *** [drivers/input/touchscreen] Error 2

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

  18. make[1]: *** [drivers/input] Error 2

  19. Makefile:843: recipe for target 'drivers' failed

  20. make: *** [drivers] Error 2

复制代码


回复

使用道具 举报

8

主题

28

帖子

63

积分

i.MX6Q通行证i.MX6UL通行证RK3568通行证RK3399通行证

 楼主| 发表于 2021-6-22 16:31:59 | 显示全部楼层
OKMX6UL-C的板子

点评

飞凌出厂的交叉编译器是gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.gz,没用过你说的这个。  详情 回复 发表于 2021-6-23 08:54
点评回复 支持 反对

使用道具 举报

0

主题

55

帖子

343

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证

发表于 2021-6-23 08:54:19 | 显示全部楼层

飞凌出厂的交叉编译器是gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.gz,没用过你说的这个。
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-19 04:51

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表