Jump to content

vmware needs kernelheaders [solved]


Guest roeret
 Share

Recommended Posts

Guest roeret

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

Link to comment
Share on other sites

Guest roeret

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.

Link to comment
Share on other sites

Guest roeret
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.

 

Thanks up and running now !!!!

(didn't think of that; had a perfect running vmware running on a new CentOS 4.1 !! ?? )

 

martin

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...