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 failed on pfiles tool


(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)


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