Re: 2.6.21-rc3-mm2

From: Andrew Morton
Date: Mon Mar 19 2007 - 20:40:00 EST


On Mon, 19 Mar 2007 17:27:11 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> On Wed, 7 Mar 2007 20:19:15 -0800 Andrew Morton wrote:
>
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21-rc3/2.6.21-rc3-mm2/
> >
> > - This is the same as 2.6.21-rc3-mm1, except Con's CPU scheduler changes
> > were dropped.
> >
> > This is for A/B comparison purposes, and because those changes crashed on
> > one test setup.
>
> I don't quite see why this error is happening. Looks like all
> the nested #includes should handle it...
>
> CONFIG_KEXEC=y
> CONFIG_CRASH_DUMP=y
> CONFIG_UTRACE=y
> # PTRACE=n
> # PROC_FS=n
>
> In file included from arch/x86_64/kernel/crash.c:19:
> include/linux/elfcore.h: In function 'elf_core_copy_regs':
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> include/linux/elfcore.h:103: error: dereferencing pointer to incomplete type
> make[1]: *** [arch/x86_64/kernel/crash.o] Error 1
> make: *** [arch/x86_64/kernel] Error 2

Perhaps it's complaining about undefined pt_regs. But it's there in asm/ptrace.h
which is included by linux/ptrace.h. Perhaps there's an include snafu which is
causing that inclusion to not work.

Dunno. Please send full .config to Roland ;)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/