hi,
I want to have a debugger for my kernel and
I am using kernel-2.6.11 and i am having patches
kdb-v4.4-2.6.11-common-1.bz2
kdb-v4.4-2.6.11-i386-1.bz2.
I applied both.
I did make menuconfig with options
CONFIG_KDB n CONFIG_FRAME_POINTER being set.
when i tried to compile kernel. I got an error regarding CONFIG_KPROBES
then i did make menuconfig to remove kprobes under kernel hacking section.
It got compiled for sometime n it is giving errors in include/linux/i2c.h
saying incomplete type in line no 58 and 197.
Are there any configurations to be enabled or disabled during make menuconfig in linux-2.6.11?
Any help is welcome
regards
sriram
Try make clean before building
Have you tried "make clean" before starting the kernel compilation. Lot of times failed/incomplete builds raises many issues in the following ones if not cleaned.
Regards,
Narendra Kiran Chinnam.
gcc 4.0 reports the error of incomplete type
hi Narendra,
Error i got was basically because i tried to compile Kernel-2.6.11 using gcc-4.0.0 version.So it is recommended to not to compile 2.6.11 kernel under gcc-4.0.0. Kernel-2.6.16 can be compiled sucessfully using gcc-4.0.0 after applying kdb patches
regards
Sriram