intel / intel-ipsec-mb

Intel(R) Multi-Buffer Crypto for IPSec
BSD 3-Clause "New" or "Revised" License
288 stars 87 forks source link

FreeBSD compilation broken with SHARED=y #67

Closed Martinfx closed 3 years ago

Martinfx commented 3 years ago

When compiling with clang , with SHARE=y, the compilation of the test applications fail due to Undefined symbol "_aligned_malloc"

test@ ~/D/i/test> ./ipsec_xvalid_test
ld-elf.so.1: /usr/local/lib/libIPSec_MB.so.0: Undefined symbol "_aligned_malloc"
test@ ~/D/i/test> ./ipsec_MB_testapp 
ld-elf.so.1: /intel-ipsec-mb/test/ipsec_MB_testapp: Undefined symbol "imb_get_errno"
test@ ~/D/i/test>
pablodelara commented 3 years ago

Hi @Martinfx , I don't see such issue. Can you make sure you are cleaning up any previously installed intel-ipsec-mb.h headers, by running "gmake uninstall"? Thanks!

Martinfx commented 3 years ago

@pablodelara I am sorry. I forget install new library. Thx