Building for VMware Workstation 4.5.2. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmmon-only' make -C /lib/modules/2.6.9-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/ . modules make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1' CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config1/vmmon-only/common/hash.o CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config1/vmmon-only/common/task.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f or C/ObjC but not for C++ cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ /tmp/vmware-config1/vmmon-only/common/task.c: In function `void Task_Switch_V45( VMDriver*, Vcpuid)': /tmp/vmware-config1/vmmon-only/common/task.c:859: sorry, unimplemented: inlining failed in call to 'void SwitchToMonitor(VMCP*, int) [with VMCP = VMCrossPageV45 ]': function body not available /tmp/vmware-config1/vmmon-only/common/task.c:1351: sorry, unimplemented: called from here make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config1/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. multik ~ # uname -a Linux multik 2.6.9-gentoo-r1 #2 Sat Oct 23 16:29:16 MSD 2004 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux Reproducible: Always Steps to Reproduce: 1. Install 2.6.9-gentoo-r1 2. Try to reemerge VMware Workstation 4.5.2 multik ~ # emerge info Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.du.se/pub/os/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa avi berkdb bitmap-fonts cdr cjk crypt dba dvd encode esd exif f77 foomaticdb gd gdbm gif gpm gtk2 imap imlib java jpeg ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png pnp python qt quicktime readline sasl sdl slang sse ssl svga tcltk tcpd tiff truetype unicode x86 xml2 xmms xprint xv zlib"
Try emerge-syncing and re-emerging vmware again. I had this problem once (exact same gcc, exact same kernel, exact same vmware.), and that was the solution.
Your Issue will get fixed by bug 68030. We should make this as dup or keep it open and let it depend because its the second bug filed on the same issue.
*** This bug has been marked as a duplicate of 68030 ***
Agreed with Comment #1. The patch from bug #68030 didn't need to be applied. I just re-emerged vmware-workstation and reran vmware-config.pl and all was fine. (gentoo-dev-sources-2.6.9-r1, vmware-workstation-4.5.2.8848-r1, gcc-3.4.2-r2)