Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5212 Discussions

vtune profiler 2022 driver build errors

jparke161
Novice
1,430 Views

Trying to build sepdk driver on openSUSE Tumbleweed, Linux 5.18.6.

 

Getting the following errors:

 

Building sep driver ...
/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c: In function ‘LINUXOS_Install_Hooks

/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c:95:18: error: ‘PROFILE_MUNMAPundeclared (first use in this function)
95 | #define MY_UNMAP PROFILE_MUNMAP
| ^~~~~~~~~~~~~~
/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c:1301:34: note: in expansion of macro ‘MY_UNMAP’
1301 | err = profile_event_register(MY_UNMAP, &linuxos_exec_unmap_nb);
| ^~~~~~~~
/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c:95:18: note: each undeclared identifier is reported only once for each function it appears in
95 | #define MY_UNMAP PROFILE_MUNMAP
| ^~~~~~~~~~~~~~
/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c:1301:34: note: in expansion of macro ‘MY_UNMAP’
1301 | err = profile_event_register(MY_UNMAP, &linuxos_exec_unmap_nb);
| ^~~~~~~~
/tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.c:94:18: error: ‘PROFILE_TASK_EXITundeclared (first use in this function)
94 | #define MY_TASK PROFILE_TASK_EXIT

make[2]: *** [/usr/src/linux-5.18.6-1/scripts/Makefile.build:289: /tmp/vtune_profiler_2022.2.0.623516/sepdk/src/linuxos.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [../../../linux-5.18.6-1/Makefile:1852: /tmp/vtune_profiler_2022.2.0.623516/sepdk/src] Error 2
make: *** [Makefile:215: default] Error 2

Failed to build the drivers

 

Is there any fix for this?

 

Thanks,

 

John

 

0 Kudos
1 Solution
JaideepK_Intel
Employee
1,402 Views

Hi,


Thank you for posting in Intel Communities.


You are getting this issue because you are trying to run in an unsupported OS. Can you please try to run it on a supported operating system?

To view the list of operating systems, please follow the below link.


Link: Intel® VTune™ Profiler System Requirements


If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.


Thanks,

Jaideep




View solution in original post

0 Kudos
3 Replies
JaideepK_Intel
Employee
1,403 Views

Hi,


Thank you for posting in Intel Communities.


You are getting this issue because you are trying to run in an unsupported OS. Can you please try to run it on a supported operating system?

To view the list of operating systems, please follow the below link.


Link: Intel® VTune™ Profiler System Requirements


If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.


Thanks,

Jaideep




0 Kudos
jparke161
Novice
1,394 Views

Am going to move to Red Hat 8.

 

Thanks,

 

John

0 Kudos
JaideepK_Intel
Employee
1,382 Views

Hi,


Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel. Have a great day ahead.


Regards,

Jaideep


0 Kudos
Reply