Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1540

Summary: VMWare modules won't compile with 2.4.19
Product: Gentoo Linux Reporter: Sandy McArthur <Sandy>
Component: Current packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandy McArthur 2002-04-04 21:55:56 UTC
When you run vmware-config.pl to compile vmware modules for 2.4.19 it fails when
including linux/malloc.h . You can work around this by removing the following
line from: /lib/modules/2.4.19/build/include/linux/malloc.h

#error linux/malloc.h is deprecated, use linux/slab.h instead.

I guess the correct solution is to either patch the vmware modules source, patch
the gentoo release of the 2.4.19 kernel, or wait for the VM ware guys to release
a new version.
Comment 1 Troy Dack 2002-04-05 03:08:39 UTC
I just modified /lib/modules/2.4.19/build/include/linux/malloc.h and changed
#error linux/malloc.h is deprecated, use linux/slab.h instead.

to:
#warning linux/malloc.h is deprecated, use linux/slab.h instead.

re-ran vmware-config.pl and then changed malloc.h back

everything seems to be working as advertised.

Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-05 16:28:09 UTC
fixed in linux-sources-2.4.19-r1 (on rsync soon)