- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi staff,
I'm able to compile QAT driver QAT1.7.L.4.18.1-00001 on Ubuntu 20.04. However, I failed to compile QAT1.7.L.4.18.1-00001 on another platform based on Linux kernel.
./configure KERNEL_SOURCE_ROOT="../../linux-5.4"
============================================================================
Type make followed by make install to build QAT with the following options
============================================================================
QAT_ENABLE_XEN [xfalse]
ICP_ROOT [/gitlab/main/FortiWEB/kernel/modules/qat_driver]
USE_HARD_CODED_PRIMES [0]
ICP_ARCH_USER [x86_64]
ICP_BUILDSYSTEM_PATH [/gitlab/main/FortiWEB/kernel/modules/qat_driver/quickassist/build_system]
ICP_BUILD_OUTPUT [/gitlab/main/FortiWEB/kernel/modules/qat_driver/build]
ICP_ENV_DIR [/gitlab/main/FortiWEB/kernel/modules/qat_driver/quickassist/build_system/build_files/env_files]
ICP_TOOLS_TARGET [accelcomp]
MAX_MR [50]
KERNEL_SOURCE_ROOT [../../linux-5.4]
ICP_DEBUG [false]
ICP_PARAM_CHECK [false]
DISABLE_STATS [false]
ICP_LOG_SYSLOG [false]
ICP_NONBLOCKING_PARTIALS_PERFORM [false]
ICP_TRACE [false]
ICP_DC_ONLY [false]
ICP_DC_RETURN_COUNTERS_ON_ERROR [false]
ICP_DISABLE_INLINE [false]
============================================================================
make
make all-am
make[1]: Entering directory '/gitlab/main/FortiWEB/kernel/modules/qat_driver'
make[2]: Entering directory '/gitlab/main/FortiWEB/kernel/modules/qat_driver/quickassist/qat'
Makefile:37: *** ERROR: Kernel header files not found. Install the appropriate kernel development package necessary for building external kernel modules or run 'make oldconfig && make modules_prepare' on kernel src to fix it. Stop.
make[2]: Leaving directory '/gitlab/main/FortiWEB/kernel/modules/qat_driver/quickassist/qat'
Makefile:1887: recipe for target 'qat-driver-all' failed
make[1]: *** [qat-driver-all] Error 2
make[1]: Leaving directory '/gitlab/main/FortiWEB/kernel/modules/qat_driver'
Makefile:776: recipe for target 'all' failed
make: *** [all] Error 2
quickassist/qat/Makefile
34 ifeq ($(KERNELRELEASE),)
35 KDIR ?= $(INSTALL_MOD_PATH)/lib/modules/$(shell uname -r)/build
36 ifneq ($(shell if [ -e $(KDIR)/include/config/auto.conf ]; then echo 1; fi),1)
37 $(error ERROR: Kernel header files not found. Install the appropriate \
38 kernel development package necessary for building external kernel modules \
39 or run 'make oldconfig && make modules_prepare' on kernel src to fix it)
40 endif
Line 35: INSTALL_MOD_PATH is empty. So KDIR will be "/lib/modules/$(shell uname -r)/build" which doesn't exist on my platform. What's your suggestion to fix it? Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jaime,
This issue is fixed. Thanks for your help.
Regards,
Allen
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Alfago12 ,
Thank you for contacting Intel Embedded Community.
To better assist you please provide details of the CPU/Platform you are trying to install this driver
Best regards,
Jaime L.
Intel Customer Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Jaime,
This issue is fixed. Thanks for your help.
Regards,
Allen
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page