[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Building vmware workstation kernel module on 2.6.24 fails (sid)



After a recent update of the kernel to 2.6.24 I fail in building the
kernel modules for vmware workstation.  I'm using 'make-vmpkg'.  It
fails with the following:

In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
                 from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:60:
error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’
was here

I suspect it's caused by an earlier warning:

In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
                 from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:37:5:
warning: "VMW_HAVE_EPOLL" is not defined

Any ideas on how to solve this?  (I suspect one way might be to somehow
make sure that VMW_HAVE_EPOLL is defined during the compilation, but how
do I succeed in doing that?)

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
     -- Daveman

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: