On Thu, Aug 22, 2013 at 05:06:44PM +0200, Armin K. wrote:
> On 08/22/2013 04:39 PM, Ken Moffat wrote:
> > Just a note that strace-4.8 doesn't build with the current kernel
> > headers. Noted on the strace list on 13th August, but they don't
> > seem to have a fix. This looks as if something in the 3.10.x stable
> > series broke it. Error is -
> >
> > In file included from process.c:66:0:
> > /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct
> > ptrace_peeksiginfo_args'
> > struct ptrace_peeksiginfo_args {
> > ^
> > In file included from defs.h:159:0,
> > from process.c:37:
> > /usr/include/sys/ptrace.h:191:8: note: originally defined here
> > struct ptrace_peeksiginfo_args
> > ^
> > make[2]: *** [process.o] Error 1
> > make[2]: Leaving directory `/building/strace-4.8'
> >
> > ĸen
> >
>
> My system was built against 3.10.1 version of kernel api headers and I
> didn't experience that problem.
The include/sys file comes from glibc. Looks as if
ptrace_peeksiginfo_args was added there in 2.18. Did you build strace
against glibc-2.18 ? I see that I used some earlier version of 3.10
last week, but with glibc-2.17, and strace-4.8 built ok there.
The only report that google finds is for 3.10.6 and glibc-2.18 :
http://comments.gmane.org/gmane.comp.sysutils.strace.devel/3239
I'm starting to think it might be glibc rather than the kernel
headers.
ĸen
--
das eine Mal als Tragödie, dieses Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page