VMware Communities
perimere
Contributor
Contributor
Jump to solution

Unable to build the vmnet module

Hi,

I'm installing VMware-workstation-6.0.0-45731.x86_64.tar.gz, onto an Ubuntu 7.04 (64-bit) workstation running a 2.6.22 kernel.

Appears to have installed fine, however, "sudo /usr/bin/vmware-config.pl" is exiting with errors:

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config0/vmnet-only'

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

make[1]: Entering directory `/usr/src/linux-2.6.22'

CC /tmp/vmware-config0/vmnet-only/driver.o

CC /tmp/vmware-config0/vmnet-only/hub.o

CC /tmp/vmware-config0/vmnet-only/userif.o

/tmp/vmware-config0/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:

/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘h’

/tmp/vmware-config0/vmnet-only/userif.c:630: error: ‘const struct sk_buff’ has no member named ‘nh’

/tmp/vmware-config0/vmnet-only/userif.c:636: error: ‘const struct sk_buff’ has no member named ‘h’

make[2]: *** Error 1

make[1]: *** \[_module_/tmp/vmware-config0/vmnet-only] Error 2

make[1]: Leaving directory `/usr/src/linux-2.6.22'

make: *** \[vmnet.ko] Error 2

make: Leaving directory `/tmp/vmware-config0/vmnet-only'

Unable to build the vmnet module.

Has anyone seen this? Missing dependency?

TIA

Cheers

Adam

0 Kudos
1 Solution

Accepted Solutions
KevinG
Immortal
Immortal
Jump to solution

With that kernel version you may want to try Petr's (113 patch ) vmware-any-any-update113 (from http://knihovny.cvut.cz/ftp/pub/vmware/

View solution in original post

0 Kudos
5 Replies
KevinG
Immortal
Immortal
Jump to solution

With that kernel version you may want to try Petr's (113 patch ) vmware-any-any-update113 (from http://knihovny.cvut.cz/ftp/pub/vmware/

0 Kudos
perimere
Contributor
Contributor
Jump to solution

Kevin,

Thanks, I'll have a look. Can I ask what the patch does?

Cheers

Adam

0 Kudos
KevinG
Immortal
Immortal
Jump to solution

Hi Adam,

Since you are using a unsupported kernel version, it makes changes to the VMware kernel module code and/or scripts to compile on newer kernels that may not be supported.

This patch is not from VMware, it is from a forum user that just also happens to work for VMware. Smiley Happy

perimere
Contributor
Contributor
Jump to solution

Thanks for help Kevin. Sounds like it should sort the problem.

Cheers

Adam

0 Kudos
evilhomer
Contributor
Contributor
Jump to solution

Worked perfectly. Thanks Kevin.

0 Kudos