- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am on Arch Linux with kernel 6.14.1-arch1-1. When I try to compile the sepdk driver, I get this error -
Building sep driver ...
In file included from /usr/lib/modules/6.14.1-arch1-1/build/include/linux/module.h:22,
from lwpmudrv.c:37:
lwpmudrv.c:106:18: error: expected ‘,’ or ‘;’ before ‘INTEL_PMT’
106 | MODULE_IMPORT_NS(INTEL_PMT);
| ^~~~~~~~~
/usr/lib/modules/6.14.1-arch1-1/build/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’
26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
| ^~~~
/usr/lib/modules/6.14.1-arch1-1/build/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’
299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
| ^~~~~~~~~~~
lwpmudrv.c:106:1: note: in expansion of macro ‘MODULE_IMPORT_NS’
106 | MODULE_IMPORT_NS(INTEL_PMT);
| ^~~~~~~~~~~~~~~~
lwpmudrv.c:107:18: error: expected ‘,’ or ‘;’ before ‘INTEL_PMT_TELEMETRY’
107 | MODULE_IMPORT_NS(INTEL_PMT_TELEMETRY);
| ^~~~~~~~~~~~~~~~~~~
/usr/lib/modules/6.14.1-arch1-1/build/include/linux/moduleparam.h:26:61: note: in definition of macro ‘__MODULE_INFO’
26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
| ^~~~
/usr/lib/modules/6.14.1-arch1-1/build/include/linux/module.h:299:33: note: in expansion of macro ‘MODULE_INFO’
299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
| ^~~~~~~~~~~
lwpmudrv.c:107:1: note: in expansion of macro ‘MODULE_IMPORT_NS’
107 | MODULE_IMPORT_NS(INTEL_PMT_TELEMETRY);
| ^~~~~~~~~~~~~~~~
make[4]: *** [/usr/lib/modules/6.14.1-arch1-1/build/scripts/Makefile.build:207: lwpmudrv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/lib/modules/6.14.1-arch1-1/build/Makefile:1994: .] Error 2
make[2]: *** [/usr/lib/modules/6.14.1-arch1-1/build/Makefile:251: __sub-make] Error 2
make[1]: *** [Makefile:251: __sub-make] Error 2
make: *** [Makefile:243: default] Error 2
Failed to build the drivers
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which version of sepdk src did you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed the intel-oneapi-basekit package from my distribution's repository which is currently of the version 2025.0.1.46-1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try with 2025.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That did not help. Still getting the same issue on 2025.1 version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, let's check and give you feedback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a known issue and it will be resolved in the upcoming VTune version 2025.2 Temporary workaround is to modify the build-driver script in sepdk/src directory as
-BUILD_PMT="YES"
+BUILD_PMT="NO"

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page