安装TPMemulator
参考博客:http://blog.csdn.net/clarkchenhot/article/details/50771069
1、sudo apt-get install clang-3.8
2、 sudo apt-get install m4
3.安装GTK
参考:http://www.linuxidc.com/Linux/2008-09/15955.htm
#apt-get install build-essential#这将安装gcc/g++/gdb/make等基本编程工具
#apt-get install gnome-core-devel#这将安装 libgtk2.0-dev libglib2.0-dev等开发相关的库文件
#apt-get install glade libglade2-dev#这将安装基于GTK的界面GTK是开发Gnome窗口的c/c++语言图形库
#apt-get install libgtk2.0* #gtk+2.0所需的所有文件统通下载安装完毕
安装GNU成功后的信息提示:
configure: summary of build options:
Version: GNU MP 6.1.2
Host type: sandybridge-pc-linux-gnu
ABI: 64
Install prefix: /usr/local
Compiler: /usr/bin/clang-3.8
Static libraries: yes
Shared libraries: yes
shm@shm-Junyi-M580:~/下载/gmp-6.1.2$
下载地址:
https://sourceforge.net/projects/tpm-emulator.berlios/?source=typ_redirect
https://sourceforge.net/projects/tpm-emulator.berlios/files/latest/download?source=typ_redirect
make时出错:解决办法——在root权限下执行命令 就可以啦
整个安装教程见:
http://www.xuebuyuan.com/894225.html
10月20日:
#modprobe tpmd_infineon
#tpmd -f -d
TPM模拟器启动成功:
tpm-emulator完全构建成功: