[资料分享] 最有用的Linux的编译之打包过程中的错误一

[复制链接]
 楼主| xiaohai8856 发表于 2015-9-23 10:37 | 显示全部楼层 |阅读模式
错误三:
cc -Wall -Werror -O2 /home/silinx/lichee/buildroot/output/build/host-makedevs/makedevs.c -o /home/silinx/lichee/buildroot/output/build/host-makedevs/makedevs
/home/silinx/lichee/buildroot/output/build/host-makedevs/makedevs.c: In function ‘main’:
/home/silinx/lichee/buildroot/output/build/host-makedevs/makedevs.c:374:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
  int ret = EXIT_SUCCESS;
      ^
cc1: all warnings being treated as errors
make: *** [/home/silinx/lichee/buildroot/output/build/host-makedevs/makedevs] Error 1

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

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

本版积分规则

102

主题

315

帖子

16

粉丝
快速回复 在线客服 返回列表 返回顶部