This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc64 compile failures and make check failure


On Fri, 2006-05-12 at 13:59 -0400, Frank Ch. Eigler wrote:
> pnasrat wrote:

> > [...]
> >   gcc -m64 -Wp,-MD,/tmp/stapvhHabT/.stap_8860.o.d  [...]
> > /tmp/stapvhHabT/stap_8860.c:226: error: array type has incomplete element type
> > /tmp/stapvhHabT/stap_8860.c:227: error: field name not in record or union initializer
> > [...]
> 
> Here, "struct kprobe" is for some reason not declared.  But
> <linux/kprobes.h> is #included from systemtap's runtime.h, so I don't
> understand why this should be.  Maybe someone removed CONFIG_KPROBES
> from your kernel?  (The translator could emit an assertion for this,
> sort of like it does for kretprobes.)

Indeed, that does seem to be the root cause:

# CONFIG_KPROBES is not set

I'll file a bug against rawhide on the kernel.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]