主题中讨论的其他器件: AM67、 SysConfig
工具与软件:
当我逐步参考文档构建 IGH 堆栈时、在步骤2.6中出现了问题:
使 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