intel / isa-l

Intelligent Storage Acceleration Library
Other
946 stars 300 forks source link

undefined reference to `ec_init_tables' #265

Closed Rtoax closed 8 months ago

Rtoax commented 9 months ago

When i compile perfs for isa-l_pub on aarch64, get the following error:

$ make perfs
  CCLD     erasure_code/erasure_code_perf
/usr/bin/ld: erasure_code/erasure_code_perf.o: in function `ec_encode_perf':
/home/rongtao/Git/isa-l/erasure_code/erasure_code_perf.c:77: undefined reference to `ec_init_tables'
/usr/bin/ld: erasure_code/erasure_code_perf.o: in function `ec_decode_perf':
/home/rongtao/Git/isa-l/erasure_code/erasure_code_perf.c:106: undefined reference to `ec_init_tables'
collect2: error: ld returned 1 exit status
make: *** [Makefile:3235: erasure_code/erasure_code_perf] Error 1
pablodelara commented 9 months ago

Hi @Rtoax. https://github.com/intel/isa-l/pull/259 PR should fix the issue. Can you check?

pablodelara commented 8 months ago

This should be fixed now. Feel free to reopen otherwise!