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]

error in compiling the simplest script for latest git source


Hi,

Found the simple script couldn't be compiled in latest git source.

[root@dhcp-beijing-cdc-10-182-120-226 systemtap]# stap -vve 'probe begin
{log("hello")}'

SystemTap translator/driver (version 0.7/0.127 git branch master, commit
58d21f7e)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stap0Ccmlg"
Searched '/usr/local/share/systemtap/tapset/x86_64/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 41
Pass 1: parsed user script and 43 library script(s) in
360usr/30sys/384real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0
global(s) in 0usr/0sys/8real ms.
Pass 3: translated to C into
"/tmp/stap0Ccmlg/stap_25e525b9ddd3bd8ab6a8d3bb082aa875_246.c" in
30usr/20sys/48real ms.
Running make -C "/lib/modules/2.6.26-rc2/build" M="/tmp/stap0Ccmlg"
modules >/dev/null
In file included from
/usr/local/share/systemtap/runtime/transport/transport.c:22,
                 from /usr/local/share/systemtap/runtime/print.c:17,
                 from /usr/local/share/systemtap/runtime/runtime.h:82,
                 from
/tmp/stap0Ccmlg/stap_25e525b9ddd3bd8ab6a8d3bb082aa875_246.c:41:
/usr/local/share/systemtap/runtime/transport/symbols.c: In function
'_stp_load_module_symbols':
/usr/local/share/systemtap/runtime/transport/symbols.c:407: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:425: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:427: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:456: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:457: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:460: error:
dereferencing pointer to incomplete type
make[1]: ***
[/tmp/stap0Ccmlg/stap_25e525b9ddd3bd8ab6a8d3bb082aa875_246.o] Error 1
make: *** [_module_/tmp/stap0Ccmlg] Error 2
Pass 4: compiled C into "stap_25e525b9ddd3bd8ab6a8d3bb082aa875_246.ko"
in 2140usr/1260sys/3400real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stap0Ccmlg

Regards,
Wenji


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