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]

test errors


hi:
I have installed systemtap on ubuntu , then I run example script to
test it ,it report errors as below :

Pass 1: parsed user script and 76 library script(s) using
22900virt/13628res/2296shr kb, in 110usr/40sys/457real ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0
global(s) using 23164virt/14360res/2576shr kb, in 0usr/10sys/24real
ms.
Pass 3: translated to C into
"/tmp/stapM9t340/stap_f1bd95e175cd674df020573f666998a1_739.c" using
23164virt/14444res/2652shr kb, in 0usr/0sys/0real ms.
In file included from /usr/share/systemtap/runtime/transport/transport.c:53:0,
                 from /usr/share/systemtap/runtime/print.c:18,
                 from /usr/share/systemtap/runtime/runtime.h:128,
                 from
/tmp/stapM9t340/stap_f1bd95e175cd674df020573f666998a1_739.c:59:
/usr/share/systemtap/runtime/transport/relay_v2.c:241:2: error:
initialization from incompatible pointer type [-Werror]
/usr/share/systemtap/runtime/transport/relay_v2.c:241:2: error: (near
initialization for ‘__stp_relay_callbacks.create_buf_file’) [-Werror]
In file included from /usr/share/systemtap/runtime/print.c:18:0,
                 from /usr/share/systemtap/runtime/runtime.h:128,
                 from
/tmp/stapM9t340/stap_f1bd95e175cd674df020573f666998a1_739.c:59:
/usr/share/systemtap/runtime/transport/transport.c: In function
‘_stp_get_root_dir’:
/usr/share/systemtap/runtime/transport/transport.c:386:8: error:
‘struct hlist_head’ has no member named ‘next’
In file included from
/tmp/stapM9t340/stap_f1bd95e175cd674df020573f666998a1_739.c:61:0:
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_get’:
/usr/share/systemtap/runtime/stat.c:213:2: error: ‘cpu_possible_map’
undeclared (first use in this function)
/usr/share/systemtap/runtime/stat.c:213:2: note: each undeclared
identifier is reported only once for each function it appears in
/usr/share/systemtap/runtime/stat.c: In function ‘_stp_stat_clear’:
/usr/share/systemtap/runtime/stat.c:248:2: error: ‘cpu_possible_map’
undeclared (first use in this function)
cc1: all warnings being treated as errors
make[1]: *** [/tmp/stapM9t340/stap_f1bd95e175cd674df020573f666998a1_739.o]
Error 1

How do I fix this problem ?
-- 
Best Regards!


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