Alright, I got it to work with a simple fix. If you've compiled your own
kernel and its deb package starts with kernel-image, first uncompress
/usr/src/vmware-player-kernel-source.tar.bz2. Then open /usr/src/modules
/vmware-player-kernel/debian/control.modules.in.in. On the line where it
says Depends, change linux-image-_KVERS_ to kernel-image-_KVERS_.

Then use module-assistant or make-kpkg to try to compile the module. It
will give you the error, but create the file debian/control.modules.in.
Then copy debian/control.modules.in to debian/control. Finally, try to
compile the module again, and it will work.

Note that my kernel was compiled from linux-source-2.6.15, the -25.43
version, and the newest version in synaptic is -26.44. I suspect that to
make it work for a -26 kernel you have to change all occurrences of 25
to 26 in debian/rules.

I hope this package gets fixed soon. Maybe it should detect what kernel
is being used instead of hardcoding it, so the package doesn't have to
be updated after every kernel update.

-- 
make-kpkg cannot compile module sources
https://launchpad.net/bugs/48755

--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to