Re: [DynInst_API:] Build Example Error


Date: Fri, 25 Sep 2015 16:27:40 -0700
From: Robert Lim <roblim1@xxxxxxxxxxxxxx>
Subject: Re: [DynInst_API:] Build Example Error
Hello,

I am trying to build instrumentFunc.C inside http://git.dyninst.org/?p=docs.git;a=summary /dyninstAPI/examples (tried both git-head and DyninstAPI-8.2.1), but get the following errors:

-bash-4.1$ ./instrumentFunc InterestingProgram
Elf error: Request error: invalid ELF_C_* argument
--FATAL-- #68: Dyninst was unable to create the specified process
--FATAL-- #68: create process failed bootstrap
processCreate failed
startInstrumenting failed

I have a local version of libelf-0.8.13 installed. This is how I compiled Dyninst-8.2.1:

cmake -DPATH_BOOST=/usr/local/packages/boost/1.55.0 -DCMAKE_C_COMPILER=/usr/local/packages/gcc/4.8.3/bin/gcc -DCMAKE_INSTALL_PREFIX=$PWD -DLIBELF_LIBRARIES=/home/users/roblim1/software-dl/lib/libelf.so -DLIBELF_INCLUDE_DIR=/home/users/roblim1/software-dl/include -DIBERTY_LIBRARIES=/home/users/roblim1/repos/tau2/x86_64/binutils-2.23.2/lib64/libiberty.a -DPLATFORM=x86_64 .


Any ideas?

Thanks,
Robert

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