Re: [DynInst_API:] compilation error


Date: Tue, 26 Mar 2013 13:31:21 +0000
From: Cor-paul Bezemer - EWI <C.Bezemer@xxxxxxxxxx>
Subject: Re: [DynInst_API:] compilation error
Of course, see attached file. I could only find libdynElf in the x86_64 directory.

Cor-Paul
________________________________________
From: Andrew Bernat [bernat@xxxxxxxxxxx]
Sent: Tuesday, March 26, 2013 2:25 PM
To: Cor-paul Bezemer - EWI
Cc: dyninst-api@xxxxxxxxxxx
Subject: Re: [DynInst_API:] compilation error

Of course it is.

Can you run nm on libdynElf (found in <source directory>/elf/x86_64-unknown-linux2.4 or <source_directory>/elf/i386-unknown-linux2.4) and libelf and send me the output?

Thanks,
Drew

On Mar 26, 2013, at 7:43 AM, Cor-paul Bezemer - EWI <C.Bezemer@xxxxxxxxxx<mailto:C.Bezemer@xxxxxxxxxx>> wrote:

Hi, I have checked with apt-get and it says libelf-dev is already the newest version.

Cor-Paul

________________________________
From: Andrew Bernat [bernat@xxxxxxxxxxx<mailto:bernat@xxxxxxxxxxx>]
Sent: Tuesday, March 26, 2013 1:40 PM
To: Cor-paul Bezemer - EWI
Cc: dyninst-api@xxxxxxxxxxx<mailto:dyninst-api@xxxxxxxxxxx>
Subject: Re: [DynInst_API:] compilation error

Hi,

That error normally indicates that you have an obsolete version of a library on your system (I've copied the error below). Since you just compiled Dyninst from source, I would look at one of the libraries it depends on. In this case, it's probably libelf. Can you make sure that libelf is updated (I don't recall the package name offhand)?

Drew

/home/corpaul/dyninst/lib/libdynElf.so: undefined reference to `memcpy@xxxxxxxxxx'
collect2: error: ld returned 1 exit status



On Mar 26, 2013, at 4:35 AM, Cor-paul Bezemer - EWI <C.Bezemer@xxxxxxxxxx<mailto:C.Bezemer@xxxxxxxxxx>> wrote:

Hi,

I am trying to compile  dyninst from source as the 8.1.1 Debian package is empty, but I get a compilation error ( see attached log file ).
Can you point me in the direction of fixing this?

Thanks!

Cor-Paul<makelog.log>_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx<mailto:Dyninst-api@xxxxxxxxxxx>
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

--
Andrew Bernat
Paradyn Project
bernat@xxxxxxxxxxx<mailto:bernat@xxxxxxxxxxx>
http://www.cs.wisc.edu/~bernat

--
Andrew Bernat
Paradyn Project
bernat@xxxxxxxxxxx<mailto:bernat@xxxxxxxxxxx>
http://www.cs.wisc.edu/~bernat




Attachment: nm_libdynElf
Description: nm_libdynElf

[← Prev in Thread] Current Thread [Next in Thread→]