This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Compilation error for latest source on non-utrace kernel
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 18 Dec 2009 18:08:05 +0800
- Subject: Compilation error for latest source on non-utrace kernel
- Reply-to: wenji dot huang at oracle dot com
Hi,
I got the compilation error for latest stap on non-utrace kernel.
See,
$stap -e 'probe begin{}'
WARNING: side-effect-free probe 'probe_1891': keyword at <input>:1:1
source: probe begin{}
^
In file included from /usr/local/share/systemtap/runtime/runtime.h:38,
from
/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.c:51:
/usr/local/share/systemtap/runtime/uprobes/uprobes.h:3:26: error:
linux/utrace.h: No such file or directory
make[1]: ***
[/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.o] Error 1
make: *** [_module_/tmp/stapGtUpNK] Error 2
Pass 4: compilation failed. Try again with another '--vp 0001' option.
It's introduced by commit,
commit 5e562a69a5432566c6ae78344ae51b80ced7f15b
Author: Tim Moore <timoore@redhat.com>
Date: Wed Dec 16 12:00:55 2009 +0100
set the IP in return probes to the returned-to instruction
"uprobes/uprobes.h" will unconditionally be added to runtime.h on
non-utrace kernel.
Regards,
Wenji