QAT_Engine icon indicating copy to clipboard operation
QAT_Engine copied to clipboard

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

Open lastpepole opened this issue 1 year ago • 5 comments

@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

lastpepole avatar May 22 '24 09:05 lastpepole

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

  1. lsmod | grep "qat"
  2. lspci | grep "Co-p"

venkatesh6911 avatar Jun 03 '24 05:06 venkatesh6911

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)

lastpepole avatar Jun 03 '24 06:06 lastpepole

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

venkatesh6911 avatar Jun 06 '24 03:06 venkatesh6911

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

lastpepole avatar Jul 02 '24 07:07 lastpepole

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

Can you share the output ?

venkatesh6911 avatar Jul 26 '24 06:07 venkatesh6911