zhaoqin / Umbra

Shadow Memory Framework
http://people.csail.mit.edu/qin_zhao/umbra/
MIT License
6 stars 2 forks source link

[ configure Error]cannot generate configuration. #1

Open renzhengeek opened 10 years ago

renzhengeek commented 10 years ago

Hi qin, When I build Umbra,it cannot generate configuration.

According QuikStart, I tried the newest DynamoRIO4.2.0 and old version like 2.0.0-6, 1.5.0-1,it always says:

CMake Warning at CMakeLists.txt:136 (find_package):
   Could not find a configuration file for package "DynamoRIO" that is
   compatible with requested version "3.0".

   The following configuration files were considered but not accepted:

     /opt/DynamoRIO-Linux-1.5.0-1/cmake/DynamoRIOConfig.cmake, version: 1.5.0
 CMake Error at CMakeLists.txt:138 (message):
   DynamoRIO package required to build

hope for your help ;)

renzhengeek commented 10 years ago

Hi Qin, when trying using DynamoRIO-Linux-3.1.0-4, it says:

 CMake Error at /opt/DynamoRIO-Linux-3.1.0-4/cmake/DynamoRIOConfig.cmake:511 (file):
   file Internal CMake error when trying to open file:
   /home/renzhen/Umbra/build/ldscript for writing.
 Call Stack (most recent call first):
   CMakeLists.txt:206 (configure_DynamoRIO_client)

could you help me to fix it? Thanks! All best for you ;)

renzhengeek commented 10 years ago

By using sudo ccmake ../ and sudo make, now It works. ;) But when runing the count client, error occurs:

$ ${DR_HOME}/bin64/drrun -ops "-thread_private -max_bb_instrs 512 -no_finite_bb_cache -no_finite_trace_cache" -client bin/libcount.so 0 "" ls
<Application ls (6862) 
** Received SIGSEGV at unknown DynamoRIO pc 0x0 in thread 6862>