Re: [DynInst_API:] lsymLite error?


Date: Mon, 14 Sep 2015 17:12:07 -0500
From: Bill Williams <wrwilliams@xxxxxxxx>
Subject: Re: [DynInst_API:] lsymLite error?
On 09/14/2015 05:09 PM, Robert Lim wrote:
Hello,

I am trying to compile DynInst 9.0.3 and use the ParseAPI utility. When I run the example code on page 3 of the ParseAPI manual, I get the following error: /usr/bin/ld: cannot find -lsymLite

When compiling DynInst, I am using the following command:
cmake -DBOOST_ROOT=/shared/build/rose-BuildFolder/boost_1_53_0 -DCMAKE_INSTALL_PREFIX=/home/users/roblim1/software-dl -DLIBELF_LIBRARIES=/packages/intel/vtune_amplifier_xe_2015.2.0.393444/lib64/pinruntime/libelf.so -DLIBELF_INCLUDE_DIR=/usr/include -DIBERTY_LIBRARIES=/usr/lib/x86_64-linux-gnu/libiberty.a -DPLATFORM=x86_64 .
make && make install

When building the example, I am using the command:
g++ -std=c++0x -o example example.cc -L/home/users/roblim1/software-dl/lib -I/home/users/roblim1/software-dl/include -I/shared/build/rose-BuildFolder/boost_1_53_0 -lparseAPI -linstructionAPI -lsymtabAPI -ldynDwarf -ldynElf -lcommon -L/packages/intel/vtune_amplifier_xe_2015.2.0.393444/lib64/pinruntime -lelf -L/home/users/roblim1/repos/DyninstAPI-9.0.3/libdwarf/lib -ldwarf

I also tried passing -DLIGHTWEIGHT_SYMTAB=ON to cmake, but the DynInst compilation gives errors.

Any suggestions is greatly appreciated.

Fixed in git-head at git.dyninst.org; 9.0.4 is coming soon, with a few more fixes as well.

Thanks,
Robert
_______________________________________________
Dyninst-api mailing list
Dyninst-api@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api

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