2003-06-11 19:46:32

by jds

[permalink] [raw]
Subject: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8



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.


2003-06-11 19:56:33

by Petr Vandrovec

[permalink] [raw]
Subject: Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8

On 11 Jun 03 at 13:30, jds wrote:

> 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.

Add sk_ prefix to these members.
Petr


2003-06-11 20:01:38

by Andrew Morton

[permalink] [raw]
Subject: Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8

"jds" <[email protected]> wrote:
>
> I have problems when compile module vmware 4.0 vmnet with kernel 2.5.70-mm8.
>
> ...
>
> 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.

2003-06-11 20:29:23

by jds

[permalink] [raw]
Subject: Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8



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

> "jds" <[email protected]> wrote:
> >
> > I have problems when compile module vmware 4.0 vmnet with kernel
2.5.70-mm8.
> >
> > ...
> >
> > 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.
------- End of Original Message -------

2003-06-13 17:53:07

by jds

[permalink] [raw]
Subject: Problems in kernel 2.4.70-mm9 with pcmcia xircom_cb



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.



2003-06-13 18:37:00

by jds

[permalink] [raw]
Subject: Re: Problems in kernel 2.4.70-mm9 with pcmcia xircom_cb


Hi:

Thanks ....... again, my pcmcia card bus xircom_cb working good.

Regards.


---------- Original Message -----------
From: Dominik Brodowski <[email protected]>
To: [email protected], [email protected]
Sent: Fri, 13 Jun 2003 20:33:20 +0200
Subject: Re: Problems in kernel 2.4.70-mm9 with pcmcia xircom_cb

> Hi "jds",
>
> Please run "oldconfig" on your .config, and select
>
> CONFIG_YENTA CardBus yenta-compatible bridge support (NEW) "y"
>
> (Or run any other config tool of your choice and adjust this setting).
>
> If CONFIG_YENTA wasn't set before, this is likely the cause of the problem.
> If not, please contact me again.
>
> Dominik
------- End of Original Message -------