Building the vmmon module. Building for VMware Server 1.0.0. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config5/vmmon-only' make -C /lib/modules/2.6.22-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-12-generic' CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config5/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config5/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config5/vmmon-only/common/hash.o CC [M] /tmp/vmware-config5/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config5/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config5/vmmon-only/common/task.o 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/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’: include/asm/page.h:112: error: expected primary-expression before ‘)’ token include/asm/page.h:112: error: expected ‘;’ before ‘{’ token include/asm/page.h:112: error: expected primary-expression before ‘.’ token include/asm/page.h:112: error: expected `;' before ‘}’ token make[2]: *** [/tmp/vmware-config5/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-12-generic' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config5/vmmon-only' Unable to build the vmmon module.