On Thu, 8 Aug 2002 14:28:21 -0400 (EDT), Phil Groce <[EMAIL PROTECTED]> wrote: >I'm sorry to bug you guys with what I'm sure is a simple mistake, but I >can't seem to find any other way around the problem. When I try to build a >2.4.18 kernel with kdb-v2.1-2.4.18-common-3 and kdb-v2.1-2.4.18-i386-1, I >get the following error: > >----- > >make[2]: Entering directory >`/src/DEV/pgroce/CODE/src/kernel.org/kernel/2.4.18/kdb' >gcc -D__KERNEL__ >-I/src/DEV/pgroce/CODE/src/kernel.org/kernel/2.4.18/include >-DWE_REALLY_INSIST_ON_NOT_HAVING_NAT_SUPPORT -Wall -Wstrict-prototypes >-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe >-mpreferred-stack-boundary=2 -march=i686 -I >/src/DEV/pgroce/CODE/src/kernel.org/kernel/2.4.18/arch/i386/kdb >-DKBUILD_BASENAME=kdbmain -DEXPORT_SYMTAB -c kdbmain.c >kdbmain.c: In function `kdb_local': >kdbmain.c:838: `kdb' undeclared (first use in this function)
The makefiles think that CONFIG_KDB is set (from .config) but include/linux/autoconf.h (.config reformatted for cpp) does not have CONFIG_KDB, in other words a kernel build error. Save .config, make mrproper, restore .config and rebuild from scratch.
