Tracker item #3576588, was opened at 2012-10-11 23:10 Message generated for change (Comment added) made by robmcginley You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3576588&group_id=204462
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: kernel modules Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dustin C. Hatch (admiralnemo) Assigned to: Nobody/Anonymous (nobody) Summary: HGFS module fails to build against kernel 3.6.1 Initial Comment: Trying to build open-vm-tools-kmod-2012.05.21.724730 against gentoo-sources-3.6.1 fails with the following error: CC [M] /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/cpName.o /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c: In function ‘HgfsPermission’: /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1820:7: error: ‘struct hlist_head’ has no member named ‘next’ /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1820:7: warning: comparison of distinct pointer types lacks a cast [enabled by default] /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.c:1821:19: warning: initialization from incompatible pointer type [enabled by default] make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/inode.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dentry.c:43:4: warning: initialization from incompatible pointer type [enabled by default] /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/dentry.c:43:4: warning: (near initialization for ‘HgfsDentryOperations.d_revalidate’) [enabled by default] /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c: In function ‘HgfsDoWriteBegin’: /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:39: error: ‘KM_USER0’ undeclared (first use in this function) /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:39: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:896:7: error: too many arguments to function ‘kmap_atomic’ include/linux/highmem.h:66:21: note: declared here /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:904:36: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1 /var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.c:904:7: error: ‘kunmap_atomic’ undeclared (first use in this function) make[2]: *** [/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs/page.o] Error 1 make[1]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-kmod-2012.05.21.724730/work/open-vm-tools-2012.05.21-724730/modules/linux/vmhgfs] Error 2 make[1]: Leaving directory `/usr/src/linux-3.6.1-gentoo' make: *** [vmhgfs.ko] Error 2 See also Gentoo bug #437450 (https://bugs.gentoo.org/show_bug.cgi?id=437450) ---------------------------------------------------------------------- Comment By: Robert McGinley (robmcginley) Date: 2012-10-26 16:22 Message: Also fails against 3.6.2. This was from the ArchLinux open-vm-tools-dkms package version 2012.08.01 When dkms failed to build, i went in and ran make manually to see what the damage is. I find the very first line interesting. -------- Build log -------- Using 2.6.x kernel build system. make -C /lib/modules/3.6.2-1-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-3.6.2-1-ARCH' CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/message.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/dir.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/rpcout.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/hgfsUtil.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/cpName.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/request.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/module.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/stubs.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/cpNameUtil.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/tcp.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/link.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/bdhandler.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/backdoor.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/transport.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/file.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/super.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/vmci.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/fsutil.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/cpNameLinux.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/cpNameUtilLinux.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/hgfsBd.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/filesystem.o CC [M] /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.o /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c: In function ‘HgfsDoWriteBegin’: /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:896:39: error: ‘KM_USER0’ undeclared (first use in this function) /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:896:39: note: each undeclared identifier is reported only once for each function it appears in /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:896:7: error: too many arguments to function ‘kmap_atomic’ In file included from include/linux/pagemap.h:10:0, from /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:28: include/linux/highmem.h:66:21: note: declared here /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:904:36: error: macro "kunmap_atomic" passed 2 arguments, but takes just 1 /usr/src/open-vm-tools-2012.08.01/vmhgfs/page.c:904:7: error: ‘kunmap_atomic’ undeclared (first use in this function) make[2]: *** [/usr/src/open-vm-tools-2012.08.01/vmhgfs/page.o] Error 1 make[1]: *** [_module_/usr/src/open-vm-tools-2012.08.01/vmhgfs] Error 2 make[1]: Leaving directory `/usr/src/linux-3.6.2-1-ARCH' make: *** [vmhgfs.ko] Error 2 -- make 15.30s user 3.50s system 97% cpu 19.325 total ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3576588&group_id=204462 ------------------------------------------------------------------------------ WINDOWS 8 is here. Millions of people. Your app in 30 days. Visit The Windows 8 Center at Sourceforge for all your go to resources. http://windows8center.sourceforge.net/ join-generation-app-and-make-money-coding-fast/ _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel