dyninst/testsuite

Build issue with SymReader->getABIVersion

Closed this issue · 1 comments

When trying to build master I get the following build error:

[  4%] Building CXX object CMakeFiles/testproccontrol.dir/src/proccontrol/proccontrol_comp.C.o
/home/detter/prefix/src/testsuite/src/proccontrol/proccontrol_comp.C: In member function ‘uint64_t ProcControlComponent::adjustFunctionEntryAddress(Dyninst::ProcControlAPI::Process::const_ptr, uint64_t)’:
/home/detter/prefix/src/testsuite/src/proccontrol/proccontrol_comp.C:343:16: error: ‘class Dyninst::SymReader’ has no member named ‘getABIVersion’
       if (rdr->getABIVersion(major, minor)) {
                ^
CMakeFiles/testproccontrol.dir/build.make:62: recipe for target 'CMakeFiles/testproccontrol.dir/src/proccontrol/proccontrol_comp.C.o' failed
make[2]: *** [CMakeFiles/testproccontrol.dir/src/proccontrol/proccontrol_comp.C.o] Error 1
CMakeFiles/Makefile2:6211: recipe for target 'CMakeFiles/testproccontrol.dir/all' failed
make[1]: *** [CMakeFiles/testproccontrol.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I have dyninst installed at /usr/local and the cmake file is configured with the dyninst cmake information directory.

@wrwilliams Is this a testsuite issue or an issue with my dyninst install?

For whatever reason I was building against old header files. Fixed with setting CFLAGS_INCLUDE_PATH=/usr/include.