Re: 2.4.19-pre4-ac1 vmware and emu10k1 problems

From: Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Date: Wed Mar 27 2002 - 08:10:01 EST


On Tue, 26 Mar 2002, Malcolm Mallardi wrote:

> The vmware modules will not compile properly under 2.4.19-pre4-ac1, or
> under 2.4.19-pre2-ac2, but compile fine on their mainline kernel
> counterparts. Here is the errors that I get from vmware-config.pl:
>
> Building the vmmon module.
>
> make: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[1]: Entering directory `/tmp/vmware-config1/vmmon-only'
> make[2]: Entering directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> In file included from .././linux/driver.c:38:
> /lib/modules/2.4.19-pre4-ac1/build/include/linux/malloc.h:4: #error
> linux/malloc.h is deprecated, use linux/slab.h instead.
> make[2]: *** [driver.d] Error 1
> make[2]: Leaving directory
> `/tmp/vmware-config1/vmmon-only/driver-2.4.19-pre4-ac1'
> make[1]: *** [deps] Error 2
> make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
> make: *** [auto-build] Error 2
> make: Leaving directory `/tmp/vmware-config1/vmmon-only'
> Unable to build the vmmon module.

Replace all #include <linux/malloc.h> by #include <linux/slab.h> as the
#error says -- I tried that, and it works for me with 2.4.19-pre3-ac4.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:13 EST