public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: 于婧 <yuj@mail•ndsc.com.cn>
To: "linuxppc-embedded@lists•linuxppc.org"
	<linuxppc-embedded@lists•linuxppc.org>
Subject: kgdb compile error
Date: Mon, 23 Dec 2002 22:51:37 +0800	[thread overview]
Message-ID: <200212231447.IAA20191@lists.linuxppc.org> (raw)


hi!
  I want to debug the kernel with kgdb,so I build the kernel with CONFIG_KGDB.While there are something wrong with it.The error is listed below:
/////////
ppc_74xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic arch/ppc/kernel/head.o init/main.o init/version.o \
 --start-group \
 arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
  drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/macintosh/macintosh.o \
 net/network.o \
 /home/yujing/mykernel/kernel/lib/lib.a \
 --end-group \
 -o vmlinux
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 106.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 97.
ppc_74xx-ld: Dwarf Error: Line offset (33554432) bigger than line size (223020).
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 95.
ppc_74xx-ld: Dwarf Error: Could not find abbrev number 99.
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x89fc): undefined reference to
'getDebugChar'
arch/ppc/kernel/entry.S(.text+0x89fc): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a30): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a30): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a4c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a4c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a5c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a5c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8a7c): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a7c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8a88): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8a88): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aa0): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aa0): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8aac): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8aac): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b20): undefined reference to `putDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b20): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/kernel.o(.text+0x8b3c):arch/ppc/kernel/entry.S: more undefined references to `putDebugChar' follow
arch/ppc/kernel/kernel.o: In function `_get_L2CR':
arch/ppc/kernel/entry.S(.text+0x8b3c): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b58): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b68): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b78): relocation truncated to fit: R_PPC_REL24 putDebugChar
arch/ppc/kernel/entry.S(.text+0x8b7c): undefined reference to `getDebugChar'
arch/ppc/kernel/entry.S(.text+0x8b7c): relocation truncated to fit: R_PPC_REL24 getDebugChar
arch/ppc/kernel/entry.S(.text+0x8df4): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x8df4): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
arch/ppc/kernel/entry.S(.text+0x9388): undefined reference to `kgdb_interruptible'
arch/ppc/kernel/entry.S(.text+0x9388): relocation truncated to fit: R_PPC_REL24 kgdb_interruptible
make: *** [vmlinux] Error 1
 ///////
What's the problem?Wait for your help!
Thanks in advance!
                                                                         yujing
                                                                           yuj@mail•ndsc.com.cn

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

             reply	other threads:[~2002-12-23 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-23 14:51 于婧 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-20  8:35 kgdb compile error 于婧
2002-12-23 16:32 ` Tom Rini

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=200212231447.IAA20191@lists.linuxppc.org \
    --to=yuj@mail$(echo .)ndsc.com.cn \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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