From: "Ed Brady" <mailinglist@ebrady.net>
To: <linuxppc-embedded@lists.linuxppc.org>
Subject: Compiling 2.4.18 for Motorola MBX board
Date: Wed, 27 Mar 2002 15:47:57 -0500 [thread overview]
Message-ID: <015601c1d5d0$b0278b60$64d4047e@research.liebert.com> (raw)
Hello,
I am trying to cross compile the latest 2.4.18 kernel to run on an MBX board
(MPC 860). However, I consistently run into problems whenever the final
link is performed. See error text below....
This code is comprised of the following:
linux 2.4.18 kernel from kernel.org with the ppc-patch-2.4.18 applied.
I have not tried cross compiling the kernel without the ppc patch applied.
The compiler is the gcc packaged build to cross-compile on an i386 linux
host with a target of powerpc-unknown-eabi.
Note: This is the first time that I have attempted to cross-compile a
kernel for an embedded target, so if this is caused by a bone-headed
mistake, please be kind :)
Any thoughts or pointers would be appreciated...
powerpc-eabi-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head_8xx.o init/main.o init/version.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/ppc/xmon/x.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/video/video.o
drivers/i2c/i2c.o arch/ppc/8xx_io/8xx_io.o \
net/network.o \
/usr/src/ppc/linux/lib/lib.a \
--end-group \
-o vmlinux
arch/ppc/kernel/kernel.o: In function `lookup_partitions':
arch/ppc/kernel/kernel.o(.text.init+0xa22): undefined reference to
`pmac_newworld'
arch/ppc/kernel/kernel.o(.text.init+0xa26): undefined reference to
`pmac_newworld'
arch/ppc/kernel/kernel.o: In function `pmac_nvram_init':
arch/ppc/kernel/kernel.o(.text.init+0xb38): undefined reference to
`find_devices'
arch/ppc/kernel/kernel.o(.text.init+0xb38): relocation truncated to fit:
R_PPC_REL24 find_devices
arch/ppc/kernel/kernel.o(.text.init+0xb6c): undefined reference to
`device_is_compatible'
arch/ppc/kernel/kernel.o(.text.init+0xb6c): relocation truncated to fit:
R_PPC_REL24 device_is_compatible
arch/ppc/kernel/kernel.o(.text.init+0xc9a): undefined reference to
`sys_ctrler'
arch/ppc/kernel/kernel.o(.text.init+0xc9e): undefined reference to
`sys_ctrler'
arch/ppc/xmon/x.o: In function `xmon':
arch/ppc/xmon/x.o(.text+0x600): undefined reference to `xmon_enter'
arch/ppc/xmon/x.o(.text+0x600): relocation truncated to fit: R_PPC_REL24
xmon_enter
arch/ppc/xmon/x.o(.text+0x664): undefined reference to `xmon_leave'
arch/ppc/xmon/x.o(.text+0x664): relocation truncated to fit: R_PPC_REL24
xmon_leave
arch/ppc/xmon/x.o: In function `dump_hash_table_seg':
arch/ppc/xmon/x.o(.text+0x16b2): undefined reference to `Hash_size'
arch/ppc/xmon/x.o(.text+0x16ba): undefined reference to `Hash_size'
arch/ppc/xmon/x.o(.text+0x16ce): undefined reference to `Hash'
arch/ppc/xmon/x.o(.text+0x16d6): undefined reference to `Hash'
make: *** [vmlinux] Error 1
Ed Brady
ed@ebrady.net
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2002-03-27 20:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 20:47 Ed Brady [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-27 21:02 Compiling 2.4.18 for Motorola MBX board Kerl, John
2002-03-27 21:08 ` Wolfgang Denk
[not found] <20020327210215.3A202109F4@denx.denx.de>
2002-03-28 4:59 ` Ed Brady
2002-04-01 18:41 ` Ed Brady
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='015601c1d5d0$b0278b60$64d4047e@research.liebert.com' \
--to=mailinglist@ebrady.net \
--cc=linuxppc-embedded@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).