- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
		1 Reply
	
		
		
			
			
			
					
	
			- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
 
					
				
				
			
		
					
					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