Shawn Singh wrote: >I emerged vmware; however, when trying to configure it, I'm seeing the >following... > >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.6.x kernel build system. >make: Entering directory `/tmp/vmware-config4/vmmon-only' >make -C /usr/src/linux-2.6.11-gentoo-r4/include/.. SUBDIRS=$PWD >SRCROOT=$PWD/. modules >make[1]: Entering directory `/usr/src/linux-2.6.11-gentoo-r4' > CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o > CC [M] /tmp/vmware-config4/vmmon-only/linux/hostif.o > CC [M] /tmp/vmware-config4/vmmon-only/common/cpuid.o > CC [M] /tmp/vmware-config4/vmmon-only/common/hash.o > CC [M] /tmp/vmware-config4/vmmon-only/common/memtrack.o > CC [M] /tmp/vmware-config4/vmmon-only/common/phystrack.o > CC [M] /tmp/vmware-config4/vmmon-only/common/task.o >cc1plus: warning: "-ffreestanding" is valid for C/ObjC but not for C++ > CC [M] /tmp/vmware-config4/vmmon-only/common/vmx86.o > CC [M] /tmp/vmware-config4/vmmon-only/vmcore/compat.o > CC [M] /tmp/vmware-config4/vmmon-only/vmcore/moduleloop.o > LD [M] /tmp/vmware-config4/vmmon-only/vmmon.o > Building modules, stage 2. > MODPOST > CC /tmp/vmware-config4/vmmon-only/vmmon.mod.o > LD [M] /tmp/vmware-config4/vmmon-only/vmmon.ko >make[1]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r4' >cp -f vmmon.ko ./../vmmon.o >make: Leaving directory `/tmp/vmware-config4/vmmon-only' >Unable to make a vmmon module that can be loaded in the running kernel: >insmod: error inserting '/tmp/vmware-config4/vmmon.o': -1 Unknown >symbol in module >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. > >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". > >I've seen that some people (who are using Suse) are saying one needs >to cd into /usr/src/linux > >then run make cloneconfig and one other command; however, when I try >to run make cloneconfig I get errors indicating that cloneconfig is >not a valid option to build... > >Has anyone out there run into this? > > > ls -l /usr/src/linux
if this does not point to the correct kernel source, that is the kernel you are running, remove the link and create one to the correct kernel source Craig -- gentoo-user@gentoo.org mailing list