* Re: 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c
[not found] <20080117023514.9df393cf.akpm@linux-foundation.org>
@ 2008-01-18 6:14 ` Kamalesh Babulal
2008-01-18 8:06 ` Sam Ravnborg
2008-01-20 15:30 ` Mel Gorman
2008-01-18 7:09 ` 2.6.24-rc8-mm1 build failure on headers_check Kamalesh Babulal
1 sibling, 2 replies; 5+ messages in thread
From: Kamalesh Babulal @ 2008-01-18 6:14 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel, sam, linux-kbuild, Andy Whitcroft, Balbir Singh
Hi Andrew,
The kernel build fails with following error message
scripts/mkubootimg/crc32.c:15:18: error: zlib.h: No such file or directory
scripts/mkubootimg/crc32.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc_table'
scripts/mkubootimg/crc32.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc32'
make[2]: *** [scripts/mkubootimg/crc32.o] Error 1
make[1]: *** [scripts/mkubootimg] Error 2
make: *** [scripts] Error 2
The patch causing this build failure may be git-kbuild.patch.
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.24-rc8-mm1 build failure on headers_check
[not found] <20080117023514.9df393cf.akpm@linux-foundation.org>
2008-01-18 6:14 ` 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c Kamalesh Babulal
@ 2008-01-18 7:09 ` Kamalesh Babulal
2008-01-18 7:38 ` Andrew Morton
1 sibling, 1 reply; 5+ messages in thread
From: Kamalesh Babulal @ 2008-01-18 7:09 UTC (permalink / raw)
To: Andrew Morton
Cc: linux-kernel, linux-kbuild, linuxppc-dev, Sam Ravnborg,
Andy Whitcroft, Balbir Singh
Hi Andrew,
The kernel build fails during the headers_check on power box
CHECK include/asm/nvram.h
/usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/nvram.h requires linux/list.h, which does not exist in exported headers
make[3]: *** [/usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/.check.nvram.h] Error 1
make[2]: *** [asm-powerpc] Error 2
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.24-rc8-mm1 build failure on headers_check
2008-01-18 7:09 ` 2.6.24-rc8-mm1 build failure on headers_check Kamalesh Babulal
@ 2008-01-18 7:38 ` Andrew Morton
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2008-01-18 7:38 UTC (permalink / raw)
To: Kamalesh Babulal
Cc: linux-kernel, linux-kbuild, linuxppc-dev, Sam Ravnborg,
Andy Whitcroft, Balbir Singh
On Fri, 18 Jan 2008 12:39:51 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:
> Hi Andrew,
>
> The kernel build fails during the headers_check on power box
>
> CHECK include/asm/nvram.h
> /usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/nvram.h requires linux/list.h, which does not exist in exported headers
> make[3]: *** [/usr/local/autobench/autotest/tmp/build/linux/usr/include/asm/.check.nvram.h] Error 1
doh.
--- a/include/asm-powerpc/nvram.h~include-asm-powerpc-nvramh-needs-listh-fix
+++ a/include/asm-powerpc/nvram.h
@@ -11,7 +11,6 @@
#define _ASM_POWERPC_NVRAM_H
#include <linux/errno.h>
-#include <linux/list.h>
#define NVRW_CNT 0x20
#define NVRAM_HEADER_LEN 16 /* sizeof(struct nvram_header) */
@@ -59,6 +58,9 @@ struct nvram_header {
};
#ifdef __KERNEL__
+
+#include <linux/list.h>
+
struct nvram_partition {
struct list_head partition;
struct nvram_header header;
_
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c
2008-01-18 6:14 ` 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c Kamalesh Babulal
@ 2008-01-18 8:06 ` Sam Ravnborg
2008-01-20 15:30 ` Mel Gorman
1 sibling, 0 replies; 5+ messages in thread
From: Sam Ravnborg @ 2008-01-18 8:06 UTC (permalink / raw)
To: Kamalesh Babulal
Cc: Andrew Morton, linux-kernel, linux-kbuild, Andy Whitcroft,
Balbir Singh
On Fri, Jan 18, 2008 at 11:44:34AM +0530, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The kernel build fails with following error message
>
> scripts/mkubootimg/crc32.c:15:18: error: zlib.h: No such file or directory
> scripts/mkubootimg/crc32.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc_table'
> scripts/mkubootimg/crc32.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc32'
> make[2]: *** [scripts/mkubootimg/crc32.o] Error 1
> make[1]: *** [scripts/mkubootimg] Error 2
> make: *** [scripts] Error 2
>
> The patch causing this build failure may be git-kbuild.patch.
The mkubootimg patches in kbuild.git has been reverted - but that was
after akpm merged kbuild.git.
So it is fixed in next -mm.
The workaround for now is to just remove the line
containing "mkubootimg" in scripts/Makefile.
(Assuming you do not need the uImage target).
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c
2008-01-18 6:14 ` 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c Kamalesh Babulal
2008-01-18 8:06 ` Sam Ravnborg
@ 2008-01-20 15:30 ` Mel Gorman
1 sibling, 0 replies; 5+ messages in thread
From: Mel Gorman @ 2008-01-20 15:30 UTC (permalink / raw)
To: Kamalesh Babulal
Cc: Andrew Morton, linux-kernel, sam, linux-kbuild, Andy Whitcroft,
Balbir Singh
On (18/01/08 11:44), Kamalesh Babulal didst pronounce:
> Hi Andrew,
>
> The kernel build fails with following error message
>
> scripts/mkubootimg/crc32.c:15:18: error: zlib.h: No such file or directory
> scripts/mkubootimg/crc32.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc_table'
> scripts/mkubootimg/crc32.c:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'crc32'
> make[2]: *** [scripts/mkubootimg/crc32.o] Error 1
> make[1]: *** [scripts/mkubootimg] Error 2
> make: *** [scripts] Error 2
>
> The patch causing this build failure may be git-kbuild.patch.
>
A dependency on zlib was introduced by that patch. I installed
zlib1g-dev but I see that this is expected to be fixed without internal
dependencies anyway.
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-20 15:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20080117023514.9df393cf.akpm@linux-foundation.org>
2008-01-18 6:14 ` 2.6.24-rc8-mm1 Build Failure at scripts/mkubooting/crc32.c Kamalesh Babulal
2008-01-18 8:06 ` Sam Ravnborg
2008-01-20 15:30 ` Mel Gorman
2008-01-18 7:09 ` 2.6.24-rc8-mm1 build failure on headers_check Kamalesh Babulal
2008-01-18 7:38 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).