Couldn't find the kernel version the module was compiled for Linux 驱动 编译 错误

       在编译第一个Linux驱动时,碰到如标题所示错误:Couldn't find the kernel version the module was compiled for

      

        解决方案:

               You  should   do "make modules"   ,  next  do  "make   modules_install " and then recompile your modules.

               when you meet the problem like this ,you make sure your /usr/src/linux-2.4/Makefile EXTRAVERSIONS                       is   appropriately set (to the version of kernal running ) -14 or -14custom

你可能感兴趣的:(linux,Module)