Subject: Re: 2.6.23-mm1 - powerpc - Build fails at arch/powerpc/boot/inflate.o

From: Kamalesh Babulal <[email-masked]>
Date: Thu, 18 Oct 2007 17:36:33 +0530

Hi Andrew,

The kernel build fails on the power box

  INSTALL vdso64.so

  INSTALL vdso32.so

  BOOTCC  arch/powerpc/boot/inflate.o

arch/powerpc/boot/inflate.c:920:19: error: errno.h: No such file or directory

arch/powerpc/boot/inflate.c:921:18: error: slab.h: No such file or directory

arch/powerpc/boot/inflate.c:922:21: error: vmalloc.h: No such file or directory

arch/powerpc/boot/inflate.c: In function ‘zlib_inflate_blob’:

arch/powerpc/boot/inflate.c:928: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

arch/powerpc/boot/inflate.c:928: error: ‘zbuf’ undeclared (first use in this function)

arch/powerpc/boot/inflate.c:928: error: (Each undeclared identifier is reported only once

arch/powerpc/boot/inflate.c:928: error: for each function it appears in.)

arch/powerpc/boot/inflate.c:932: error: ‘ENOMEM’ undeclared (first use in this function)

arch/powerpc/boot/inflate.c:933: warning: implicit declaration of function ‘kmalloc’

arch/powerpc/boot/inflate.c:933: error: ‘GFP_KERNEL’ undeclared (first use in this function)

arch/powerpc/boot/inflate.c:933: warning: assignment makes pointer from integer without a cast

arch/powerpc/boot/inflate.c:936: warning: assignment makes pointer from integer without a cast

arch/powerpc/boot/inflate.c:955: error: ‘EINVAL’ undeclared (first use in this function)

arch/powerpc/boot/inflate.c:960: warning: implicit declaration of function ‘kfree’

make[1]: *** [arch/powerpc/boot/inflate.o] Error 1

make: *** [install] Error 2

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.