vmware 6.5 configuration errors

When running the configuration script for vmware 6.5, it terminates with the following errors:

In file included from include2/asm/processor.h:18,
from /usr/src/linux-2.6.27.25-0.1/include/linux/prefetch.h:14,
from /usr/src/linux-2.6.27.25-0.1/include/linux/list.h:6,
from /usr/src/linux-2.6.27.25-0.1/include/linux/module.h:9,
from /tmp/vmware-config11/vmmon-only/linux/driver.c:12:
include2/asm/page.h:22:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config11/vmmon-only/linux/vmhost.h:13,
from /tmp/vmware-config11/vmmon-only/linux/driver.c:115:
/tmp/vmware-config11/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
/tmp/vmware-config11/vmmon-only/linux/driver.c:197: error: unknown field ‘nopage’ specified in initializer
/tmp/vmware-config11/vmmon-only/linux/driver.c:198: warning: initialization from incompatible pointer type
/tmp/vmware-config11/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config11/vmmon-only/linux/driver.c:1801: error: too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/vmware-config11/vmmon-only/linux/driver.o] Error 1
make[3]: *** [module/tmp/vmware-config11/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.27.25-0.1-obj/i386/pae' make: *** [vmmon.ko] Error 2 make: Leaving directory /tmp/vmware-config11/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.

How do I fix this?