Hello,
I use Zenwalk 5.2 with 2.6.25.4 kernel. I have VMWare 6.0.3. I have followed the guide on Zen-wiki to the letter (
this one).
vmware-config.pl fails to compile because of a wrong include in vcpuset.h (it includes bitops.h from /asm instead of /linux), so I fixed that by hand
(after an hour or so of searching I found that, tried it, and it failed)
however, it still fails to compile, and gives me this :
Code:
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config6/vmmon-only'
make -C /lib/modules/2.6.25.4/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.25.4'
CC [M] /tmp/vmware-config6/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config6/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config6/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config6/vmmon-only/common/cpuid.o
In file included from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm/bitops.h:9:2: error: #error only <linux/bitops.h> can be included directly
In file included from include/asm/cpufeature.h:118,
from include/asm/alternative.h:42,
from include/asm/bitops.h:13,
from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/linux/bitops.h: In function 'get_bitmask_order':
include/linux/bitops.h:29: error: implicit declaration of function 'fls'
include/linux/bitops.h: In function 'hweight_long':
include/linux/bitops.h:45: error: implicit declaration of function 'hweight32'
include/linux/bitops.h:45: error: implicit declaration of function 'hweight64'
include/linux/bitops.h: In function 'fls_long':
include/linux/bitops.h:112: error: implicit declaration of function 'fls64'
In file included from include/asm/bitops.h:316,
from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h: At top level:
include/asm/bitops_32.h:135: error: static declaration of 'fls' follows non-static declaration
include/linux/bitops.h:29: error: previous implicit declaration of 'fls' was here
In file included from include/asm/bitops_32.h:145,
from include/asm/bitops.h:316,
from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm-generic/bitops/hweight.h:6: error: conflicting types for 'hweight32'
include/linux/bitops.h:45: error: previous implicit declaration of 'hweight32' was here
include/asm-generic/bitops/hweight.h:9: error: conflicting types for 'hweight64'
include/linux/bitops.h:45: error: previous implicit declaration of 'hweight64' was here
In file included from include/asm/bitops_32.h:149,
from include/asm/bitops.h:316,
from /tmp/vmware-config6/vmmon-only/./include/vcpuset.h:74,
from /tmp/vmware-config6/vmmon-only/./include/modulecall.h:23,
from /tmp/vmware-config6/vmmon-only/common/vmx86.h:18,
from /tmp/vmware-config6/vmmon-only/common/hostif.h:18,
from /tmp/vmware-config6/vmmon-only/common/cpuid.c:14:
include/asm-generic/bitops/fls64.h:7: error: static declaration of 'fls64' follows non-static declaration
include/linux/bitops.h:112: error: previous implicit declaration of 'fls64' was here
make[2]: *** [/tmp/vmware-config6/vmmon-only/common/cpuid.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.4'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
Unable to build the vmmon module.
Can you please help me install vmware?