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]

Compilation failed on pfiles tool


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:

~/programming/systemtap sudo ./pfiles `pgrep pidgin`
SystemTap translator/driver (version 0.9.8/0.141 non-git sources)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: i686 release: 2.6.31-20-generic
Created temporary directory "/tmp/stapGCWfNy"
Searched '/usr/share/systemtap/tapset/
i686/*.stp', found 3
Searched '/usr/share/systemtap/tapset/*.stp', found 51
Pass 1: parsed user script and 54 library script(s) in 500usr/10sys/524real ms.
Pass 2: analyzed script: 1 probe(s), 192 function(s), 17 embed(s), 0
global(s) in 290usr/320sys/596real ms.
Pass 3: translated to C into "/tmp/stapGCWfNy/stap_9037.c" in
30usr/0sys/32real ms.
Running make -C "/lib/modules/2.6.31-20-generic/build"
M="/tmp/stapGCWfNy" modules >/dev/null
/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â
make[1]: *** [/tmp/stapGCWfNy/stap_9037.o] error 1
make: *** [_module_/tmp/stapGCWfNy] error 2
Error 2 No such file or directory
Pass 4: compiled C into "stap_9037.ko" in 4810usr/820sys/5778real ms.
Pass 4: compilation failed. Try again with another '--vp 0001' option.
Keeping temporary directory "/tmp/stapGCWfNy"


So, can what's the problem?


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