インテル® VTune™ Amplifier 2018 ヘルプ

Error Message: No Pre-built Driver Exists for This System (for Remote Linux Targets)

When executing the build-driver script, 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

関連情報