public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.3 compile failure
@ 2002-01-31 18:14 rudmer
  2002-01-31 20:44 ` Heinz Diehl
  0 siblings, 1 reply; 2+ messages in thread
From: rudmer @ 2002-01-31 18:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

i got the following error:

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

This also happened when i upgraded -pre5 to -pre6. I also checked with a 
freshly downloaded tarball and after
  make mrproper; cp ../.config .; make oldconfig dep bzImage
i got the same error!


thanks,
Rudmer

please cc me as i am not on the list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.3 compile failure
  2002-01-31 18:14 2.5.3 compile failure rudmer
@ 2002-01-31 20:44 ` Heinz Diehl
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Diehl @ 2002-01-31 20:44 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-01 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 18:14 2.5.3 compile failure rudmer
2002-01-31 20:44 ` Heinz Diehl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox