1、错误:strip: Unable to recognise the format of the input file

  原因:由于strip是宿主机的,所以不能 strip 目标机的文件

  解决:通过instll --help, 发现需要修改makefile,增加--strip-program定义,如下:

nstall: chat
    mkdir -p $(BINDIR) $(MANDIR)
    $(INSTALL) -s -c chat $(BINDIR) --strip-program=arm-linux-gnueabihf-strip     #增加--strip-program定义

 

相关文章:

  • 2021-10-04
  • 2021-07-26
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
猜你喜欢
  • 2022-02-22
  • 2021-10-19
  • 2021-09-17
  • 2021-11-15
  • 2021-12-10
  • 2022-12-23
相关资源
相似解决方案