VMware Communities
garyatOU
Contributor
Contributor

Error on rebuild after kernel upgrade, 2.6.20-1.2952.fc6

After upgrading my kernel modules on a Fedora Core Linux system and booting into the new Kernel, 2.6.20-1.2952.fc6, I'm unable to re-compile the vmware workstation.

Kernel 2.6.19-1.2911.6.5.fc6, works.

Here's the error I get;

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]

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?

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.2952.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

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

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]: *** Error 1

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

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

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

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

Unable to build the vmmon module.

Pointers to the solution would be appreciated.

Reply
0 Kudos
3 Replies
el1971
Expert
Expert

I would recommend you to download the latest any-any patch from here:

ftp://ftp.cvut.cz/vmware . The file should be called vmware-any-any-update.tar.gz . After downloading it, unpack it and run "runme.pl". Then after "runme.pl" run "vmware-config.pl".

\-- Edi

Reply
0 Kudos
max1e6
Contributor
Contributor

I downloaded and ran the vmware-any-any patch, but got another error. which seems to be addressed here http://www.vmware.com/community/thread.jspa?threadID=47291

Reply
0 Kudos
raitk
Contributor
Contributor

This vmware-any-any-update.tar.gz worked for my FedoraCore6 server. ftp://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz

Thank You

Reply
0 Kudos