Apoc Posted September 19, 2004 Report Share Posted September 19, 2004 I have installed vmware and it asks me to compile vmmon, i have the kernel source files installed from the Mandrake 10 disc 3. It starts compiling but then errors with the following error: What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/src/linux-2.6.3-7mdk/include/ Extracting the sources of the vmmon module. Building the vmmon module. Building for VMware Workstation 4.0.x. Using 2.6.x kernel build system. make: Entering directory `/root/tmp/vmware-config5/vmmon-only' make -C /usr/src/linux-2.6.3-7mdk/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h CC [M] /root/tmp/vmware-config5/vmmon-only/linux/driver.o /root/tmp/vmware-config5/vmmon-only/linux/driver.c: In function `Panic': /root/tmp/vmware-config5/vmmon-only/linux/driver.c:2994: warning: implicit declaration of function `_exit' CC [M] /root/tmp/vmware-config5/vmmon-only/linux/hostif.o CC [M] /root/tmp/vmware-config5/vmmon-only/common/vmx86.o CC [M] /root/tmp/vmware-config5/vmmon-only/common/memtrack.o CC [M] /root/tmp/vmware-config5/vmmon-only/common/phystrack.o CC [M] /root/tmp/vmware-config5/vmmon-only/common/cpuid.o gcc -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -Iinclude/asm-i386/mach-default -O2 -DMODULE -Wall -Wstrict-prototypes -DVMWARE__FIX_IO_APIC_BASE=FIX_IO_APIC_BASE_0 -DVMW_HAVE_EPOLL -DVME_DEFAULT=VME_V4 -DVMW_USING_KBUILD -I/root/tmp/vmware-config5/vmmon-only/./include -I/root/tmp/vmware-config5/vmmon-only/./common -I/root/tmp/vmware-config5/vmmon-only/./linux -DVMW_NOPAGE_261 -fno-exceptions -c -o /root/tmp/vmware-config5/vmmon-only/common/task.o /root/tmp/vmware-config5/vmmon-only/common/task.C LD [M] /root/tmp/vmware-config5/vmmon-only/vmmon.o Building modules, stage 2. MODPOST CC /root/tmp/vmware-config5/vmmon-only/vmmon.mod.o LD [M] /root/tmp/vmware-config5/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/root/tmp/vmware-config5/vmmon-only' Unable to make a vmmon module that can be loaded in the running kernel: insmod: error inserting '/root/tmp/vmware-config5/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". Execution aborted. [root@localhost vmware-distrib]# any ideas on how to resolve this? cheers [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted September 19, 2004 Report Share Posted September 19, 2004 try "uname -r" to check out if you really are running kernel 2.6.3-7mdk, sounds like your sources don't match your kernel? try recompiling and press ENTER at every prompt to accept the default. Worked fine for me with kernel 2.6.3-16mdk Quote Link to comment Share on other sites More sharing options...
Apoc Posted September 20, 2004 Author Report Share Posted September 20, 2004 Tried `2.6.3-7mdk` and it came back with the 2.6.3-7mdk which is as expected. I have, however, solved the no compiling problem now, i downloaded one of the any-any updates (56 i think) and thats worked a treat, can compile and got it working, though it does have a video display error saying i can't do fuill screen but it works.. yeay. :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.