make fails
On a fresh Ubuntu 12.04 VM, with the following versions:
GNU Make 3.81
Python 2.7.3
libprotoc 2.4.1 installed at /usr/local/bin/protoc
Pin 3.17, revision 98314 installed at /home/matthew/Downloads/pin-3.17-98314-g0c048d619-gcc-linux
gcc 4.6.3
I set PROTOBUF_HOME to /usr/local
and PIN_HOME to /home/matthew/Downloads/pin-3.17-98314-g0c048d619-gcc-linux
Then, when I run make inside the maple folder, I get the error
src/core/wrapper.hpp:150:25: error: operator '>=' has no left operand
Ok, no worries, I delete the ifdef since my pin version is higher, then re-run make and get
In file included from /usr/include/c++/4.6/bits/stl_algobase.h:62:0,
from /usr/include/c++/4.6/tr1/unordered_map:35,
from src/core/static_info.h:26,
from src/core/execution_control.hpp:30,
from src/tracer/profiler.hpp:23,
from src/tracer/profiler.cpp:20:
/usr/include/c++/4.6/bits/cpp_type_traits.h:83:10: error: redefinition of ‘struct std::__true_type’
Since this project was last updated a few years ago, could this be caused by different versions of gcc? Or me using a later version of pin than is supported? (I see that support for Pin-2.14 was added in 2014, but this version of Pin is no longer available).
If anyone has a working version of maple, would they be able to share their system configuration so that I can get it working on a VM?
Thanks
在新的Ubuntu 12.04 VM上,具有以下版本:
GNU Make 3.81 Python 2.7.3 libprotoc 2.4.1安装在
/usr/local/bin/protocPin 3.17上,修订版98314安装在/home/matthew/Downloads/pin-3.17-98314-g0c048d619-gcc-linuxgcc 4.6.3上我定
PROTOBUF_HOME要/usr/local和PIN_HOME到/home/matthew/Downloads/pin-3.17-98314-g0c048d619-gcc-linux然后,当我
make在maple文件夹中运行时,出现错误
src/core/wrapper.hpp:150:25: error: operator '>=' has no left operand好的,不用担心,由于我的管脚版本较高,因此删除了ifdef,然后重新运行make and get
In file included from /usr/include/c++/4.6/bits/stl_algobase.h:62:0, from /usr/include/c++/4.6/tr1/unordered_map:35, from src/core/static_info.h:26, from src/core/execution_control.hpp:30, from src/tracer/profiler.hpp:23, from src/tracer/profiler.cpp:20: /usr/include/c++/4.6/bits/cpp_type_traits.h:83:10: error: redefinition of ‘struct std::__true_type’由于该项目的更新时间是几年前,这可能是由不同版本的gcc引起的吗?还是我使用的引脚版本比支持的版本高?(我看到在2014年增加了对Pin-2.14的支持,但是此版本的Pin不再可用)。
如果任何人都拥有可运行的Maple版本,他们是否可以共享其系统配置,以便我可以在VM上运行它?
谢谢
Have you solved your problem? I have also encountered this problem. I am looking forward to your reply