Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
5262 Discussions

Building Sampling drivers failed, header files not found

MickeJ-IUA
Novice
903 Views

Hi, when building sep drivers compilation fails. Linux Fedora workstation. Console output with errors:

ello@fedora:/opt/intel/oneapi/vtune/2025.4/sepdk/src$ sudo ./build-driver 
[sudo] password for ello: 

C compiler to use: [ /bin/gcc ] 
C compiler version: 15.2.1

Make command to use: [ /bin/make ] 
Make version: 4.4.1

Kernel source directory: [ /lib/modules/6.16.7-200.fc42.x86_64/build ] 
Kernel version: 6.16.7-200

Cleaning workspaces ... 
Done

Building sep driver ... 
lwpmudrv.c:30:10: fatal error: lwpmudrv_version.h: No such file or directory
   30 | #include "lwpmudrv_version.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/scripts/Makefile.build:287: lwpmudrv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
eventmux.c:38:10: fatal error: lwpmudrv_types.h: No such file or directory
   38 | #include "lwpmudrv_types.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/scripts/Makefile.build:287: eventmux.o] Error 1
cpumon.c:44:10: fatal error: lwpmudrv_types.h: No such file or directory
   44 | #include "lwpmudrv_types.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/scripts/Makefile.build:287: cpumon.o] Error 1
control.c:40:10: fatal error: lwpmudrv_types.h: No such file or directory
   40 | #include "lwpmudrv_types.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/scripts/Makefile.build:287: control.o] Error 1
make[3]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/Makefile:2033: .] Error 2
make[2]: *** [/usr/src/kernels/6.16.7-200.fc42.x86_64/Makefile:248: __sub-make] Error 2
make[1]: *** [Makefile:248: __sub-make] Error 2
make: *** [Makefile:234: default] Error 2

Failed to build the drivers

 

0 Kudos
1 Reply
jonejames235
Beginner
67 Views

The build fails because required header files (lwpmudrv_version.h and lwpmudrv_types.h) are missing. Make sure the SEP driver source is complete and that all dependencies are installed. Often, this happens if the source folder isn’t fully extracted or the build script can’t locate the headers. Verify the source directory and include paths before rebuilding.

0 Kudos
Reply