VMware Communities
jlward4th
Contributor
Contributor

vsock compile error on 2.6.35

When trying to compile the vsock module on 2.6.35 I get a number of errors like:

/tmp/vmware-root/modules/vsock-only/linux/af_vsock.c:4537: error: ‘struct sock’ has no member named ‘sk_sleep’

I updated the af_vsock.c with the attached file to get it to compile.

0 Kudos
1 Reply
Brunni
Contributor
Contributor

Thank you so much! It works for Ubuntu 10.10 (lots of people have the problem now).

Note that there are two steps to do: one to get the vmmon module to compile (easy to find), and one to get the vsock module to load properly. Your post solves the second (and often overlooked) problem.

0 Kudos