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: Problem Building Elfutils (patched) Required by systemtap


Nathan DeBardeleben <ndebard@lanl.gov> writes:

> [...] I got the elfutils, 0.119 and patched it with the patch
> provided as well.  Then compiling systemtap it goes into the
> elfutils dir and runs a Make in there - I get the following error.

Strange.

> I'm trying this as root in this example since I was having problems
> doing it as a user (not sure if that's necessary):

It is not.  Building systemtap, and running the "make check" portion
of the test suite should require no privileged access.  Only "make
install" and running scripts such as the dejagnu pass-5 tests will
require privileges.


> > Making all in src
> > make[3]: Entering directory
> > `/root/systemtap-20060304/src/build-elfutils/src'
> > gcc -Wall -Wshadow -std=gnu99  -Werror -Wunused -Wextra -Wformat=2
> > -g
> > -O2  -Wl,--enable-new-dtags,-rpath,/usr/local/lib/systemtap -o
> > addr2line  addr2line.o ../libdw/libdw.so  /usr/bin/ld: warning:
> > libelf.so.1, needed by ../libdw/libdw.so, not found (try using
> > -rpath or -rpath-link)
> > ../libdw/libdw.so: undefined reference to `gelf_getsymshndx@ELFUTILS_1.0'
> > [...]

I wonder if this is some kind of security precaution in the linker,
associated with running the build as root.


- FChE


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