Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68634 - VMware 4.5.2 under kernel 2.6.9 fails to build
Summary: VMware 4.5.2 under kernel 2.6.9 fails to build
Status: RESOLVED DUPLICATE of bug 68030
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 07:02 UTC by Viacheslav Kaloshin
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viacheslav Kaloshin 2004-10-23 07:02:31 UTC
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"
Comment 1 Chris White (RETIRED) gentoo-dev 2004-10-23 07:07:34 UTC
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.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-23 09:08:12 UTC
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.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-23 12:34:19 UTC

*** This bug has been marked as a duplicate of 68030 ***
Comment 4 Bill Puschmann 2004-10-25 09:03:16 UTC
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)