public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "Warner, Christopher" <Christopher.Warner@primedia.com>
To: Nathan DeBardeleben <ndebard@lanl.gov>, systemtap@sources.redhat.com
Cc: cwarner@kernelcode.com
Subject: RE: Problem Building Elfutils (patched) Required by systemtap
Date: Thu, 09 Mar 2006 22:25:00 -0000	[thread overview]
Message-ID: <94A393EC367F454F801588447B88C7C60B95AD5E@cmmnycex1.corp.primedia.com> (raw)

It looks like you might need to run an ldconfig or work on the way you
installed elfutils.

-Christopher Warner

-----Original Message-----
From: Nathan DeBardeleben [mailto:ndebard@lanl.gov] 
Sent: Thursday, March 09, 2006 5:20 PM
To: systemtap@sources.redhat.com
Subject: Problem Building Elfutils (patched) Required by systemtap

I'm sure this is a newbie question but I figured I'd toss it out there 
anyway.  I'm trying to build the latest systemtap snapshot I see on the 
FTP server - 20060304.  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.  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):

. . .
> 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'
> ../libdw/libdw.so: undefined reference to `elf32_xlatetof@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_errno@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_kind@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_update_shdr@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_errmsg@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_xlatetom@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_getshdr@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_end@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf32_xlatetom@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_nextscn@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_getrel@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_getehdr@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_rawdata@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_getshstrndx@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_strptr@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_getphdr@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_version@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_begin@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_ndxscn@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_xlatetof@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `gelf_getrela@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_memory@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_getdata@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_cntl@ELFUTILS_1.0'
> ../libdw/libdw.so: undefined reference to `elf_getscn@ELFUTILS_1.0'
> collect2: ld returned 1 exit status
> make[3]: *** [addr2line] Error 1
> make[3]: Leaving directory 
> `/root/systemtap-20060304/src/build-elfutils/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/systemtap-20060304/src/build-elfutils'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/systemtap-20060304/src/build-elfutils'
> make: *** [stamp-elfutils] Error 2
I had previous configured systemtap with:
./configure --with-elfutils=/root/elfutils-0.119

Any help would be appreciated.  Sorry for the newbie question but 
perhaps it reveals a problem in the configure or potentially a place to 
add something in the docs?  Or maybe I just missed something in the docs. :)

Thanks!

-- 
-- Nathan
Correspondence
---------------------------------------------------------------------
Nathan DeBardeleben, Ph.D.
Los Alamos National Laboratory
Parallel Tools Team
High Performance Computing Environments
phone: 505-667-3428
email: ndebard@lanl.gov
---------------------------------------------------------------------

             reply	other threads:[~2006-03-09 22:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 22:25 Warner, Christopher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-03-09 22:20 Nathan DeBardeleben
2006-03-09 22:59 ` Frank Ch. Eigler
2006-03-09 23:03   ` Nathan DeBardeleben
2006-03-09 23:03 ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94A393EC367F454F801588447B88C7C60B95AD5E@cmmnycex1.corp.primedia.com \
    --to=christopher.warner@primedia.com \
    --cc=cwarner@kernelcode.com \
    --cc=ndebard@lanl.gov \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).