lkml.org 
[lkml]   [2002]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.3 compile failure
On Thu Jan 31 2002, rudmer wrote:

> make[3]: Entering directory `/usr/src/linux-2.5.3/drivers/base'
> gcc -D__KERNEL__ -I/usr/src/linux-2.5.3/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4
> -DEXPORT_SYMTAB -c core.c
> core.c:10: linux/malloc.h: No such file or directory
> make[3]: *** [core.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.5.3/drivers/base'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.5.3/drivers/base'
> make[1]: *** [_subdir_base] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.5.3/drivers'
> make: *** [_dir_drivers] Error 2

Open "/linux/drivers/base/core.c" and "fs.c" and change

#include <linux/malloc.h>

into

#include <linux/slab.h>

and recompile.

--
# Heinz Diehl, 68259 Mannheim, Germany
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:23    [W:0.035 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site