各位高手,抱歉了,我是個毫無背景的新手
被老師叫來負責linux....
對這完全不了解,也不知道標題下得怎樣,請多見諒
我上網抓了個軟體
照其步驟安裝並解壓縮後
他是這樣寫的
Build and test the examples from the manual.
$ cd source/tools/ManualExamples/
$ make test
/usr/bin/g++
-c -Wall -Werror -Wno-unknown-pragmas -g -O3 -fomit-frame-pointer
-DBIGARRAY_MULTIPLIER=1 -DUSING_XED -g -fno-strict-aliasing -I../Include
-I../InstLib -I../../../extras/xed2-intel64/include
-I../../../source/include
-I../../../source/include/gen -DTARGET_IA32E -DHOST_IA32E -fPIC-DTARGET_LINUX
-o obj-intel64/inscount0.o inscount0.cpp
/usr/bin/g++ -g -shared -Wl,-Bsymbolic-Wl,--version-script=../../../source/include/pintool.ver
-L../Lib/ -L../ExtLib/ -L../../../extras/xed2-intel64/lib
-L../../../intel64/lib
-L../../../intel64/lib-ext -o obj-intel64/inscount0.so obj-intel64/inscount0.o
-L../Lib/ -L../ExtLib/ -L../../../extras/xed2-intel64/lib
-L../../../intel64/lib
-L../../../intel64/lib-ext -lpin -lxed -ldwarf -lelf -ldl -gtouch
inscount0.tested
touch inscount0.failed
touch obj-intel64/inscount0.so.makefile.copy; rm
obj-intel64/inscount0.so.makefile.copy
../../../pin -slow_asserts -t obj-intel64/inscount0.so -- /bin/cp makefile
obj-intel64/inscount0.so.makefile.copy
cmp makefile obj-intel64/inscount0.so.makefile.copy
rm obj-intel64/inscount0.so.makefile.copy; rm inscount0.failed
<etc.>
但我安裝後出現
[root@ivy ManualExamples]# make test
g++ -c -Wall -Werror -Wno-unknown-pragmas -O3 -fomit-frame-pointer
-DBIGARRAY_M
ULTIPLIER=1 -DUSING_XED -fno-strict-aliasing
-I../IncludeI../InstLib-I../../
../extras/xed2-intel64/include
-I../../../source/include -I../../../source/inclu
de/gen -DTARGET_IA32E
-DHOST_IA32E -fPIC -DTARGET_LINUX -O3 -fomit-frame-pointer
-o
obj-intel64/inscount0.o inscount0.cpp
In file included from ../../../source/include/pin.H:41,
from inscount0.cpp:33:
../../../source/include/compiler_version_check2.H:68:33: error:
cc_used_ia32e_l. CVH: No such file or directory
../../../source/include/compiler_version_check2.H:99:2: error: #error
"internal
error pin compiler configuration not available "
../../../source/include/compiler_version_check2.H:103:2: error: #error The
C++ ABI of your compiler does not match the ABI of the pin kit.
../../../source/include/compiler_version_check2.H:123:2: error: #error Kit
has unknown compiler ABI
In file included from ../../../source/include/pin.H:43,
from inscount0.cpp:33:
../../../source/include/level_base.PLH:23:29: error: xed-iclass-enum.h: No
such
file or directory
../../../source/include/level_base.PLH:24:31: error: xed-category-enum.h: No
suc
h file or directory
In file included from ../../../source/include/pin.H:44,
from inscount0.cpp:33:
../../../source/include/level_core.PLH:18:23: error: xed-types.h: No such
file o
r directory
../../../source/include/level_base.PLH:56: error: â€strict-aliasing
-I../IncludeI
這我沒排版...因為不知道從哪裡斷,有人是告訴我說cc_used_ia32e_l. CVH找不到
但我find後他說沒這檔案
googole也沒這東西
請問我現在該怎麼去處理這問題呢
謝謝 麻煩了
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.164.63
→
06/08 10:31, , 1F
06/08 10:31, 1F
→
06/08 13:37, , 2F
06/08 13:37, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):