Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmmon-only' make -C /lib/modules/2.6.16-rc1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.16-rc1' CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20, from /tmp/vmware-config1/vmmon-only/linux/driver.c:49: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20, from /tmp/vmware-config1/vmmon-only/linux/driver.c:49: /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait' include/linux/poll.h:45: error: previous declaration of 'poll_initwait' was here /tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for 'poll_initwait' include/linux/poll.h:45: error: previous declaration of 'poll_initwait' was here /tmp/vmware-config1/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type /tmp/vmware-config1/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.16-rc1' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config1/vmmon-only' Unable to build the vmmon module.
*** Bug 119670 has been marked as a duplicate of this bug. ***
emerge --info missing...
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc1 i686) ================================================================= System uname: 2.6.16-rc1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo http://gentoo.inode.at http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de" 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="x86 3dnow X aac acpi alsa arts audiofile automount avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr chroot cjk crypt css cups curl divx4linux dvd dvdr dvdread eds emboss encode esd exif expat faac ffmpeg firefox flac foomaticdb foreign-package fortran freetype ftp gd gdbm gif glitz glut gmp gnokii gpm gtk gtk2 hal howl idn ieee1394 imagemagick imap imlib jack joystick jpeg jpeg2k kde kdeenablefinal lame lcms libg++ libsamplerate libwww lzo lzw-tiff mad matroska mbox mhash mikmod mmx mng mozilla mp3 mpeg mpeg4 mplayer musepack musicbrainz ncurses nls nptl nvidia ogg oggvorbis ooo-kde openexr opengl oss pam pcre pdflib perl pic png ppds python qt quicktime readline real rtc samba sdl slang slp sms sndfile spell sse ssl svg tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization vorbis win32codecs xine xinerama xml2 xmms xprint xv xvid xvmc zlib zvbi elibc_glibc kernel_linux linguas_de userland_GNU" Unset: ASFLAGS, CTARGET, LDFLAGS
maybe related, why does the ebuild not use http://ftp.cvut.cz/vmware/vmware-any-any-update96.tar.gz
Because vmware-any-any-update96 does not have a fix for a remotely exploitable security vulnerability in VMware. Also, update-update96 wasn't designed to work on the newer VMware versions. Once update-update97 comes out, I'll update all of the ebuilds accordingly.
same problem with gentoo-sources-2.6.15-r7, btw 2.6.15-r4 works very well
I had the same problem after updating glibc to 2.4 and gcc to 4.1, doing emerge -e system and building the 2.6.15-ck5 kernel with 4.1. emerge --info Portage 2.1_pre6 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-ck5 x86_64) ================================================================= System uname: 2.6.15-ck5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1, 2.16.91.0.3, 2.16.91.0.5, 2.16.91.0.6 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -ffriend-injection" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr crypt cups dbus debug dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde ldap lzw lzw-tiff mad mono mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pdflib perl pic png python qt quicktime readline ruby samba sdl spell sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa video_cards_nv" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
I can confirm the report in comment #7 Same results using gcc-4.1.0 & glibc-2.3.6-r3 on several kernels: gentoo-sources-2.6.14-r4 gentoo-sources-2.6.15-r5 gentoo-sources-2.6.15-r7 linux-2.6.16 (stock kernel.org) I did some hacking to hard-code "VMW_HAVE_EPOLL" and the build progressed further, though I just hit further more serious build errors related to kernel changes. Can anyone confirm the most recent working combination of gcc and kernel version? Is it gcc-3.4.4/gentoo-sources-2.6.15-r7?
Can you try vmware-workstation-5.5.1.19175-r1 and verify if that works?
I had exactly the same problem. Upgrading to vmware-workstation-5.5.1.19175-r1 helped. $ emerge --info | head -n 2 Gentoo Base System version 1.6.14 Portage 2.1_pre6-r5 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.4-r0, 2.6.16-ck1 x86_64)
I'm marking this one as FIXED, then. Feel free to REOPEN if you're still havinv issues with the newer revision.