Date: | Tue, 30 Jun 2015 19:01:07 -0400 |
---|---|
From: | Srihari Radhakrishnan <s2radhak@xxxxxxxxxxxx> |
Subject: | [DynInst_API:] issues compiling dyninst |
Hello,
I'm trying to build the dyninst library on my machine, and I'm running into the following issue : Linking CXX shared library libdynDwarf.so /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libdwarf.a(dwarf_alloc.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib/libdwarf.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [dwarf/libdynDwarf.so.8.2.1] Error 1 make[1]: *** [dwarf/CMakeFiles/dynDwarf.dir/all] Error 2 make: *** [all] Error 2 How do I fix this issue? I'm using Dyninst-8.2.1, and am configuring the project using "cmake --with=libdwarf-static", but it's still building the dynamic library. Any help would be greatly appreciated. Regards, Srihari |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [DynInst_API:] [SymtabAPI] Question regarding object files, Bill Williams |
---|---|
Next by Date: | Re: [DynInst_API:] issues compiling dyninst, Bill Williams |
Previous by Thread: | [DynInst_API:] Instrumenting/rewriting position independent binaries, Aleksandar Nikolich |
Next by Thread: | Re: [DynInst_API:] issues compiling dyninst, Bill Williams |
Indexes: | [Date] [Thread] |