This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: ppc64 compile failures and make check failure
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Paul Nasrat <pnasrat at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: 12 May 2006 13:59:55 -0400
- Subject: Re: ppc64 compile failures and make check failure
- References: <1147379296.29848.21.camel@enki.eridu>
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