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