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: error in compiling the simplest script for latest git source


> On Thu, May 15, 2008 at 05:41:29PM +0800, Wenji Huang wrote:
> > 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)
> 
> Are you sure your tree is correct 'cos I get...

Sorry, a little problem in cut+copy. Now re-paste:

It's in my x86 box(2.6.26-rc2).

[root@dhcp-beijing-cdc-10-182-120-233 learn]# stap -vve 'probe begin {log("hello")}'
SystemTap translator/driver (version 0.7/0.131 git branch master, commit c3799d72)
Copyright (C) 2005-2008 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stapHRx52D"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 40
Pass 1: parsed user script and 42 library script(s) in 380usr/20sys/400real 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/stapHRx52D/stap_6e883adb0017f089cbfc98cb0ed02c88_228.c" in 40usr/1                  0sys/44real ms.
Running make -C "/lib/modules/2.6.26-rc2/build" M="/tmp/stapHRx52D" 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/stapHRx52D/stap_6e883adb0017f089cbfc98cb0ed02c88_228.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 incomplet                  e type
/usr/local/share/systemtap/runtime/transport/symbols.c:425: error: dereferencing pointer to incomplet                  e type
/usr/local/share/systemtap/runtime/transport/symbols.c:427: error: dereferencing pointer to incomplet                  e type
/usr/local/share/systemtap/runtime/transport/symbols.c:456: error: dereferencing pointer to incomplet                  e type
/usr/local/share/systemtap/runtime/transport/symbols.c:457: error: dereferencing pointer to incomplet                  e type
/usr/local/share/systemtap/runtime/transport/symbols.c:460: error: dereferencing pointer to incomplet                  e type
make[1]: *** [/tmp/stapHRx52D/stap_6e883adb0017f089cbfc98cb0ed02c88_228.o] Error 1
make: *** [_module_/tmp/stapHRx52D] Error 2
Pass 4: compiled C into "stap_6e883adb0017f089cbfc98cb0ed02c88_228.ko" in 1620usr/1060sys/2688real ms                  .
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapHRx52D

Best regards
Wenji


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