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: stap


Frank Ch. Eigler wrote:

Hi -



Do you know what I am missing?
./stap -p4 testsuite/buildok/three.stp
semantic error: unresolved function call: identifier 'log' at testsuite/buildok/three.stp:22:3
[...]
Pass 2: analysis failed. Try again with '-v' (verbose) option.



If you run with "-v", you'll see the directories where stap searches for library scripts. There should be a "builtin_log.stp" file installed under $prefix/share/systemtap/tapset, which defines log() and _log(). Maybe you just didn't run "make install" yet, or were running tests from the plain build tree without setting -I or equivalent. See the man page.

- FChE


Thanks Frank! It worked now.
Hien.


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