* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.27/build * Found sources for kernel version: * 2.6.27 >>> Unpacking source... * Checking kernel options ... * [UNUSED_SYMBOLS] is not enabled in the kernel  [ ok ] >>> Unpacking VMware-player-2.0.5-109488.x86_64.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work >>> Unpacking ./vmware-player-distrib/lib/modules/source//vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...  [ ok ] >>> Unpacking ./vmware-player-distrib/lib/modules/source//vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...  [ ok ] >>> Unpacking ./vmware-player-distrib/lib/modules/source//vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work * Converting vmblock-only/Makefile to use M= instead of SUBDIRS= ...  [ ok ] * Applying 1.0.0.22-makefile-kernel-dir.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work ... * Preparing vmmon module Using 2.6.x kernel build system. make -C /lib/modules/2.6.27/build M=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.27' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/./include/x86.h:24, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.h:15, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.c:84: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined In file included from include/asm/pda.h:8, from include/asm/current.h:19, from include/asm/processor.h:15, from include/linux/prefetch.h:14, from include/linux/list.h:6, from include/linux/module.h:9, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.c:12: include/asm/page.h:22:1: warning: this is the location of the previous definition In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/vmhost.h:13, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.c:115: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27' make: *** [vmmon.ko] Error 2 * * ERROR: app-emulation/vmware-modules-1.0.0.22 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3310: Called linux-mod_src_compile * environment, line 2526: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc LDFLAGS= auto-build VMWARE_VER=VME_V604 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.27/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/vmware-modules-1.0.0.22/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.22/temp/environment'. *