"emerge -vp open-vm-tools" with a running gentoo-sources kernel "2.6.24-gentoo" fails: ... config.status: executing depfiles commands * Preparing vmblock module Using 2.6.x kernel build system. make -C /lib/modules/2.6.24-gentoo/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo' CC [M] /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.o In file included from /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/vmblockInt.h:40, from /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.c:29: /var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/./include/vm_basic_types.h:197: error: conflicting types for 'uintptr_t' include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here make[3]: *** [/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock/linux/block.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/work/open-vm-tools-2007.11.21-64693/modules/linux/vmblock] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo' make: *** [vmblock.ko] Error 2 * * ERROR: app-emulation/open-vm-tools-0.0.20071121.64693 failed. * Call stack: * ebuild.sh, line 46: Called src_compile * environment, line 3110: Called linux-mod_src_compile * environment, line 2377: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."; * The die message: * Unable to make auto-build KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.24-gentoo/build. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-0.0.20071121.64693/temp/environment'. * Reproducible: Always Steps to Reproduce:
Newest release of open-vm-tools seems to solve the problem for me: open-vm-tools 2008.01.23 January 23, 2008 (http://sourceforge.net/project/showfiles.php?group_id=204462) Please update gentoo package (bump to new version).
This has now been bumped in the main tree. Please re-open this if there are any further difficulties against the 2.6.24 kernel.