AM62P: How do I build Igh EtherCat on AM62P microprocessors

Part Number: AM62P

Tool/software:

when I build the Igh stack step by step referencing to the document, something wrong in step 2.6:

make DESTDIR=/media/`whoami`/root/ install

Error:

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

based on the prompt, the file type of soe_errors.o is as follows:

file  ./master/soe_errors.o
./master/soe_errors.o: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), with debug_info, not stripped