Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
arch/ppc/kernel/kgdb.c: At top level:
arch/ppc/kernel/kgdb.c:270: error: variable `arch_kgdb_ops' has initializer but
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: *** [arch/ppc/kernel/kgdb.o] Error 1
make: *** [arch/ppc/kernel] Error 2