安装HMMSim模拟器

以下两处可下载,

http://people.cs.pitt.edu/~sab104/simulator/

https://github.com/mohamadkav/HMMsim-Server

按照要求需要pin,

https://software.intel.com/en-us/articles/pin-a-binary-instrumentation-tool-downloads下载pin最新版本和2.14版本均失败,根据makefile中在下面路径下载pinplay,依旧报错

https://software.intel.com/en-us/protected-download/366522/366520/step2

Error:This kit requires gcc 3.4 or later


本机安装的版本时5.4,与要求的4.8.2不兼容,所以需要安装低版本的GCC

安装多个版本GCC介绍:

https://blog.csdn.net/isfirst/article/details/42296583

http://www.cnblogs.com/alisonzhu/p/4506722.html

安装gcc依赖下载地址:

ftp://gcc.gnu.org/pub/gcc/infrastructure

安装第一个时要求安装m4,下载m4手动安装

之后顺利安装以上几项(博客2)开始make gcc

之后报错,发现是执行export LD_LIBRARY_LIB时路径写错了

再次尝试make,依旧报错

gcc-4.8.2/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6:version 'CXXABI_1.3.8' not found

对于类似问题解决(在【安装完】之后若出现这种问题,此处不适用):

https://blog.csdn.net/ZX714311728/article/details/69628836

经查,有人提出无法在gcc-5.x make gcc-4.x

所以不手动make,apt-get install直接安装gcc和g++

按照https://blog.csdn.net/greenapple_shan/article/details/73823432 安装gcc与g++,修改软链接使版本切换为4.8.5

(另一种安装方式,尝试失败了 https://www.cnblogs.com/clor001/p/6084987.html)

再make clean 重新makeSimulator成功

但发现无法使用,pin在该内核版本下不能使用,所以需要降低内核版本

(后在另一台ubuntu14上安装成功)



附:pin介绍

https://software.intel.com/sites/landingpage/pintool/docs/97438/Pin/html/index.html#INSTALLATION

http://brieflyx.me/2017/binary-analysis/intel-pin-intro/


pinplay介绍:

https://software.intel.com/en-us/articles/program-recordreplay-toolkit

猜你喜欢

转载自blog.csdn.net/yi_1973/article/details/79948778