hereから最新バージョンのPINをインストールしました。そして、作成したファイルをmalloctrace.cppのコピーを使ってgets()の呼び出しをトレースするように修正しました。コンパイル中にエラーが表示される:PINツール不明ABIエラー
In file included from ./include/pin/pin.H:41:0, from
tools/ManualExamples/inputtrace.cpp:32:
./include/pin/compiler_version_check2.H:83:3: error: #error "Unknown
target architecture" # error "Unknown target architecture" ^
./include/pin/compiler_version_check2.H:98:2: error: #error "internal
error pin compiler configuration not available " #error "internal
error pin compiler configuration not available " ^
./include/pin/compiler_version_check2.H:102:2: error: #error The C++
ABI of your compiler does not match the ABI of the pin kit. #error
The C++ ABI of your compiler does not match the ABI of the pin kit.
^ ./include/pin/compiler_version_check2.H:122:2: error: #error Kit has
unknown compiler ABI #error Kit has unknown compiler ABI ^In file
included from ./include/pin/level_base.PLH:66:0,
from ./include/pin/pin.H:43,
from tools/ManualExamples/inputtrace.cpp:32:
./include/pin/foundation.PLH:25:28: fatal error: types_marker.TLH: No
such file or directory #include "types_marker.TLH"
^
compilation terminated.
インストールされているPINのバージョンが最新であることを確認しました。しかし問題は続く。 誰かがこの点で私を助けることができますか?
アップデート:私は、Linuxマシンのx86-64を使用していますが、コンパイラはgccのバージョンからの答えとしてこれを追加する4.8.4
変更を私たちに教えてもらえますか? – fuz
私は問題がコードにあるとは思わない。言及されたライン32は、ライン#include "pin.H"に対応する。 とにかく[ここ](http://pastebin.com/E7pT6mnZ) –
ジャヤクリシュナメノン、あなたの目標は何ですか? ( 'uname -a')あなたのターゲットOS、CPU、コンパイラのバージョンは何ですか?それはx86/x86_64かどうか、gccかどうかですか? – osgx