intel / QAT_Engine

Intel QuickAssist Technology( QAT) OpenSSL Engine (an OpenSSL Plug-In Engine) which provides cryptographic acceleration for both hardware and optimized software using Intel QuickAssist Technology enabled Intel platforms. https://developer.intel.com/quickassist
BSD 3-Clause "New" or "Revised" License
391 stars 127 forks source link

fail to compile QAT_Engine-1.6.0(cannot find -lqat)? #314

Open lastpepole opened 1 month ago

lastpepole commented 1 month ago

@venkatesh6911 @Yogaraj-Alamenda [root@hostname QAT_Engine-1.6.0]# make -j 4 make err-files && make all-am ...... QAT: 332 new reasons make[1]: Leaving directory '/tmp/QAT_Engine-1.6.0' make[1]: Entering directory '/tmp/QAT_Engine-1.6.0' CC e_qat.lo CC qat_fork.lo ...... CC qat_sys_call.lo CCLD qatengine.la /usr/bin/ld: cannot find -lqat collect2: error: ld returned 1 exit status make[1]: [qatengine.la] Error 1 make[1]: Leaving directory '/tmp/QAT_Engine-1.6.0' make: [all] Error 2

venkatesh6911 commented 1 month ago

Hi @lastpepole , can you share the output for the following commands:

  1. lsmod | grep "qat"
  2. lspci | grep "Co-p"
lastpepole commented 1 month ago

hi, @venkatesh6911 ,information as below:

[root@hostname ~]# lsmod | grep "qat"
qat_contig_mem         16384  0
qat_c62x               20480  0
intel_qat             274432  2 qat_c62x,usdm_drv
uio                    20480  1 intel_qat

[root@hostname ~]# lspci | grep "Co-p"
60:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
61:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
62:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
b1:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
b2:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
b3:00.0 Co-processor: Intel Corporation Device 37c8 (rev 04)
venkatesh6911 commented 1 month ago

Can you share the ./configure command used to build the QAT Engine along with the config.log file ?

lastpepole commented 1 week ago

hi @venkatesh6911 Have you reproduce the case? My machine environment configuration as below: kernel: 5.10 os: centos7u5 qat driver: 4.25.0 qat engine: 1.6.0 openssl: 1.1.1w tengine: tengine-2.4.0