On 01/02/2011 04:43 AM, 4k3nd0 wrote:
Hi all,
i got trouble building the vmmon module for vmware workstation 7. I
tried with the ebuild driver as the module from vmware himself. Error
message is always the same(her the short one):
Using 2.6.x kernel build system.
»struct file_operations« hat kein Element namens »ioctl«
The ioctl item in file_operations was removed by the kernel devs a few
months ago while removing the Big Kernel Lock(BKL).
Kernelinfo:
Linux Slaxy 2.6.36-gentoo-r6 #1 SMP Tue Dec 28 18:29:09 CET 2010 x86_64
Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux
Work with the 2.6.35 perfectly fine, did not change a thing in the config.
The kernel devs change kernel data structures quite often, thereby breaking
all kinds of third-party software. I think I remember this one from building
nvidia-drivers. The nvidia devs soon re-wrote their code to use the new
kernel data-structure, and I imagine that vmware will need to do the same.
Maybe they have already fixed it in a newer vmware version, or will soon.
IIRC the nvidia team fixed this problem merely by removing any code that
refers to the ioctl member of a file_operations structure. That's pretty
trivial, so you can give it a try in your vmware code. No warranty implied
