User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Error Message: No Pre-built Driver Exists for This System

When executing the build-driver script on Linux*, you may see a warning message similar to the following if the kernel sources are not configured properly (they do not match the kernel that is running): Warning: Current running kernel is version 2.4.18-e.31smp. After successfully building the driver and running the insmod-sep3 or insmod-sep command, the following message appears: No pre-built driver exists for this system.

Solution

To resolve this issue, execute the following commands to configure the kernel sources:

$ cd /usr/src/linux

$ make mrproper

$ cp /boot/config-'uname-r' .config

$ vi Makefile

Make sure that EXTRAVERSION matches the tail of the output of uname -r. The resulting /user/src/linux/include/version.h should have a UTS_RELEASE that matches the output of uname -r. Once that is true, run the following commands:

$ make oldconfig

$ make dep

After completing these steps, run the build-driver script to build the sampling driver against the kernel sources in /usr/src/linux