intel / QAT-ZSTD-Plugin

Other
60 stars 11 forks source link

Duplicate symbol when try to static link qatseqprod and qatzip #3

Closed marin-ma closed 1 year ago

marin-ma commented 1 year ago

I try to link both libqatseqprod.a and libqatzip.a, but got error:

/usr/bin/ld: qatzstd_ep-install/src/qatzstd_ep/src/libqatseqprod.a(qatseqprod.o): in function `getSectionName':
qatseqprod.c:(.text+0xa90): multiple definition of `getSectionName'; qatzip_ep-install/src/qatzip_ep/src/.libs/libqatzip.a(libqatzip_la-qatzip.o):qatzip.c:(.text+0x2290): first defined here