kernel build problems with KDB patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux