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: Compilation error for latest source on non-utrace kernel


On 12/18/2009 11:08 AM, Wenji Huang wrote:
> Hi,
> 
> I got the compilation error for latest stap on non-utrace kernel.
> See,
> 
I've pushed a fix for this, commit 471fca5e53a239f7. If it still doesn't work,
let me know and/or file a bug.

Thanks,
Tim

> $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


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