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.


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

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)