Hi Xiaozhu,
Do you mean remove the CMakeCache.txt file and then touch
CMakeLists.txt and do a make to reconfigure cmake?
This is what I get when I do that. The build complains about no
..../examples/unstrip files.
Thanks,
Jim G
[jeg@localhost dyninst-9.3.3]$ touch CMakeLists.txt
[jeg@localhost dyninst-9.3.3]$ make
-- -- Input platform:
-- -- Attempting to automatically identify platform:
x86_64-unknown-linux2.4
-- Found libiberty: /usr/lib64/libiberty.a
-- Using libiberty /usr/lib64/libiberty.a
-- Disabling Boost's own CMake--known buggy in many cases
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--ÂÂ thread
--ÂÂ system
--ÂÂ date_time
-- Boost includes: /usr/include
-- Boost library dirs: /usr/lib64
-- Boost thread library: /usr/lib64/libboost_thread.so
-- Boost libraries:
/usr/lib64/libboost_thread.so;/usr/lib64/libboost_system.so;/usr/lib64/libboost_date_time.so
-- C++11 support found, required flags are: -std=c++11
-- Enabling ThreadDB support
-- Set arch and platform based definitions
-- Found g++, enabling -fvisibility=hidden
-- Options set
-- Set optimization flags
-- cotire 1.7.8 loaded.
-- Building common...
-- Processing dependent target /usr/lib64/libiberty.a...
-- Building dynElf...
-- Processing dependent target /usr/lib64/libelf.so.1...
-- Building dynDwarf...
-- Processing dependent target dynElf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/elf
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target /usr/lib64/libdw.so...
-- Processing dependent target /usr/lib64/libelf.so.1...
-- Building symLite...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target dynElf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/elf
-- Building instructionAPI...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Building symtabAPI...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target dynElf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/elf
-- Processing dependent target /usr/lib64/libelf.so.1...
-- Processing dependent target dynDwarf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/dwarf
-- Processing dependent target /usr/lib64/libdw.so...
-- Building parseAPI...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target instructionAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/instructionAPI
-- Processing dependent target symtabAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/symtabAPI
-- Building pcontrol...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target symtabAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/symtabAPI
-- Building stackwalk...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target instructionAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/instructionAPI
-- Processing dependent target pcontrol...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/proccontrol
-- Processing dependent target dynDwarf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/dwarf
-- Processing dependent target dynElf...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/elf
-- Processing dependent target symtabAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/symtabAPI
-- Processing dependent target parseAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/parseAPI
-- Building patchAPI...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target instructionAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/instructionAPI
-- Processing dependent target parseAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/parseAPI
CMake Error at examples/CMakeLists.txt:12 (file):
 file COPY cannot find
Â
"/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/examples/unstrip/ddb.db".
CMake Error at examples/CMakeLists.txt:13 (file):
 file COPY cannot find
Â
"/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/examples/unstrip/params.db".
CMake Error at examples/CMakeLists.txt:14 (file):
 file COPY cannot find
Â
"/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/examples/unstrip/unistd.db".
-- Building dyninstAPI...
-- Processing dependent target common...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/common
-- Processing dependent target instructionAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/instructionAPI
-- Processing dependent target stackwalk...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/stackwalk
-- Processing dependent target pcontrol...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/proccontrol
-- Processing dependent target patchAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/patchAPI
-- Processing dependent target parseAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/parseAPI
-- Processing dependent target symtabAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/symtabAPI
-- Building dynC_API...
-- Processing dependent target dyninstAPI...
-- Found dependency location
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/dyninstAPI
-- Configuring DyninstAPI_RT
-- Configuring RT library
-- The C compiler identification is GNU 7.2.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- -- Input platform: x86_64-unknown-linux2.4
-- Set arch and platform based definitions
-- Options set
-- Set optimization flags
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/gcc
-- dyninstAPI RT library SOVERSION: 9.3
-- dyninstAPI RT library LIBVERSION: 9.3.2
-- Checking for 32-bit runtime library...
-- Performing Test CHECK_RT_LIB_32
-- Performing Test CHECK_RT_LIB_32 - Failed
-- Disabling 32-bit runtime library; change BUILD_RTLIB_32 to ON and
install 32-bit build environment to enable
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/dyninstAPI_RT
-- Could NOT find LATEX (missing:Â LATEX_COMPILER)
-- LaTeX not found
-- Adding Unix-specific dependencies
-- Added libdwarf_imp and libelf_imp dependencies
-- Configuring incomplete, errors occurred!
See also
"/home/jeg/openspeedshop-externals/BUILD/localhost.localdomain/dyninst-9.3.3/CMakeFiles/CMakeOutput.log".
make: *** [Makefile:798: cmake_check_build_system] Error 1
[jeg@localhost dyninst-9.3.3]$
On 04/13/2018 09:20 AM, Xiaozhu Meng
wrote:
Hi Jim,
I just recompiled the master branch from github. I saw the
same warning, but not the error. Can you try delete your
existing cmake cache file and then re-configure the cmake?
Thanks,
--Xiaozhu
|
|