Quantcast
Channel: VMware Communities : Popular Discussions - VMware Server 1
Viewing all articles
Browse latest Browse all 74849

Problem compiling vmmod on FC6, new 2.6.20-1.2925.fc6 kernel

$
0
0

Hi all;

 

FC6 got a new kernel this morning and running vmware-config.pl results in a failure when attempting to build the vmmod module. Here is the relevant output:

 

What is the location of the directory of C header files that match your running

kernel? /lib/modules/2.6.20-1.2925.fc6/build/include

 

Extracting the sources of the vmmon module.

 

Building the vmmon module.

 

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config1/vmmon-only'

make -C /lib/modules/2.6.20-1.2925.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'

  CC   /tmp/vmware-config1/vmmon-only/linux/driver.o

In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’

/tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’

make[2]: *** /tmp/vmware-config1/vmmon-only/linux/driver.o Error 1

make[1]: *** \[_module_/tmp/vmware-config1/vmmon-only] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-i686'

make: *** \[vmmon.ko] Error 2

make: Leaving directory `/tmp/vmware-config1/vmmon-only'

Unable to build the vmmon module.

 

Any ideas on what's going wrong and how to fix it?

 

Thanks,

 

-P


Viewing all articles
Browse latest Browse all 74849

Trending Articles