请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TDA4VM 主题中讨论的其他器件:AM62P、
工具与软件:
当我逐步参考文档构建 IGH 堆栈时、在步骤2.6中出现了问题:
make DESTDIR=/media/`whoami`/root/ install
错误:
Making install in master make[1]: Entering directory '/home/jm/tiIgh/ethercat-master/master' make[2]: Entering directory '/home/jm/tiIgh/ethercat-master/master' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/jm/tiIgh/ethercat-master/master' make[1]: Leaving directory '/home/jm/tiIgh/ethercat-master/master' Making install in tool make[1]: Entering directory '/home/jm/tiIgh/ethercat-master/tool' CXXLD ethercat /usr/bin/ld: ../master/soe_errors.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: ../master/soe_errors.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: ../master/soe_errors.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: ../master/soe_errors.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: ../master/soe_errors.o: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[1]: *** [Makefile:632: ethercat] Error 1 make[1]: Leaving directory '/home/jm/tiIgh/ethercat-master/tool' make: *** [Makefile:537: install-recursive] Error 1
根据提示、soe_errors.o 的文件类型如下:
file ./master/soe_errors.o ./master/soe_errors.o: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), with debug_info, not stripped