I run Workstation 6.0.2 on Mandriva 2007.1, and I'm testing Mandriva cooker (unstable version) to see what works in anticipation of the final release of 2008.1. I did a fresh install of RC2 and upgraded packages using urpmi --auto-select. I'm currently running the kernel 2.6.24.3-laptop-4mnb, with full kernel source installed.
I have the latest version of Workstation (6.0.3), but I can't get it compiled. The release notes seemed to indicate that it should compile for this version of the kernel (2.6.24 series seems to have a lot of patch all-all suggestions in 2007, before this version of Workstation was released).
I tried with and without the all-all patch, no luck. Without the patch, the compile errors out with:
Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.24.3-laptop-4mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/driver.o
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/hostif.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/comport.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /root/tmp/vmware-config4/vmmon-only/./include/vcpuset.h:74,
from /root/tmp/vmware-config4/vmmon-only/./include/modulecall.h:23,
from /root/tmp/vmware-config4/vmmon-only/common/vmx86.h:18,
from /root/tmp/vmware-config4/vmmon-only/common/hostif.h:18,
from /root/tmp/vmware-config4/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/root/tmp/vmware-config4/vmmon-only/common/cpuid.o] Error 1
make[1]: *** --_module_/root/tmp/vmware-config4/vmmon-only-- Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
make: *** vmmon.ko Error 2
make: Leaving directory `/root/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.
Any ideas about how to resolve this? Has anyone had success with Workstation on Mandriva cooker lately?
(Note: under 2007.1, I used a tweaked kernel to have a 1000Hz clock and a USB patch to allow my iPod to unmount, but otherwise untouched - and the plain kernel worked with Workstation 6.0.2 even without those patches.)
I have the latest version of Workstation (6.0.3), but I can't get it compiled. The release notes seemed to indicate that it should compile for this version of the kernel (2.6.24 series seems to have a lot of patch all-all suggestions in 2007, before this version of Workstation was released).
I tried with and without the all-all patch, no luck. Without the patch, the compile errors out with:
Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.24.3-laptop-4mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/driver.o
CC [M] /root/tmp/vmware-config4/vmmon-only/linux/hostif.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/comport.o
CC [M] /root/tmp/vmware-config4/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
from /root/tmp/vmware-config4/vmmon-only/./include/vcpuset.h:74,
from /root/tmp/vmware-config4/vmmon-only/./include/modulecall.h:23,
from /root/tmp/vmware-config4/vmmon-only/common/vmx86.h:18,
from /root/tmp/vmware-config4/vmmon-only/common/hostif.h:18,
from /root/tmp/vmware-config4/vmmon-only/common/cpuid.c:14:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly
make[2]: *** [/root/tmp/vmware-config4/vmmon-only/common/cpuid.o] Error 1
make[1]: *** --_module_/root/tmp/vmware-config4/vmmon-only-- Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.3-laptop-4mnb'
make: *** vmmon.ko Error 2
make: Leaving directory `/root/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.
Any ideas about how to resolve this? Has anyone had success with Workstation on Mandriva cooker lately?
(Note: under 2007.1, I used a tweaked kernel to have a 1000Hz clock and a USB patch to allow my iPod to unmount, but otherwise untouched - and the plain kernel worked with Workstation 6.0.2 even without those patches.)