zl程序教程

您现在的位置是:首页 >  其它

当前栏目

strip: Unable to recognise the format of the input file

to The of File input unable format strip
2023-09-14 09:12:44 时间

这个错误是出现在交叉编译过程的,makefile中的strip使用的是本机的strip,应该使用交叉编译工具链的strip
执行:

type strip

得到:

strip is hashed (/usr/bin/strip)

可见,strip是使用的本机系统的strip

在makefile中将:

STRIP = strip

改为

STRIP = arm-linux-gnueabihf-strip