On Wednesday 22 August 2007, Andrei Verovski (aka MacGuru) wrote: > Hi ! > > I have SuSE 10.2 and: > > kernel-default-2.6.22.2-ccj52 > VMware-player-2.0.0-45731.i386 > > + kernel sources and kernel syms 2.6.22.2-ccj52 installed. > > For unknown reason compilation of vmware kernel modules fails: > > Path to kernel sources requied to compile vmware modules seems to be correct: > "/usr/src/linux-2.6.22.2-ccj52-obj/i386/default/include" > > > Anyone have any idea what went wrong? > > ---------------------- > > make[1]: Entering directory `/usr/src/linux-2.6.22.2-ccj52-obj/i386/default' > make -C ../../../linux-2.6.22.2-ccj52 > O=../linux-2.6.22.2-ccj52-obj/i386/default modules > CC [M] /tmp/vmware-config4/vmnet-only/driver.o > CC [M] /tmp/vmware-config4/vmnet-only/hub.o > CC [M] /tmp/vmware-config4/vmnet-only/userif.o > /tmp/vmware-config4/vmnet-only/userif.c: In function â VNetCopyDatagramToUserâ: > /tmp/vmware-config4/vmnet-only/userif.c:630: error: âconst struct sk_buffâ has > no member named âhâ > /tmp/vmware-config4/vmnet-only/userif.c:630: error: âconst struct sk_buffâ has > no member named ânhâ > /tmp/vmware-config4/vmnet-only/userif.c:636: error: âconst struct sk_buffâ has > no member named âhâ > make[4]: *** [/tmp/vmware-config4/vmnet-only/userif.o] Error 1 > make[3]: *** [_module_/tmp/vmware-config4/vmnet-only] Error 2 > make[2]: *** [modules] Error 2 > make[1]: *** [modules] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.22.2-ccj52-obj/i386/default' > make: *** [vmnet.ko] Error 2 > make: Leaving directory `/tmp/vmware-config4/vmnet-only' > Unable to build the vmnet module.
Compilation of the VMware module failed because of changes in the Linux kernel, i.e. your kernel is to new and you should fallback to the latest 2.6.18 kernel. Please, check the VMware forum for a discussion of these compilation problems. IIRC, the forum also contains some links to patches. Regards, Erwin Lam -- Erwin Lam ([EMAIL PROTECTED]) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
