linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Olaf Hering <olh@suse.de>
To: Brad Midgley <brad@turbolinux.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: paul-rsync: make zImage fails
Date: Fri, 16 Jun 2000 13:27:09 +0200	[thread overview]
Message-ID: <20000616132709.B27795@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.20.0006152313080.15387-100000@mail.turbolinux.com>; from brad@turbolinux.com on Thu, Jun 15, 2000 at 11:19:07PM -0700


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/

  reply	other threads:[~2000-06-16 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-16  1:54 Serial Giuliano Pochini
2000-06-16  6:19 ` paul-rsync: make zImage fails Brad Midgley
2000-06-16 11:27   ` Olaf Hering [this message]
2000-06-16 16:14 ` Serial Dan Malek
2000-06-16 19:31   ` Serial Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000616132709.B27795@suse.de \
    --to=olh@suse.de \
    --cc=brad@turbolinux.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).