VMware Communities
bjtimmy
Contributor
Contributor

Error building shared folder support driver (vmhgfs.o) on Suse Linux 10.3 guest

Hello,

I've got a problem enabling shared folders on a Suse Linux 10.3 guest:

Running the vmware-config-tools I get an error while building vmhgfs.o-driver.

The error says, that there are too few arguments to function "kmem_cache_create".

Sharing folders isn't possible after that error, of course.

Does anyone have a fix for that error?

Cheers

bjtimmy

0 Kudos
4 Replies
AWo
Immortal
Immortal

Same with me and some others here. Seems not to work, yet. You can use mapped network drives, instead. As long as the other modules got compoiled, this shouldn't be a too worse thing.

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
AWo
Immortal
Immortal

Found this: http://communities.vmware.com/message/854540#854540

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
bjtimmy
Contributor
Contributor

Hi,

Thanks for the hints!

I've found a solution B-):

Add

#define VMW_KMEMCR_HAS_DTOR 1

to

/usr/src/linux-2.6.22.5-31/include/linux/slab.h

Suse Linux 10.3 has a 2.6.22-kernel with an ols slab.h. The fix tells vmware-tools about it.

Execute vmware-config-tools.pl again and you should see no more error.

Cheers

bjtimmy

0 Kudos
AWo
Immortal
Immortal

Another option, this did it for me:

http://kamilkisiel.blogspot.com/2007/11/installing-vmware-tools-on-kernel-2622.html

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos