Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-08-2007, 12:39 PM   #1
LQ Newbie
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Question linux 2.6.10 - compile kgdb fails


I am trying to build a 2.6.10 kernel with kgdb (Montavista for ppc). I am getting the following error:

ppc_7xx-gcc -m32 -Wp,-MD,arch/ppc/kernel/.kgdb.o.d -nostdinc -iwithprefix incl
ude -D__KERNEL__ -Iinclude -Iarch/ppc -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -g -Iarch/ppc -mso
ft-float -pipe -ffixed-r2 -mmultiple -mstring -Wa,-maltivec -Wdeclaration-after-
statement -g -gdwarf-2 -DKBUILD_BASENAME=kgdb -DKBUILD_MODNAME=kgdb -c -o arch
/ppc/kernel/kgdb.o arch/ppc/kernel/kgdb.c
arch/ppc/kernel/kgdb.c: In function `kgdb_debugger':
arch/ppc/kernel/kgdb.c:90: warning: implicit declaration of function `kgdb_handl
arch/ppc/kernel/kgdb.c: In function `kgdb_breakpoint':
arch/ppc/kernel/kgdb.c:100: error: `kgdb_setting_breakpoint' undeclared (first u
se in this function)
arch/ppc/kernel/kgdb.c:100: error: (Each undeclared identifier is reported only
arch/ppc/kernel/kgdb.c:100: error: for each function it appears in.)
arch/ppc/kernel/kgdb.c: In function `kgdb_arch_handle_exception':
arch/ppc/kernel/kgdb.c:244: warning: implicit declaration of function `kgdb_hex2
arch/ppc/kernel/kgdb.c:256: error: `debugger_step' undeclared (first use in this
arch/ppc/kernel/kgdb.c:257: error: `kgdb_contthread' undeclared (first use in th
is function)
arch/ppc/kernel/kgdb.c: At top level:
arch/ppc/kernel/kgdb.c:270: error: variable `arch_kgdb_ops' has initializer but
incomplete type
arch/ppc/kernel/kgdb.c:272: error: unknown field `gdb_bpt_instr' specified in in
arch/ppc/kernel/kgdb.c:272: error: extra brace group at end of initializer
arch/ppc/kernel/kgdb.c:272: error: (near initialization for `arch_kgdb_ops')
arch/ppc/kernel/kgdb.c:272: warning: excess elements in struct initializer
arch/ppc/kernel/kgdb.c:272: warning: (near initialization for `arch_kgdb_ops')
arch/ppc/kernel/kgdb.c:270: error: storage size of `arch_kgdb_ops' isn't known
make[1]: *** [arch/ppc/kernel/kgdb.o] Error 1
make: *** [arch/ppc/kernel] Error 2

Any idea on a possible solution ?

Dan Sirbu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kgdb patch to linux-2.6.18 priya001 Linux - Kernel 2 01-28-2010 12:00 AM
kgdb for Linux 2.6.15? bhuvanmital Linux - Software 1 02-13-2006 04:05 AM
KGDB for Linux Kernel 2.6.10 sanjay_ach Programming 3 01-16-2006 09:51 PM
Linux 2.6.10 kgdb sanjay_ach Linux - Newbie 1 01-16-2006 09:48 PM

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration