Recently upgraded my Linux kernel to 3.6.1-1 and running into compile errors building vmhgfs for shared folders. Ideas?
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmhgfs-only'
make -C /lib/modules/3.6.1-1.fc17.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.6.1-1.fc17.x86_64'
CC [M] /tmp/vmware-root/modules/vmhgfs-only/dir.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/message.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/request.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/link.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/stubs.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/file.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/module.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/super.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/transport.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/tcp.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/vmci.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/fsutil.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsBd.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/page.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsEscape.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/inode.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/dentry.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/kernelStubsLinux.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc64.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpNameLite.o
/tmp/vmware-root/modules/vmhgfs-only/dentry.c:43:4: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/dentry.c:43:4: warning: (near initialization for ‘HgfsDentryOperations.d_revalidate’) [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/file.c:128:4: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/file.c:128:4: warning: (near initialization for ‘HgfsFileFileOperations.fsync’) [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/page.c: In function ‘HgfsDoWriteBegin’:
/tmp/vmware-root/modules/vmhgfs-only/page.c:896:39: error: ‘KM_USER0’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmhgfs-only/page.c:896:39: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmhgfs-only/page.c:896:7: error: too many arguments to function ‘kmap_atomic’
In file included from include/linux/pagemap.h:10:0,
from /tmp/vmware-root/modules/vmhgfs-only/page.c:28:
include/linux/highmem.h:66:21: note: declared here
/tmp/vmware-root/modules/vmhgfs-only/page.c:904:36: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1
/tmp/vmware-root/modules/vmhgfs-only/page.c:904:7: error: ‘kunmap_atomic’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmhgfs-only/inode.c:121:4: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:121:4: warning: (near initialization for ‘HgfsDirInodeOperations.create’) [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:124:4: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:124:4: warning: (near initialization for ‘HgfsDirInodeOperations.mkdir’) [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:126:4: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:126:4: warning: (near initialization for ‘HgfsDirInodeOperations.lookup’) [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c: In function ‘HgfsPermission’:
/tmp/vmware-root/modules/vmhgfs-only/inode.c:1820:7: error: ‘struct hlist_head’ has no member named ‘next’
/tmp/vmware-root/modules/vmhgfs-only/inode.c:1820:7: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/tmp/vmware-root/modules/vmhgfs-only/inode.c:1821:19: warning: initialization from incompatible pointer type [enabled by default]
make[2]: *** [/tmp/vmware-root/modules/vmhgfs-only/page.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vmware-root/modules/vmhgfs-only/inode.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.6.1-1.fc17.x86_64'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmhgfs-only'