This effects all recent kernels, where $KBUILD/include/linux/version.h has been moved to $KBUILD/include/generated/uapi/linux/version.h ... it looks like newer versions have been patched to handle this: https://github.com/Rogentos/argent-gentoo/blob/master/net-wireless/ndiswrapper/files/ndiswrapper-1.58_rc1-linux-3.7.patch
The problem also affects the "bcmwl-kernel-source" package, and probably several other module packages (one of NVidia's drivers failed to install for me earlier, possibly for this reason). ** Changed in: ndiswrapper (Ubuntu) Status: Expired => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1090196 Title: ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to build [Cannot find kernel build files in ... Please give the path to kernel build directory with the KBUILD=<path> argument to make] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1090196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs