ppc64 compile failures and make check failure

Frank Ch. Eigler fche@redhat.com
Fri May 12 18:00:00 GMT 2006


pnasrat wrote:

> [...]
> probe module("iscsi*").function("*fileio*") {
>     printf("%s\n", print_backtrace())

But:
      print_backtrace() # alone is enough - thus the name

> [...]
>   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.)

- FChE



More information about the Systemtap mailing list