Skip to contentSkip to conversation

Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8

DISCUSSION jds 2 participants 4 messages Jun 11, 2003 – Jun 13, 2003

lore
Share & tools
lore

jds

author
#0 lore raw

Hi:

I have problems when compile module vmware 4.0 vmnet with kernel 2.5.70-mm8.

the messages is:

kernel? [/lib/modules/2.5.70-mm8/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory /tmp/vmware-config0/vmmon-only' make[1]: Entering directory /tmp/vmware-config0/vmmon-only' make[2]: Entering directory /tmp/vmware-config0/vmmon-only/driver-2.5.70-mm8' make[2]: Leaving directory /tmp/vmware-config0/vmmon-only/driver-2.5.70-mm8' make[2]: Entering directory /tmp/vmware-config0/vmmon-only/driver-2.5.70-mm8' make[2]: Leaving directory /tmp/vmware-config0/vmmon-only/driver-2.5.70-mm8' make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmnet module.

Building the vmnet module.

make: Entering directory /tmp/vmware-config0/vmnet-only' bridge.c: In function VNetBridgeReceiveFromVNet':
bridge.c:368: structure has no member named wmem_alloc' bridge.c: In function VNetBridgeUp':
bridge.c:618: structure has no member named protinfo' bridge.c: In function VNetBridgeReceiveFromDev':
bridge.c:817: structure has no member named `protinfo'
make: *** [bridge.o] Error 1
make: Leaving directory `/tmp/vmware-config0/vmnet-only' Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Helpme please.

Best Regards.

#1 lore raw
Quoted 5 lines · jds

I have problems when compile module vmware 4.0 vmnet with kernel 2.5.70-mm8.

...

Quoted 10 lines

make: Entering directory /tmp/vmware-config0/vmnet-only' bridge.c: In function VNetBridgeReceiveFromVNet':
bridge.c:368: structure has no member named wmem_alloc' bridge.c: In function VNetBridgeUp':
bridge.c:618: structure has no member named protinfo' bridge.c: In function VNetBridgeReceiveFromDev':
bridge.c:817: structure has no member named `protinfo'
make: *** [bridge.o] Error 1
make: Leaving directory `/tmp/vmware-config0/vmnet-only' Unable to build the vmnet module.

You'll need to replace all instances of "wmem_alloc" with "sk_wmem_alloc" and replace all instances of "protinfo" with "sk_protinfo". And similar if you get more compile errors.

Lots of socket members were renamed, by adding an "sk_" prefix.

author
#2 lore raw

Hi Andrew:

Thanks.... :)

Changes the bridge.c and compile good module vmnet

Best Regards.

Muchas Gracias

---------- Original Message -----------
From: Andrew Morton <[email protected]>
To: "jds" <[email protected]>
Sent: Wed, 11 Jun 2003 13:08:50 -0700
Subject: Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8

Quoted 3 lines
Quoted 2 lines · jds

I have problems when compile module vmware 4.0 vmnet with kernel

2.5.70-mm8.

Quoted 14 lines
Quoted 13 lines

...

make: Entering directory /tmp/vmware-config0/vmnet-only' bridge.c: In function VNetBridgeReceiveFromVNet':
bridge.c:368: structure has no member named wmem_alloc' bridge.c: In function VNetBridgeUp':
bridge.c:618: structure has no member named protinfo' bridge.c: In function VNetBridgeReceiveFromDev':
bridge.c:817: structure has no member named `protinfo'
make: *** [bridge.o] Error 1
make: Leaving directory `/tmp/vmware-config0/vmnet-only' Unable to build the vmnet module.

Quoted 5 lines

You'll need to replace all instances of "wmem_alloc" with "sk_wmem_alloc" and replace all instances of "protinfo" with "sk_protinfo". And similar if you get more compile errors.

Lots of socket members were renamed, by adding an "sk_" prefix.

------- End of Original Message -------

author
#3 lore raw

Problems in kernel 2.4.70-mm9 with pcmcia xircom_cb

In reply to Andrew Morton

Hi Andrew:

Im have kernel 2.5.70-mm9 and my pcmcia card xircom_cb not working, Im
using kernel 2.5.70-mm1 .. 2.5.70-mm8 working perfect.

Im using .config is the same in old kernels.

Helpme please.

Best Regards.