Looks like I have had to split the post…
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.27.19-3.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default'
make -C ../../../linux-2.6.27.19-3.2 O=/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:101:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from include2/asm/numa_64.h:5,
from include2/asm/numa.h:4,
from include2/asm/acpi.h:28,
from include2/asm/fixmap_64.h:15,
from include2/asm/fixmap.h:7,
from include2/asm/apic.h:9,
from include2/asm/smp.h:13,
from /usr/src/linux-2.6.27.19-3.2/include/linux/smp.h:28,
from /usr/src/linux-2.6.27.19-3.2/include/linux/topology.h:33,
from /usr/src/linux-2.6.27.19-3.2/include/linux/mmzone.h:687,
from /usr/src/linux-2.6.27.19-3.2/include/linux/gfp.h:4,
from /usr/src/linux-2.6.27.19-3.2/include/linux/kmod.h:22,
from /usr/src/linux-2.6.27.19-3.2/include/linux/module.h:13,
from /tmp/vmware-config2/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:26:
include2/asm/apicdef.h:134:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-config2/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:101:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from include2/asm/numa_64.h:5,
from include2/asm/numa.h:4,
from include2/asm/acpi.h:28,
from include2/asm/fixmap_64.h:15,
from include2/asm/fixmap.h:7,
from include2/asm/apic.h:9,
from include2/asm/smp.h:13,
from /usr/src/linux-2.6.27.19-3.2/include/linux/smp.h:28,
from /usr/src/linux-2.6.27.19-3.2/include/linux/topology.h:33,
from /usr/src/linux-2.6.27.19-3.2/include/linux/mmzone.h:687,
from /usr/src/linux-2.6.27.19-3.2/include/linux/gfp.h:4,
from /usr/src/linux-2.6.27.19-3.2/include/linux/kmod.h:22,
from /usr/src/linux-2.6.27.19-3.2/include/linux/module.h:13,
from /tmp/vmware-config2/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config2/vmmon-only/linux/driver.c:26:
include2/asm/apicdef.h:134:1: warning: this is the location of the previous definition
CC [M] /tmp/vmware-config2/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config2/vmmon-only/linux/hostif.c:65:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from include2/asm/numa_64.h:5,
from include2/asm/numa.h:4,
from include2/asm/acpi.h:28,
from include2/asm/fixmap_64.h:15,
from include2/asm/fixmap.h:7,
from include2/asm/apic.h:9,
from include2/asm/smp.h:13,
from /usr/src/linux-2.6.27.19-3.2/include/linux/smp.h:28,
from /usr/src/linux-2.6.27.19-3.2/include/linux/topology.h:33,
from /usr/src/linux-2.6.27.19-3.2/include/linux/mmzone.h:687,
from /usr/src/linux-2.6.27.19-3.2/include/linux/gfp.h:4,
from /usr/src/linux-2.6.27.19-3.2/include/linux/mm.h:8,
from /tmp/vmware-config2/vmmon-only/./include/compat_page.h:23,
from /tmp/vmware-config2/vmmon-only/linux/hostif.c:32:
include2/asm/apicdef.h:134:1: warning: this is the location of the previous definition
CC [M] /tmp/vmware-config2/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config2/vmmon-only/common/hashFunc.o
CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o
In file included from /tmp/vmware-config2/vmmon-only/common/vmx86.h:31,
from /tmp/vmware-config2/vmmon-only/common/vmx86.c:40:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from include2/asm/numa_64.h:5,
from include2/asm/numa.h:4,
from include2/asm/acpi.h:28,
from include2/asm/fixmap_64.h:15,
from include2/asm/fixmap.h:7,
from include2/asm/apic.h:9,
from include2/asm/smp.h:13,
from /usr/src/linux-2.6.27.19-3.2/include/linux/smp.h:28,
from /usr/src/linux-2.6.27.19-3.2/include/linux/sched.h:68,
from /tmp/vmware-config2/vmmon-only/common/vmx86.c:32:
include2/asm/apicdef.h:134:1: warning: this is the location of the previous definition
CC [M] /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
In file included from /tmp/vmware-config2/vmmon-only/./common/vmx86.h:31,
from /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.c:35:
/tmp/vmware-config2/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from include2/asm/numa_64.h:5,
from include2/asm/numa.h:4,
from include2/asm/acpi.h:28,
from include2/asm/fixmap_64.h:15,
from include2/asm/fixmap.h:7,
from include2/asm/apic.h:9,
from include2/asm/smp.h:13,
from /usr/src/linux-2.6.27.19-3.2/include/linux/smp.h:28,
from /usr/src/linux-2.6.27.19-3.2/include/linux/sched.h:68,
from /tmp/vmware-config2/vmmon-only/./include/compat_sched.h:23,
from /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.c:31:
include2/asm/apicdef.h:134:1: warning: this is the location of the previous definition
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.27.19-3.2-obj/x86_64/default'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
The vmmon module loads perfectly into the running kernel.