I have a 2.6.16-rc1 stuffed with the vmsplit patch floating in -mm, using VMSPLIT_3G_OPT. The first problem is:
which is wrong. The one I am running has its includes at /lib/modules/`uname -r`/build/include, and it is valid. vmware-config.pl does not seem to grasp the new output of gcc; it essentially is
rather than
or whatever it is without the vmsplit patch. I modified vmware-config.pl to continue anyway, and there is another problem, for which the reason seems to be that VMW_HAVE_EPOLL is not defined in the Makefile.
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
address space size as your running kernel.
which is wrong. The one I am running has its includes at /lib/modules/`uname -r`/build/include, and it is valid. vmware-config.pl does not seem to grasp the new output of gcc; it essentially is
@@VMWARE@@ ((unsigned long)0xB0000000)
rather than
@@VMWARE@@ (0xB0000000)
or whatever it is without the vmsplit patch. I modified vmware-config.pl to continue anyway, and there is another problem, for which the reason seems to be that VMW_HAVE_EPOLL is not defined in the Makefile.
make[1]: Entering directory `/usr/src/linux-2.6.16-rc1'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for poll_initwait
include/linux/poll.h:45: error: previous declaration of poll_initwait was here
/tmp/vmware-config1/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-rc1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config1/vmmon-only/linux/driver.h:20,
from /tmp/vmware-config1/vmmon-only/linux/driver.c:49:
/tmp/vmware-config1/vmmon-only/./include/compat_wait.h:60: error: conflicting types for poll_initwait
include/linux/poll.h:45: error: previous declaration of poll_initwait was here
/tmp/vmware-config1/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config1/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-rc1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'