Re: Build regressions/improvements in v3.2-rc7

From: Geert Uytterhoeven
Date: Sun Dec 25 2011 - 11:25:36 EST


On Sun, Dec 25, 2011 at 16:55, richard -rw- weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> On Sun, Dec 25, 2011 at 3:42 PM, Geert Uytterhoeven
> <geert@xxxxxxxxxxxxxx> wrote:
>> Â+ src/arch/um/os-Linux/skas/process.c: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): Â=> 321, 552
>> Â+ src/arch/um/os-Linux/skas/process.c: error: (Each undeclared identifier is reported only once: Â=> 321
>> Â+ src/arch/um/os-Linux/skas/process.c: error: for each function it appears in.): Â=> 321
>> Â+ src/arch/um/os-Linux/start_up.c: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): Â=> 302, 244
>> Â+ src/arch/um/os-Linux/start_up.c: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): Â=> 243, 301
>> Â+ src/arch/um/os-Linux/start_up.c: error: (Each undeclared identifier is reported only once: Â=> 243
>> Â+ src/arch/um/os-Linux/start_up.c: error: for each function it appears in.): Â=> 243
>
> *confused*
>
> UML 3.2-rc7 builds fine here.
> Both i386 and x86_64.

Same here (well, x86_64).

I guess it's a userspace issue, as for my builds, it picks up the definition of
PTRACE_O_TRACESYSGOOD from /usr/include/sys/ptrace.h
(not from include/linux/ptrace.h).

Gr{oetje,eeting}s,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
             Â Â -- Linus Torvalds
--
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/