intel / intel/QAT_Engine

compilation/linkage question (static executable with provider functions)

Open
#276 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
443
Forks
137
PR merge metrics
No merged PRs in 30d

Description

i have openssl-3.1.2, QAT_Engine-1.3.1.
when i compile my program statically , i add all qat_*.o files from the Engine directory, and then get linkage errors,
such as qat_prov_ctx_set_core_bio_method multiple defined.

indeed there are 2 places:
./engines/QAT_Engine-1.3.1/qat_prov_bio.c:224: BIO *ossl_bio_new_from_core_bio(QAT_PROV_CTX *provctx, OSSL_CORE_BIO *corebio)
and
./providers/common/bio_prov.c:226: BIO *ossl_bio_new_from_core_bio(PROV_CTX *provctx, OSSL_CORE_BIO *corebio)

please advise, why the same name of function is used again, and may we link all these files together to get statically build executable with provider code?

thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.