Date: | Fri, 10 Feb 2017 11:43:39 -0500 |
---|---|
From: | Sazzadur Rahaman <sazzad14@xxxxxx> |
Subject: | [DynInst_API:] Building Examples from parseAPI and dataflowAPI in Ubuntu 16.04 |
Hi All, I am also facing a similar problem as this (https://www-auth.cs.wisc.edu/lists/dyninst-api/2017/msg00055.shtml) while I try to build Examples from parseAPI and dataflowAPI. For example, when I run "make" to build the code from 3.2 Control flow graph traversal, I get the following error message:g++ -g -O2 -std=c++11 -I/usr/local/include -L/usr/local/lib -lparseAPI -lsymtabAPI -lelf -ldynDwarf -ldwarf -lelf -ldynElf -lcommon CFG.cpp -o CFG /tmp/ccf4Fy7w.o: In function `main': /home/krishnokoli/dyninst-tools/binary-parsing/CFG.cpp:27: undefined reference to `Dyninst::ParseAPI::SymtabCodeSource::SymtabCodeSource(char*)' /home/krishnokoli/dyninst-tools/binary-parsing/CFG.cpp:28: undefined reference to `Dyninst::ParseAPI::CodeObject::CodeObject(Dyninst::ParseAPI::CodeSource*, Dyninst::ParseAPI::CFGFactory*, Dyninst::ParseAPI::ParseCallback*, bool)' /home/krishnokoli/dyninst-tools/binary-parsing/CFG.cpp:31: undefined reference to `Dyninst::ParseAPI::CodeObject::parse()' /home/krishnokoli/dyninst-tools/binary-parsing/CFG.cpp:60: undefined reference to `Dyninst::ParseAPI::Function::blocks()' /home/krishnokoli/dyninst-tools/binary-parsing/CFG.cpp:61: undefined reference to `Dyninst::ParseAPI::Function::blocks()' collect2: error: ld returned 1 exit status Makefile:7: recipe for target 'CFG' failed make: *** [CFG] Error 1 Sidenote: Before installing Dyninst, I manually installed Boost library, elf library, iberty library but I left libdwarf to be installed by itself during Dyninst build process. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] Compiling CFGTool using Dyninst Libarary in Ubuntu 16.04, Sazzadur Rahaman |
---|---|
Next by Date: | Re: [DynInst_API:] Building Examples from parseAPI and dataflowAPI in Ubuntu 16.04, Bill Williams |
Previous by Thread: | Re: [DynInst_API:] Bugs in IBSTree.h?, John Mellor-Crummey |
Next by Thread: | Re: [DynInst_API:] Building Examples from parseAPI and dataflowAPI in Ubuntu 16.04, Bill Williams |
Indexes: | [Date] [Thread] |