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] |
Yep. Tried it first. As much as I love Debian package system + repos, this package is badly outdated and broken. At least on 64-bit Etch/Xeon combo which I use. Not a single example from tutorial could be compiled by packaged stap (0.0.20061028-2), not even "hello world"!Hello everyone,Hmm, isn't systemtap package available in Etch?
I'm a new user of systemtap on Debian Etch 4.0r1 and have terrible problems building it from source available from CVS (binary package available by default on Etch can't even compile "hello world" example from tutorial without throwing compilation errors).
I have them all.I get this after ./compile:You should install libelf-dev, libdw-dev and libebl-dev.
configure: error: missing elfutils development headers/libraries (dw 0.123+)
In config.log I get:Hmm, minus-zero-two? Should be minus-O-two.
configure:6324: gcc -o conftest -march=nocona -02 -pipe -fomit-frame-pointer conftest.c -ldw >&5
gcc: unrecognized option '-02'
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdw.a(dwfl_module_getsym.o): In function `dwfl_module_getsym':
(.text+0x55): undefined reference to `gelf_getsymshndx'
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdw.a(dwfl_module_getsym.o): In function `dwfl_module_getsym':
(.text+0xf9): undefined reference to `elf_getshstrndx'
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdw.a(dwfl_error.o): In function `__libdwfl_seterrno':
(.text+0x1a1): undefined reference to `elf_errno'
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../lib64/libdw.a(dwfl_error.o): In function `__libdwfl_canon_error':
(.text+0x228): undefined reference to `elf_errno'
This is because there are only static elfutils libraries available in Debian. You can look at patch 06-static-libdw-fix in systemtap source package for the fix (it adds -Wl,--start-group and -Wl,--end-group flags to the linker command line).
There is also some information on
http://sourceware.org/systemtap/wiki/SystemtapOnDebian that may be
useful.
-- Marcin Krol
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |