All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel build problems with KDB patch
@ 2014-03-13  2:09 RS
  2014-03-13  9:27 ` sanjeev sharma
  0 siblings, 1 reply; 2+ messages in thread
From: RS @ 2014-03-13  2:09 UTC (permalink / raw)
  To: kernelnewbies

Hello


I want to use KDB to debug the module. 
I have done this:
1.  make mrproper
2.  download the patch from the site (ftp://oss.sgi.com/www/projects/kdb/download/). Include kdb-v4.4-2.6.32-common-6.bz2 and kdb-v4.4-2.6.32-x86-6.bz2
3.  patch -p1 < kdb-v4.4-2.6.32-common-6
     patch -p1 < kdb-v4.4-2.6.32-x86-6
4.  make menuconfig
     Kernel hacking --->
                             Compile the kernel with frame pointers(set Y) 
                             Built-in Kernel Debugger support (set Y)  
                             KDB off by default(set Y)
5.  make


ERROR LOG:
arch/x86/kernel/traps.c:418 error:expected identifier or '(' before 'if'
arch/x86/kernel/traps.c:437 error:expected identifier or '(' before 'if'
arch/x86/kernel/traps.c:441 error:expected identifier or '(' before 'if'
...
conflicting types for 'reassert_nmi'
...note:previous definition of 'reassert_nmi' was here
...


What should I do ?


Thanks,
HeChuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140313/6492b2d4/attachment-0001.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* kernel build problems with KDB patch
  2014-03-13  2:09 kernel build problems with KDB patch RS
@ 2014-03-13  9:27 ` sanjeev sharma
  0 siblings, 0 replies; 2+ messages in thread
From: sanjeev sharma @ 2014-03-13  9:27 UTC (permalink / raw)
  To: kernelnewbies

Hi,

Are you also getting same issue with other Version also ?

Regards
Sanjeev Sharma

On Thu, Mar 13, 2014 at 7:39 AM, RS <tinyshrimp@163.com> wrote:
> Hello
>
> I want to use KDB to debug the module.
> I have done this:
> 1.  make mrproper
> 2.  download the patch from the site
> (ftp://oss.sgi.com/www/projects/kdb/download/). Include
> kdb-v4.4-2.6.32-common-6.bz2 and kdb-v4.4-2.6.32-x86-6.bz2
> 3.  patch -p1 < kdb-v4.4-2.6.32-common-6
>      patch -p1 < kdb-v4.4-2.6.32-x86-6
> 4.  make menuconfig
>      Kernel hacking --->
>                              Compile the kernel with frame pointers(set Y)
>                              Built-in Kernel Debugger support (set Y)
>                              KDB off by default(set Y)
> 5.  make
>
> ERROR LOG:
> arch/x86/kernel/traps.c:418 error:expected identifier or '(' before 'if'
> arch/x86/kernel/traps.c:437 error:expected identifier or '(' before 'if'
> arch/x86/kernel/traps.c:441 error:expected identifier or '(' before 'if'
> ...
> conflicting types for 'reassert_nmi'
> ...note:previous definition of 'reassert_nmi' was here
> ...
>
> What should I do ?
>
> Thanks,
> HeChuan
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-13  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13  2:09 kernel build problems with KDB patch RS
2014-03-13  9:27 ` sanjeev sharma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.