intel / dps-for-iot

Other
61 stars 23 forks source link

Not compiling on arm64 #130

Open tinchoa opened 3 years ago

tinchoa commented 3 years ago

I tried to compile it on an arm64 arch (raspberry pi4) but it's failing. /usr/bin/ld: ext/intel-ipsec-mb/lib/sse/sha512_one_block_sse.os: Relocations in generic ELF (EM: 62) /usr/bin/ld: ext/intel-ipsec-mb/lib/sse/sha512_one_block_sse.os: Relocations in generic ELF (EM: 62) /usr/bin/ld: ext/intel-ipsec-mb/lib/sse/sha512_one_block_sse.os: Relocations in generic ELF (EM: 62) /usr/bin/ld: ext/intel-ipsec-mb/lib/sse/sha512_one_block_sse.os: Relocations in generic ELF (EM: 62) /usr/bin/ld: ext/intel-ipsec-mb/lib/sse/sha512_one_block_sse.os: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status scons: *** [build/obj/lib/libdps_ns3.so] Error 1 scons: building terminated because of errors. I've tried with different compilers and even tried cross-compile with arm-linux-gnueabi-gcc and aarch64-linux-gnu-gcc but also having the same issue.