Your kernel headers are broken. But ndiswrapper 1.59-2 does not support kernel 4.0 anyway, only 1.59-3 and newer do.
** Summary changed: - ndiswrapper-dkms 1.59-2: ndiswrapper kernel module failed to build + ndiswrapper-dkms 1.59-2: does not support kernel 4.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1464305 Title: ndiswrapper-dkms 1.59-2: does not support kernel 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1464305/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs