* Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8
@ 2003-06-11 19:30 jds
2003-06-11 20:08 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: jds @ 2003-06-11 19:30 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8
2003-06-11 19:30 jds
@ 2003-06-11 20:08 ` Andrew Morton
2003-06-11 20:09 ` jds
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2003-06-11 20:08 UTC (permalink / raw)
To: jds; +Cc: linux-kernel
"jds" <jds@soltis.cc> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8
2003-06-11 20:08 ` Andrew Morton
@ 2003-06-11 20:09 ` jds
0 siblings, 0 replies; 4+ messages in thread
From: jds @ 2003-06-11 20:09 UTC (permalink / raw)
To: Andrew Morton, jds; +Cc: linux-kernel
Hi Andrew:
Thanks.... :)
Changes the bridge.c and compile good module vmnet
Best Regards.
Muchas Gracias
---------- Original Message -----------
From: Andrew Morton <akpm@digeo.com>
To: "jds" <jds@soltis.cc>
Sent: Wed, 11 Jun 2003 13:08:50 -0700
Subject: Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8
> "jds" <jds@soltis.cc> 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 -------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8
@ 2003-06-11 20:09 Petr Vandrovec
0 siblings, 0 replies; 4+ messages in thread
From: Petr Vandrovec @ 2003-06-11 20:09 UTC (permalink / raw)
To: jds; +Cc: akpm, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-11 20:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-11 20:09 Problem compile module vmnet VMWARE 4.0 in 2.4.70-mm8 Petr Vandrovec
-- strict thread matches above, loose matches on Subject: below --
2003-06-11 19:30 jds
2003-06-11 20:08 ` Andrew Morton
2003-06-11 20:09 ` jds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox