Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68388

Summary: gcc 3.4.0 + kernel 2.6.9 => cannot compile vmware modules
Product: Gentoo Linux Reporter: Alberto Ornaghi <alor>
Component: Current packagesAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Status: RESOLVED DUPLICATE    
Severity: normal CC: genstef, vapier
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alberto Ornaghi 2004-10-21 06:21:26 UTC
running vmware-config.pl give these results:

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/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
  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 for 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'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.


probably it is a problem with the gcc strictness... how can I solve this ?

Reproducible: Always
Steps to Reproduce:
1.
2. 
3.




Portage 2.0.51_rc10 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 mobile AMD Athlon(tm) XP-M 2000+
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/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O3 -pipe"
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/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow GAPING_SECURITY_HOLE X acl acpi acpi4linux alsa apache2 avi berkdb
bitmap-fonts cdr crypt cscope curl dba dga divx4linux dvd esd f77 fbcon gd gif
gpm gtk gtk2 idea imap imlib innodb irda java jpeg ldap libwww mbox mmx
mozcalendar mozdomi moznoirc mozp3p mpeg mysql ncurses nls nptl nptlonly ntlm
oggvorbis opengl oss pam pcmcia pdflib png pnp quicktime readline samba serial
session slang socks5 spell sse ssl svga tcpd tetex tiff truetype usb userlocales
v4l v4l2 wavelan wifi x86 xprint xv zlib"
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-21 09:42:22 UTC
problem already solved in bug 68030, but not yet committed by wolf31o2, maybe we can close this as a duplicate?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-21 10:02:10 UTC
Yeah... I'll jump on it as soon as I get some time... currently I am working feverishly on release stuff...

*** This bug has been marked as a duplicate of 68030 ***