Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417059

Summary: [PATCH] app-emulation/vmware-modules-264.3 fails to compile against the 3.4 kernel
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Gentoo VMWare Bug Squashers [disabled] <vmware+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vadimk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to build vmblock driver on linux kernels above and below 3.4

Description Mike Auty (RETIRED) gentoo-dev 2012-05-22 09:46:42 UTC
Created attachment 312663 [details]
Patch to build vmblock driver on linux kernels above and below 3.4

Hiya,

Just a quick note to say that vmware-modules-264.3 doesn't compile against the 3.4 kernel because of a small change they made (from d_alloc_rot to d_make_root).  Here's the stack trace:

/var/tmp/portage/app-emulation/vmware-modules-264.3/work/vmblock-only/linux/filesystem.c: In function ‘FsOpReadSuper’:
/var/tmp/portage/app-emulation/vmware-modules-264.3/work/vmblock-only/linux/filesystem.c:528:4: error: implicit declaration of function ‘d_alloc_root’
/var/tmp/portage/app-emulation/vmware-modules-264.3/work/vmblock-only/linux/filesystem.c:528:15: warning: assignment makes pointer from integer without a cast
make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-264.3/work/vmblock-only/linux/filesystem.o] Error 1
make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-264.3/work/vmblock-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [vmblock.ko] Error 2

More details are available at [1], and I've attached the patch from the page (although only the very first hunk appears relevant).  Let me know if you need any more details...

[1] http://weltall.heliohost.org/wordpress/2012/04/01/vmware-workstation-8-0-2player-4-0-2-and-7-1-x3-1-x-fix-for-linux-kernel-3-4-0/
Comment 1 Vadim Kuznetsov (RETIRED) gentoo-dev 2012-05-22 13:26:06 UTC

*** This bug has been marked as a duplicate of bug 411853 ***