public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Wenji Huang <wenji.huang@oracle.com>
To: SystemTAP <systemtap@sources.redhat.com>
Subject: Compilation error for latest source on non-utrace kernel
Date: Fri, 18 Dec 2009 10:11:00 -0000	[thread overview]
Message-ID: <4B2B5485.4020708@oracle.com> (raw)

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

             reply	other threads:[~2009-12-18 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18 10:11 Wenji Huang [this message]
2009-12-18 18:17 ` Tim Moore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B2B5485.4020708@oracle.com \
    --to=wenji.huang@oracle.com \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).