From: Claus Herrmann <claus.herrmann@cybits.de>
To: linux-mips@linux-mips.org
Subject: Building a cross kernel for the IP27/Origin System
Date: Tue, 08 May 2007 17:02:50 +0200 [thread overview]
Message-ID: <4640911A.4080801@cybits.de> (raw)
Hi,
ich have a question regarding the crosscompiling for an Origin 2000.
First of all i get this warning:
include/linux/mmzone.h:553:1: warning: "NODE_DATA" redefined
In file included from include/asm/mmzone.h:9,
from include/asm-mips/mach-ip27/topology.h:5,
from include/asm/topology.h:1,
from include/linux/topology.h:34,
from include/linux/mmzone.h:544,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/percpu.h:5,
from include/linux/rcupdate.h:41,
from include/linux/pid.h:4,
from include/linux/sched.h:72,
from arch/mips/kernel/asm-offsets.c:13:
include/asm-mips/mach-ip27/mmzone.h:33:1: warning: this is the location of the previous definition
I fixed it by doing a #define and a #ifndef around the golbal NODE_DATA.
Now it compiles smoothly, but in the end I get this:
mips-linux-ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 information.
mips-linux-ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 information.
mips-linux-ld: Dwarf Error: found dwarf version '365', this reader only handles version 2 information.
mips-linux-ld: Dwarf Error: found dwarf version '22528', this reader only handles version 2 information.
arch/mips/mm/built-in.o: In function `mem_init':
: multiple definition of `mem_init'
mips-linux-ld: Dwarf Error: found dwarf version '0', this reader only handles version 2 information.
mips-linux-ld: Dwarf Error: found dwarf version '8704', this reader only handles version 2 information.
arch/mips/sgi-ip27/built-in.o:: first defined here
arch/mips/mm/built-in.o: In function `paging_init':
: multiple definition of `paging_init'
arch/mips/sgi-ip27/built-in.o:: first defined here
make: *** [.tmp_vmlinux1] Fehler 1
Any suggestions what i am doing wrong?
The toolchan i use is the one from MIPS SDE UK. I tried to build my own
Toolchain, but the same error occur.
Brgds
Claus
next reply other threads:[~2007-05-08 15:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 15:02 Claus Herrmann [this message]
2007-05-10 19:00 ` Building a cross kernel for the IP27/Origin System Jim Wilson
2007-05-11 7:19 ` AW: " Claus Herrmann
2007-05-11 7:19 ` Claus Herrmann
2007-05-11 18:42 ` Jim Wilson
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=4640911A.4080801@cybits.de \
--to=claus.herrmann@cybits.de \
--cc=linux-mips@linux-mips.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