前言
 
在编译xilinx的uboot的时候出现了一个问题,始终报错:“strip: Unable to recognise the format of the input file `gen_eth_addr'”
 
1 分析
 
一般对于编译链接命令出现这样的错误,都是因为目标文件和命令的编译环境不一样导致的,但是我看了一下对于这个目标文件gen_eth_addr,使用的gcc进行编译的啊,为什么strip就不会认识呢?
在第一反应中,gcc/strip都应该是使用的系统安装是/usr/bin中指定的命令,对于这两个命令的环境应该是一样的,所以我多次尝试都不对,所以我觉得肯定是bash在调用gcc/strip命令时路径出现了问题。
使用 type命令查看gcc和strip使用的路径:

root@~:type gcc

gcc is /usr/bin/gcc
root@~:type strip
strip is /home/timesys/linux-gnu/toolchain/

解决strip: Unable to recognise the format of the input file问题相关推荐

  1. strip: Unable to recognise the format of the input file

    这个错误是出现在交叉编译过程的,makefile中的strip使用的是本机的strip,应该使用交叉编译工具链的strip 执行: type strip 得到: strip is hashed (/u ...

  2. 成功解决ValueError: Unable to add relationship because child variable ‘ID‘ in ‘cats_df‘ is also its inde

    成功解决ValueError: Unable to add relationship because child variable 'ID' in 'cats_df' is also its inde ...

  3. 成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t

    成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t ...

  4. 成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the

    成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the ...

  5. 解决xhost:unable to open display的问题

    解决xhost:unable to open display""的问题 linux系统下如果需要打开X-Server的,需要设置显示器位置. 简单的xhost+命令提示我们unab ...

  6. Sharepoint 2010 解决DFWP - Unable to display this Web Part 的问题

    Sharepoint 2010 解决DFWP - Unable to display this Web Part 的问题 参考文章: (1)Sharepoint 2010 解决DFWP - Unabl ...

  7. 解决项目Unable to find GatewayFilterFactory with name CacheRequestFilter错误

    解决项目Unable to find GatewayFilterFactory with name CacheRequestFilter错误 错误详情: 解决办法: 错误详情: reactor.cor ...

  8. 解决科研小问题 | Error: Unable to find solver DLL path from sim file

    当simulink和carsim联合仿真的时候出现: Error: Unable to find solver DLL path from sim file 网上出现了很多种解决的办法,例如重新输一遍 ...

  9. 已解决:导入keras(tf)训练好的模型报错解决OSError: Unable to open file (unable to open file: name = ‘model_3.h5’)

    1.场景 导入keras训练好的模型报错解决 OSError: Unable to open file (unable to open file: name = 'model_3.h5') 2.解决方 ...

最新文章

  1. 自动驾驶,别再谈「接管」色变了
  2. 高压小功率三极管 MFV13001
  3. Go中的Map实现机制
  4. 2021-10-27 PTA 数据结构 链表 两个有序链表序列的合并
  5. 在页面中隐藏数据库某信息并显示该信息对应的字典编码名称(后台ssh框架,前台extjs)
  6. T-SQL、Jet SQL、PL-SQL
  7. Dubbo原理与框架设计
  8. antix linux安装教程,antiX 19.1 发布,轻量级的桌面Linux发行版
  9. 单片机按键控制数码管c语言程序,基于单片机的按键控制LED数码管共阴极动态显示电路设计报告(毕业论文).doc...
  10. myecplise 完全开发
  11. linux操作系统关闭防火墙,linux操作系统关闭防火墙的方法
  12. C++if嵌套语句判断闰年
  13. mysql pid无法写入_ERROR /usr/libexec/mysqld:写入文件'/var/run/mysqld/mysqld.pid'时出错(错误代码:28)...
  14. 《拆掉思维里的墙》—— 读后总结
  15. linux虚拟主机用织梦,织梦程序用什么虚拟主机好
  16. oracle 11.2 RAC 安装新主机 识别老存储
  17. Java实战 SpringBoot 网站开发 留言管理、网站后台留言管理模块、后台网站用户运营数据管理开发。
  18. 如何解决 使用matplotlib.finance获取雅虎财经网站股票数据 报错?
  19. Android 各种图片格式
  20. 微信小程序textarea换行输入的文本,在view中如何换行渲染

热门文章

  1. C语言实现队列(先进先出)
  2. 运营数据分析模型—漏斗分析
  3. 二分法求凸多边形的外接圆最大半径
  4. Mac终端Tab键自动补全实现
  5. 使用 js 实现文本过多时隐藏部分文本
  6. 计算机科学和技术工学理学,计算机属于工学还是理学 二者有什么区别
  7. Kwp2000协议的应用(程序原理篇)
  8. System.Net.Sockets Socket.Connected
  9. python心跳包原理_心跳包机制设计详解 转载
  10. 诺基亚8.1高配版登陆印度 标配6+128GB存储