Re: UML build failure in 2.6.27-rc3

From: Jeff Dike
Date: Mon Aug 25 2008 - 18:04:45 EST


On Thu, Aug 21, 2008 at 11:19:00AM -0400, Theodore Ts'o wrote:
> Is this a known problem?
>
> SYMLINK arch/um/include/kern_constants.h
> SYMLINK arch/um/include/sysdep
> make[2]: `arch/um/sys-i386/user-offsets.s' is up to date.
> CHK arch/um/include/user_constants.h
> Using /usr/projects/linux/ext4 as source for kernel
> GEN /usr/projects/linux/uml/Makefile
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CALL /usr/projects/linux/ext4/scripts/checksyscalls.sh
> CHK include/linux/compile.h
> CC arch/um/kernel/ptrace.o
> /usr/projects/linux/ext4/arch/um/kernel/ptrace.c:230: error: static declaration of âsend_sigtrapâ follows non-static declaration
> include2/asm/ptrace-generic.h:51: error: previous declaration of âsend_sigtrapâ was here
> make[2]: *** [arch/um/kernel/ptrace.o] Error 1
> make[1]: *** [arch/um/kernel] Error 2
> make: *** [sub-make] Error 2

Are you sure you have a consistent tree? I see no declaration of
send_sigtrap in ptrace-generic.h. There is one in asm-x86/ptrace.h
but it's not at line 51.

Jeff

--
Work email - jdike at linux dot intel dot com
--
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/