Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1540 - VMWare modules won't compile with 2.4.19
Summary: VMWare modules won't compile with 2.4.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-04 21:55 UTC by Sandy McArthur
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)