Hi,
openbios fails to build on sparc with recent kernel headers as <asm/page.h> has been removed. The following patch defines SEGMENT_SIZE instead of including <asm/page.h>.
Aurelien
Index: include/a.out.h =================================================================== --- include/a.out.h (révision 245) +++ include/a.out.h (copie de travail) @@ -128,10 +128,12 @@ #endif
#ifdef linux -#include <asm/page.h> #if defined(__i386__) || defined(__mc68000__) #define SEGMENT_SIZE 1024 +#elif defined(__sparc__) +#define SEGMENT_SIZE 4096 #else +#include <asm/page.h> #ifndef SEGMENT_SIZE #define SEGMENT_SIZE PAGE_SIZE #endif