* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.25-gentoo-r8/build * Found sources for kernel version: * 2.6.25-gentoo-r8 * Checking for suitable kernel configuration options...  [ ok ] >>> Unpacking source... >>> Unpacking vmware-any-any-update115.tar.gz to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Unpacking ./vmware-any-any-update115/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ...  [ ok ] * 020_all_epoll-def-warnings.patch ...  [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 030_all_fix-linux-headers.patch ...  [ ok ] * 035_all_kernel-2.6.25.patch ...  [ ok ] * 040_all_kernel-2.6.27.patch ...  [ ok ] * Done with patching * Converting vmmon-only/Makefile to use M= instead of SUBDIRS= ...  [ ok ] >>> Unpacking ./vmware-any-any-update115/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work * Applying various patches (bugfixes/updates) ... * 000_all_makefile-include-directory.patch ...  [ ok ] * 020_all_epoll-def-warnings.patch ...  [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 021_all_wireless_fix.patch ...  [ ok ] * 025_all_kernel-2.6.25.patch ...  [ ok ] * 030_all_kernel-2.6.27.patch ...  [ ok ] * Done with patching * Converting vmnet-only/Makefile to use M= instead of SUBDIRS= ...  [ ok ] >>> Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work >>> Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work ... * Preparing vmmon module make HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.25-gentoo-r8/build Using 2.6.x kernel build system. make -C /usr/src/linux/include/.. M=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.25-gentoo-r8' CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/vmhost.h:13, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.c:84: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/./include/compat_semaphore.h:5:29: error: linux/semaphore.h: No such file or directory make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only/linux/driver.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r8' make: *** [vmmon.ko] Error 2 * * ERROR: app-emulation/vmware-modules-1.0.0.15-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3542: Called linux-mod_src_compile * environment, line 2670: Called die * The specific snippet of code: * eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_S1B1 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.25-gentoo-r8/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.15-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r2/temp/environment'. *