Re: [FC6] Vmware Server fails vmmon module compile, kernel 2.6.20-1.2925.fc6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi PJones,

try this (as root):

cd /usr/lib/vmware/modules/source/
cp vmmon.tar vmmon.tar_orig
tar xvf vmmon.tar
vi vmmon-only/include/compat_kernel.h

search for "_syscall1" and modify as follows:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
static inline _syscall1(int, compat_exit, int, exit_code);
#endif

rm -f vmmon.tar
tar cvf vmmon.tar vmmon-only

Run vmware-config.pl

--
Beppe


P Jones wrote:
Hi all;

Updated to the most recent kernel this morning, then tried running
vmware-config.pl, and got this (any idea what's wrong here?):

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 [M]  /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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux