Troubless with compiling 2.4.7-ac1 kernel with kdb

Keith Owens kaos at melbourne.sgi.com
Tue Jul 31 19:34:05 PDT 2001


On Wed, 1 Aug 2001 07:21:34 +0400, 
John Polyakov <johnpol at 2ka.mipt.ru> wrote:
>While i was trying to compile my 2.4.7-ac1 kernel with kdb support, I've get this error and warnings:
>In file included from /usr/src/linux/include/net/checksum.h:33,
>from /usr/src/linux/include/linux/raid/md.h:34,
>from init/main.c:24:
>/usr/src/linux/include/asm/checksum.h:72:30: warning: multi-line string literals are deprecated

Not kdb code, take that up on the linux-kernel list.

>kdbmain.c:71: conflicting types for `kdb_nextline'

In include/linux/kdbprivate.h, change
  extern int kdb_nextline;
to
  extern volatile int kdb_nextline;

BTW, you are obviously using a recent version of gcc to get those
errors.  Make sure you read Documentation/Changes, section GCC before
you go any further.




More information about the kdb mailing list