Bug 819

Summary: kexec for ARM compile error
Product: buildroot Reporter: jasaw81
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2009.08   
Target Milestone: 2010.02   
Hardware: Other   
OS: Linux   
Host: Target: ARM
Build:

Description jasaw81 2009-12-19 16:15:59 UTC
kexec-zImage-arm.c: error: asm/page.h: No such file or directory

Need a patch to fix this:



--- kexec-tools-1.101.orig/kexec/arch/arm/kexec-zImage-arm.c 2009-07-07 13:24:17.000000000 +0100
+++ kexec-tools-1.101/kexec/arch/arm/kexec-zImage-arm.c 2009-07-07 13:24:56.000000000 +0100
@@ -11,7 +11,7 @@
 #include <stdint.h>
 #include <getopt.h>
 #include <arch/options.h>
-#include <asm/page.h>
+#include <unistd.h>
 #include "../../kexec.h"
 
 #define COMMAND_LINE_SIZE 1024
Comment 1 Thomas Petazzoni 2010-02-21 18:52:33 UTC
Fixed by http://lists.busybox.net/pipermail/buildroot/2010-February/032134.html, which should be integrated by Peter soon, hopefully before 2010.02.