VMware Communities
palfrey
Contributor
Contributor

vmmon for 6.5 fails to build due to list_head issues

Just upgraded to 6.5, running as root for first start (to allow for kernel module building) and I get the following at the terminal I launched vmware from:

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmmon-only'

make -C /lib/modules/2.6.20.3-ubuntu1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.20.3-ubuntu1'

CC /tmp/vmware-root/modules/vmmon-only/linux/driver.o

In file included from /tmp/vmware-root/modules/vmmon-only/./include/compat_page.h:23,

from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:33:

include/linux/mm.h: In function ‘set_compound_page_dtor’:

include/linux/mm.h:309: error: ‘list_head’ undeclared (first use in this function)

include/linux/mm.h:309: error: (Each undeclared identifier is reported only once

include/linux/mm.h:309: error: for each function it appears in.)

include/linux/mm.h:309: error: expected expression before ‘)’ token

make[2]: *** Error 1

make[1]: *** Error 2

Not good. Adding "#include <linux/list.h>" to compat_page.h might theoretically fix this, but changing the copy in /usr/src/modules/vmware-player-kernel/vmmon-only/include didn't seem to fix anything. Running Ubuntu on a 2.6.20 kernel. Ideas anyone?

0 Kudos
1 Reply
palfrey
Contributor
Contributor

Bug found, local configuration issue (messing around with kernel images way back), all sorted now!

0 Kudos