I upgraded to -r2 and now vmware-config.pl can't build the vmnet.o module and dies with the following errors: Unable to make a vmnet module that can be loaded in the running kernel: /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_create /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_destroy /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_device_remove /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_device_add It works fine in -r1. Here's the output from vmware.config.pl from -r2: Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor done Bridged networking on /dev/vmnet0 done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done Host-only networking on /dev/vmnet8 done Virtual ethernet done Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.4.27/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0. Using 2.4.x kernel build system. make: Entering directory `/tmp/vmware-config3/vmmon-only' make -C /lib/modules/2.4.27/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.4.27' make -C /tmp/vmware-config3/vmmon-only CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE" MAKING_MODULES=1 modules make[2]: Entering directory `/tmp/vmware-config3/vmmon-only' gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=driver -c -o linux/driver.o linux/driver.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=hostif -c -o linux/hostif.o linux/hostif.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=cpuid -c -o common/cpuid.o common/cpuid.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=hash -c -o common/hash.o common/hash.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=memtrack -c -o common/memtrack.o common/memtrack.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=phystrack -c -o common/phystrack.o common/phystrack.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=task -x c++ -fno-exceptions -c -o common/task.o common/task.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=vmx86 -c -o common/vmx86.o common/vmx86.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=compat -c -o vmcore/compat.o vmcore/compat.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmmon-only/./include -I/tmp/vmware-config3/vmmon-only/./common -I/tmp/vmware-config3/vmmon-only/./linux -I/tmp/vmware-config3/vmmon-only/./vmcore -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_COMPILE_H -nostdinc -iwithprefix include -DKBUILD_BASENAME=moduleloop -c -o vmcore/moduleloop.o vmcore/moduleloop.c rm -f vmmon.o ld -m elf_i386 -e stext -r -o vmmon.o linux/driver.o linux/hostif.o common/cpuid.o common/hash.o common/memtrack.o common/phystrack.o common/task.o common/vmx86.o vmcore/compat.o vmcore/moduleloop.o make[2]: Leaving directory `/tmp/vmware-config3/vmmon-only' make[1]: Leaving directory `/usr/src/linux-2.4.27' cp -f vmmon.o ./../vmmon.o make: Leaving directory `/tmp/vmware-config3/vmmon-only' The module loads perfectly in the running kernel. Extracting the sources of the vmnet module. Building the vmnet module. Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0. Using 2.4.x kernel build system. make: Entering directory `/tmp/vmware-config3/vmnet-only' make -C /lib/modules/2.4.27/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.4.27' make -C /tmp/vmware-config3/vmnet-only CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE" MAKING_MODULES=1 modules make[2]: Entering directory `/tmp/vmware-config3/vmnet-only' gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=driver -c -o driver.o driver.c driver.c: In function `VNetRegisterSysfs': driver.c:391: warning: implicit declaration of function `class_simple_create' driver.c:391: warning: assignment makes pointer from integer without a cast driver.c:396: warning: implicit declaration of function `class_simple_device_add' driver.c: In function `VNetUnregisterSysfs': driver.c:425: warning: implicit declaration of function `class_simple_device_remove' driver.c:427: warning: implicit declaration of function `class_simple_destroy' driver.c: In function `init_module': driver.c:503: warning: label `err_ioctl' defined but not used gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=hub -c -o hub.o hub.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=userif -c -o userif.o userif.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=netif -c -o netif.o netif.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=bridge -c -o bridge.o bridge.c gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -Wall -Wstrict-prototypes -DVME_DEFAULT=VME_V452 -DVMW_USING_KBUILD -I/tmp/vmware-config3/vmnet-only/. -nostdinc -iwithprefix include -DKBUILD_BASENAME=procfs -c -o procfs.o procfs.c rm -f vmnet.o ld -m elf_i386 -e stext -r -o vmnet.o driver.o hub.o userif.o netif.o bridge.o procfs.o make[2]: Leaving directory `/tmp/vmware-config3/vmnet-only' make[1]: Leaving directory `/usr/src/linux-2.4.27' cp -f vmnet.o ./../vmnet.o make: Leaving directory `/tmp/vmware-config3/vmnet-only' Unable to make a vmnet module that can be loaded in the running kernel: /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_create /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_destroy /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_device_remove /tmp/vmware-config3/vmnet.o: /tmp/vmware-config3/vmnet.o: unresolved symbol class_simple_device_add /tmp/vmware-config3/vmnet.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. The module may be trying to access GPLONLY symbols but the problem is more likely to be a coding or user error. Contact the module supplier for assistance, only they can help you. 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. There is probably a slight difference in the kernel configuration between the set of C header files you specified and your running kernel. You may want to rebuild a kernel based on that directory, or specify another directory. ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------- and here's the output of vmware-config.pl in -r1: Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor done Bridged networking on /dev/vmnet0 done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done Host-only networking on /dev/vmnet8 done Virtual ethernet done Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.4.27/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Using standalone build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' make[1]: Entering directory `/tmp/vmware-config0/vmmon-only' make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27' make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27' make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27' make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.27' make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only' make: Leaving directory `/tmp/vmware-config0/vmmon-only' This program previously created the file /lib/modules/2.4.27/misc/vmmon.o, and was about to remove it. Somebody else apparently did it already. The module loads perfectly in the running kernel. Extracting the sources of the vmnet module. Building the vmnet module. Using standalone build system. make: Entering directory `/tmp/vmware-config0/vmnet-only' make: Leaving directory `/tmp/vmware-config0/vmnet-only' This program previously created the file /lib/modules/2.4.27/misc/vmnet.o, and was about to remove it. Somebody else apparently did it already. The module loads perfectly in the running kernel. You have already setup networking. Would you like to skip networking setup and keep your old settings as they are? (yes/no) [yes] Do you want this program to automatically configure your system to allow your virtual machines to access the host's filesystem? (yes/no/help) [no] Starting VMware services: Virtual machine monitor done Virtual ethernet done Bridged networking on /dev/vmnet0 done Host-only networking on /dev/vmnet8 (background) done NAT service on /dev/vmnet8 done The configuration of VMware Workstation 4.5.2 build-8848 for Linux for this running kernel completed successfully. You can now run VMware Workstation by invoking the following command: "/opt/vmware/bin/vmware". Enjoy, --the VMware team
Oops forgot my info: Linux 2.4.27 and devfs. emerge info as follows: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.27 i686) ================================================================= System uname: 2.4.27 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.6 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protection distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ ftp://mirrors.tds.net/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="X Xaw3d aalib alsa apm arts berkdb bitmap-fonts cdr cjk crypt cups dga directfb dvd eds emacs encode esd f77 faad fam fbcon fftw flac fortran gcj gdbm gif gimpprint ginac gnome gnustep gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib jack java jpeg ldap leim libg++ libwww lirc live mad matroska mikmod mmx mng motif mozilla mpeg mysql nas ncurses nls objc offensive oggvorbis opengl oss pam pdflib perl plotutils png ppds python qhull qt quicktime radeon readline rtc samba scanner sdk sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype usb v4l wxwindows x86 xinerama xml xml2 xmms xosd xv xvid zlib video_cards_radeon video_cards_mach64"
2.4.x is deprecated on Gentoo. Please test with a 2.6 kernel and linux26-headers.