Subject: Re: paul-rsync: make zImage fails

From: Olaf Hering <[email-masked]>
Date: Fri, 16 Jun 2000 13:27:09 +0200

On Thu, Jun 15, Brad Midgley wrote:

>
> it's been a long time since i've gotten a chrp image to work, but the
> current sources can't do it:
>
> main.c: In function `chrpboot':
> main.c:43: conflicting types for `_start'
> main.c:29: previous declaration of `_start'
>
> is it an unfortunate name collision, or is one of these right and one
> wrong?
>
>  extern char _start[], _end[];
>    ...
>  extern char _start;

--- linux.nokconf/arch/ppc/chrpboot/main.c      Thu Jun 15 20:31:48 2000
+++ linux.chrp/arch/ppc/chrpboot/main.c Thu Jun 15 23:18:47 2000
@@ -40,9 +40,9 @@
     void *dst;
     unsigned char *im;
     unsigned initrd_start, initrd_size;
-    extern char _start;
+   /* extern char _start;

-    printf("chrpboot starting: loaded at 0x%x\n\r", &_start);
+    printf("chrpboot starting: loaded at 0x%x\n\r", &_start); */

     if (initrd_len) {
        initrd_size = initrd_len;

works fine here.

Gruss Olaf

--
 $ man clone

BUGS
       Main feature not yet implemented...

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/