You are not logged in.
Hi.
I've updated to kernel 2.6.20 and when running /opt/vmware/bin/vmware-config.pl to rebuild the necessary modules for vmware workstation I get the following error:
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. mo
dules
make[1]: Entering directory `/usr/src/linux-2.6.20-ARCH'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected dec
laration specifiers or '...' before 'compat_exit'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected dec
laration specifiers or '...' before 'exit_code'
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defau
lts to 'int' in declaration of '_syscall1'
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-ARCH'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
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.Is there any way to configure vmware workstation in 2.6.20?
Thanks.
Last edited by ctrler (2007-02-28 20:27:32)
Offline
Search this forum. Or look at AUR.
I am a gated community.
Offline
Search this forum. Or look at AUR.
I have, and the posts I get are all for vmware server or for older kernel versions. I'm using vmware workstation and kernel 2.6.20. In kernel 2.6.19 I had no problems.
Offline
stonecrest wrote:Search this forum. Or look at AUR.
I have, and the posts I get are all for vmware server or for older kernel versions. I'm using vmware workstation and kernel 2.6.20. In kernel 2.6.19 I had no problems.
Well, I hadn't search the AUR. (http://aur.archlinux.org/packages.php?d … s=0&SeB=nd)
Sorry.
Solution:
cd /usr/lib/vmware/modules/source/
sudo tar -xvf vmmon.tar
cd vmmon-only
sudo vi include/compat_kernel.hFind this:
#define __NR_compat_exit __NR_exit
static inline _syscall1(int, compat_exit, int, exit_code);and change the static inline ..... line to:
int compat_exit(int exit_code);
Then tar up the vmmon-only directory again.
cd .. #go back to the source directory
tar -cf vmmon.tar vmmon-only
in http://www.subvs.co.uk/vmware101_with_server_2.6.20
Thanks to stonecrest, mish and arcQ.
Offline
http://bbs.archlinux.org/viewtopic.php?id=30412 ?
Glad you got it working.
I am a gated community.
Offline