Comment 1 for bug 362579

Revision history for this message
Ian Justman (ianj) wrote : Re: Compilation of vmhgfs module fails

The abovementioned patch does NOT fix this problem on a 32-bit guest I'm working on. This is with the same version of the module source package.

With that patch applied, I get the following:

  CC [M] /usr/src/modules/open-vm/modules/linux/vmhgfs/page.o
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c: In function ‘HgfsDoWriteBegin’:
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:763: warning: ISO C90 forbids mixed declarations and code
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c: In function ‘HgfsWriteBegin’:
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:867: error: implicit declaration of function ‘__grab_cache_page’
/usr/src/modules/open-vm/modules/linux/vmhgfs/page.c:867: warning: assignment makes pointer from integer without a cast
make[5]: *** [/usr/src/modules/open-vm/modules/linux/vmhgfs/page.o] Error 1
make[4]: *** [_module_/usr/src/modules/open-vm/modules/linux/vmhgfs] Error 2
make[4]: Leaving directory `/usr/src/linux-headers-2.6.28-11-server'