This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Compilation failed on pfiles tool
- From: David Smith <dsmith at redhat dot com>
- To: LiuChenhong <diabloneo at gmail dot com>
- Cc: Eugene Teo <eteo at redhat dot com>, "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Fri, 26 Mar 2010 09:02:15 -0500
- Subject: Re: Compilation failed on pfiles tool
- References: <861674c01003252335u6c836235x829374454c73693d@mail.gmail.com> <861674c01003252337j5a060507u7a8f9a2f5a35f4f@mail.gmail.com>
(once again, this time to the list as well)
On 03/26/2010 01:37 AM, LiuChenhong wrote:
> Hi, everyone,
> I downloaded pfiles tool from
> http://sources.redhat.com/systemtap/wiki/WSPfiles , but I can't run
> the script, it came up with compilation failed.
> I revised the line "stap -x $pid -g -u -e" to "stap -x $pid -gkvv -u
> -e" and messages are as follows:
...
> /tmp/stapGCWfNy/stap_9037.c: In function âfunction_socket_ipv6_peernameâ:
> /tmp/stapGCWfNy/stap_9037.c:15382: error: expected â)â before âNIP6_FMTâ
> /tmp/stapGCWfNy/stap_9037.c: In function âfunction_socket_ipv6_socknameâ:
> /tmp/stapGCWfNy/stap_9037.c:15424: error: expected â)â before âNIP6_FMTâ
Looks like this kernel commit removed the NIP6_FMT/NIP6 macros:
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b189db5d299c6824780af5590564ff608adb3dea>
Eugene, got any thoughts on the best way to fix this?
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)