Guest roeret Posted August 14, 2005 Report Share Posted August 14, 2005 Hi Group, can anyone help me with a simpel problem!!! Running vmware-config.pl gives me: "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] y 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? [/usr/src/linux/include] The path "/usr/src/linux/include" is not an existing directory. What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]" TIA martin rørdam, denmark Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted August 14, 2005 Report Share Posted August 14, 2005 If you are using Mandriva, open a terminal, su to root and: urpmi kernel-source-2.6 And that should do it Quote Link to comment Share on other sites More sharing options...
Guest roeret Posted August 14, 2005 Report Share Posted August 14, 2005 Done Thanks.. Now I get this "strange" message, anc anyone help here?? martin [root@localhost root]# vmware-config.pl Making sure services for VMware Workstation are stopped. Stopping VMware services: Virtual machine monitor [ OK ] 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] y 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? [/usr/src/linux/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/root/tmp/vmware-config2/vmmon-only' make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.8.1-20mdk' CC [M] /root/tmp/vmware-config2/vmmon-only/linux/driver.o CC [M] /root/tmp/vmware-config2/vmmon-only/linux/hostif.o /root/tmp/vmware-config2/vmmon-only/linux/hostif.c: In function `MapCrossPage': /root/tmp/vmware-config2/vmmon-only/linux/hostif.c:566: error: `PAGE_KERNEL_EXECUTABLE' undeclared (first use in this function) /root/tmp/vmware-config2/vmmon-only/linux/hostif.c:566: error: (Each undeclared identifier is reported only once /root/tmp/vmware-config2/vmmon-only/linux/hostif.c:566: error: for each function it appears in.) make[2]: *** [/root/tmp/vmware-config2/vmmon-only/linux/hostif.o] Error 1 make[1]: *** [_module_/root/tmp/vmware-config2/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.8.1-20mdk' make: *** [vmmon.ko] Error 2 make: Leaving directory `/root/tmp/vmware-config2/vmmon-only' Unable to build the vmmon module. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 14, 2005 Report Share Posted August 14, 2005 It's natural for 2.6.11+ kernels, and well documented on VMware forums. Officially, VMware supports kernels up to 2.6.7 ATM. Simply run Petr's vmware "any-any" patch (last revision is update 93) and the script will be able to create the necessary modules. Quote Link to comment Share on other sites More sharing options...
Guest roeret Posted August 15, 2005 Report Share Posted August 15, 2005 It's natural for 2.6.11+ kernels, and well documented on VMware forums. Officially, VMware supports kernels up to 2.6.7 ATM.Simply run Petr's vmware "any-any" patch (last revision is update 93) and the script will be able to create the necessary modules. <{POST_SNAPBACK}> Thanks up and running now !!!! (didn't think of that; had a perfect running vmware running on a new CentOS 4.1 !! ?? ) martin Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 15, 2005 Report Share Posted August 15, 2005 Thanks up and running now !!!! (didn't think of that; had a perfect running vmware running on a new CentOS 4.1 !! ?? ) martin Cannot know, but the CentOS 4.1 kernel might have a vmware-specific patch included. 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.