public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Mehul Choube <Mehul_Choube@symantec.com>
Cc: "systemtap@sourceware.org" <systemtap@sourceware.org>
Subject: Re: script compilation fails at 'Pass 4'
Date: Mon, 10 Dec 2012 17:47:00 -0000	[thread overview]
Message-ID: <y0md2yh94uh.fsf@fche.csb> (raw)
In-Reply-To: <E884EC9CD547324B8976A5D37317AC566D193FC1CE@APJ1XCHEVSPIN30.SYMC.SYMANTEC.COM> (Mehul Choube's message of "Mon, 10 Dec 2012 07:50:04 -0800")

Mehul Choube <Mehul_Choube@symantec.com> writes:

> [...]
> Now it fails with:
> error: 'STAP_ARG_sock' undeclared (first use in this function)

OK, so you must be running a systemtap version older than 1.8.  In
that case, you would need to use THIS->sock instead of STAP_ARG_sock
and THIS->__retvalue for STAP_RETVALUE etc. in the embedded-C blocks.

You might also need to copy the NIPQUAD* related embedded-C block from
<http://sourceware.org/systemtap/examples/process/pfiles.stp>.

- FChE

      reply	other threads:[~2012-12-10 17:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06  9:38 Mehul Choube
2012-12-06 14:43 ` David Smith
2012-12-06 16:01   ` Mehul Choube
2012-12-06 23:11 ` Frank Ch. Eigler
2012-12-10 15:50   ` Mehul Choube
2012-12-10 17:47     ` Frank Ch. Eigler [this message]

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=y0md2yh94uh.fsf@fche.csb \
    --to=fche@redhat.com \
    --cc=Mehul_Choube@symantec.com \
    --cc=systemtap@sourceware.org \
    /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).