MwareWorkStaion6 in Ubuntu7.1064bit compilation error Solution

Source: Internet
Author: User
I tried Ubuntu7.10 again last night, so it was hard to install the system. The following error occurred when installing VMWAREworkstation6.0: make: enteringdirectory '/tmp/vmware-config0/vmnet-only' make-C/lib/modules/2.6.22-6-generic/build/include /.. SUBDIRS = $ PWDSRC

I tried Ubuntu 7.10 again last night. It was hard to install the system, but the following error occurred when installing VMWARE workstation 6.0:

Make: Entering directory '/tmp/vmware-config0/vmnet-only'

Make-C/lib/modules/2.6.22-6-generic/build/include/... SUBDIRS = $ pwd srcroot = $ PWD/. modules

Make [1]: Entering directory '/usr/src/linux-headers-2.6.22-6-generic'

CC [M]/tmp/vmware-config0/vmnet-only/driver. o

CC [M]/tmp/vmware-config0/vmnet-only/hub. o

CC [M]/tmp/vmware-config0/vmnet-only/userif. o

/Tmp/vmware-config0/vmnet-only/userif. c: In the 'vnetcopypolicramtouser' function:

/Tmp/vmware-config0/vmnet-only/userif. c: 630: Error: 'const struct sk_buff 'No member named 'H'

/Tmp/vmware-config0/vmnet-only/userif. c: 630: Error: 'const struct sk_buff 'No member named 'nh'

/Tmp/vmware-config0/vmnet-only/userif. c: 636: Error: 'const struct sk_buff 'No member named 'H'

Make [2]: *** [/tmp/vmware-config0/vmnet-only/userif. o] Error 1

Make [1]: *** [_ module _/tmp/vmware-config0/vmnet-only] Error 2

Make [1]: Leaving directory '/usr/src/linux-headers-2.6.22-6-generic'

Make: *** [vmnet. ko] Error 2

Make: Leaving directory '/tmp/vmware-config0/vmnet-only'

Unable to build the vmnet module.

Ah, there is another BUG that does not comply with the kernel encoding specifications. Fortunately, someone has fixed this issue. For details, refer to the discussion here.

The specific solution is as follows:

Cd/tmp

Wget http://labs.eshangrao.com/files/vmnet.tar

Cd/usr/lib/vmware/modules/source

Sudo mv vmnet.tar. old

Cp/tmp/vmnet.tar ./

Run the following command to recompile the Vmware module as prompted:

Sudo vmware-config.pl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.