> Did you only compile it or did you actually check it? Or are there any > references? If I get a confirmation that it works, I can try to do a > QA upload.
For this file it works, tested it on alpha. However, there are some other issues (updated the patch). One I could't fix (yet): $ gcc -g -O2 -Wall -g -I/root/aboot-1.0~pre20040408/include -D__KERNEL__ -mcpu=ev4 -Os -Wall -fno-builtin -Wcast-align -mno-fp-regs -ffixed-8 -fno-builtin-printf -g -O2 -Wall -I. -I../include -I/root/aboot-1.0~pre20040408/include -I/root/aboot-1.0~pre20040408/include objstrip.c -o objstrip objstrip.c:30:22: error: asm/elf.h: No such file or directory objstrip.c: In function ‘main’: objstrip.c:153: warning: cast increases required alignment of target type objstrip.c:155: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness objstrip.c:161: warning: implicit declaration of function ‘elf_check_arch’ objstrip.c:180: warning: cast increases required alignment of target type objstrip.c:202: warning: type-punning to incomplete type might break strict-aliasing rules objstrip.c:204: error: dereferencing pointer to incomplete type objstrip.c:210: error: dereferencing pointer to incomplete type objstrip.c:210: error: dereferencing pointer to incomplete type objstrip.c:216: warning: implicit declaration of function ‘N_MAGIC’ objstrip.c:216: error: dereferencing pointer to incomplete type objstrip.c:216: error: ‘OMAGIC’ undeclared (first use in this function) objstrip.c:216: error: (Each undeclared identifier is reported only once objstrip.c:216: error: for each function it appears in.) objstrip.c:221: warning: implicit declaration of function ‘N_TXTOFF’ objstrip.c:221: error: dereferencing pointer to incomplete type objstrip.c:222: error: dereferencing pointer to incomplete type objstrip.c:222: error: dereferencing pointer to incomplete type objstrip.c:223: error: dereferencing pointer to incomplete type objstrip.c:227: error: dereferencing pointer to incomplete type objstrip.c:228: error: dereferencing pointer to incomplete type -- Philipp Benner
diff -aruN aboot-1.0~pre20040408.old/zip/misc.c aboot-1.0~pre20040408/zip/misc.c --- aboot-1.0~pre20040408.old/zip/misc.c 2001-10-09 01:03:54.000000000 +0200 +++ aboot-1.0~pre20040408/zip/misc.c 2008-05-29 14:22:36.000000000 +0200 @@ -11,8 +11,6 @@ */ #include <linux/kernel.h> -#include <asm/page.h> - #include "aboot.h" #include "bootfs.h" #include "setjmp.h" --- aboot-1.0~pre20040408.orig/disk.c +++ aboot-1.0~pre20040408/disk.c @@ -35,8 +35,8 @@ #include <linux/elf.h> #include <asm/console.h> -#include <asm/system.h> -#include <asm/elf.h> +#include "system.h" +//#include <asm/elf.h> extern struct bootfs ext2fs; extern struct bootfs iso;