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.
5258 Discussions

unable to build sep driver for vtune 2024.2 on ubuntu 24.04

JiyuanZhang
Beginner
2,492 Views

Hello! I'm new to vtune and I just want to install the vtune 2024.2 into ubuntu 24.04. I downloaded the whole intel oneapi base-toolkit and run sudo ./build-driver. The socperf driver is built successfully but the sep driver fails. The details are as follows. I will really appreciate it if you are willing to help!

 

jiyuanzhang@jiyuanzhang-VMware-Virtual-Platform:/opt/intel/oneapi/vtune/latest/sepdk/src$ sudo ./build-driver

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

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

Kernel source directory: [ /lib/modules/6.8.0-35-generic/build ]
Kernel version: 6.8.0-35-generic

Cleaning workspaces ...
Done

Building socperf driver ...
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Skipping BTF generation for /opt/intel/oneapi/vtune/2024.2/sepdk/src/socperf/src/socperf3.ko due to unavailability of vmlinux
Done

Building sep driver ...
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0
You are using: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o: warning: objtool: SYS_Get_GDT_Base+0x3: 'naked' return found in RETHUNK build
/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o: warning: objtool: SYS_IO_Delay+0x0: 'naked' return found in RETHUNK build
make[3]: *** [scripts/Makefile.build:361: /opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o] Error 254
make[3]: *** Deleting file '/opt/intel/oneapi/vtune/2024.2/sepdk/src/sys64.o'
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.8.0-35-generic/Makefile:1926: /opt/intel/oneapi/vtune/2024.2/sepdk/src] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make: *** [Makefile:224: default] Error 2

Failed to build the drivers

0 Kudos
4 Replies
yuzhang3_intel
Moderator
2,414 Views

This is fixed in the coming 2024.2.1 release.

0 Kudos
jicheng
Beginner
2,130 Views

Hello, where can I get a previously working version? Thanks.

 

0 Kudos
yuzhang3_intel
Moderator
2,029 Views
0 Kudos
jicheng
Beginner
1,972 Views

That's unfortunate. Looking forward to your new version. 

0 Kudos
Reply