Kam Leo wrote:
On 1/23/07, Rob Brown-Bayliss <uncertain.genius@xxxxxxxxx> wrote:
Hi, trying to build the vmware module for the 2.6.19-1.2895 kernel and
it fails with the following output:
Building the vmmon module.
Building for VMware Workstation 5.5.0 or 5.5.1.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.19-1.2895.fc6/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config1/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/task.o
cc1plus: warning: command line option
"-Werror-implicit-function-declaration" is valid for C/ObjC but not
for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement"
is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-ffreestanding" is valid for
C/ObjC but not for C++
include/linux/stddef.h:16: error: expected identifier before 'false'
include/linux/stddef.h:16: error: expected `}' before 'false'
include/linux/stddef.h:16: error: expected unqualified-id before 'false'
include/linux/types.h:36: error: expected initializer before 'bool'
/tmp/vmware-config1/vmmon-only/common/task.c:43: error: expected
declaration before '}' token
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/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 this a known problem with a solution?
--
Rob
Upgrade to VMware Workstation 5.5.3. If your host OS is linux you
also need to download and apply the vmware-any-any-update106.tar.gz
patch.
I found also that vmware-server-1.0.1 wouldn't build the kernel
interfaces/modules now that I am on fc6 kernel.2895. The same update106
listed by Kam solves that.
DaveT.