質問編集履歴
8
./configure の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -99,8 +99,31 @@
|
|
99
99
|
|
100
100
|
===追記===
|
101
101
|
git インストール後、 ./configureを行ってもエラーが出てしまいます。
|
102
|
-
|
102
|
+
./configureは成功します。
|
103
103
|
```
|
104
|
+
cleaning temporally files... done
|
105
|
+
|
106
|
+
Final report:
|
107
|
+
- PREFIX = /usr/local
|
108
|
+
- HAVE_LIB_GMP = 0
|
109
|
+
- HAVE_OPENSSL = 0
|
110
|
+
- USE_CAPSTONE = 0
|
111
|
+
- HAVE_FORK = 1
|
112
|
+
- VERSION = 1.5.0
|
113
|
+
- USE_LIB_ZIP = 0
|
114
|
+
- USE_LIB_MAGIC = 0
|
115
|
+
- DEBUGGER = 1
|
116
|
+
- CC = gcc
|
117
|
+
- USERCC = gcc
|
118
|
+
- USEROSTYPE = gnulinux
|
119
|
+
- LIBVERSION = 1.5.0
|
120
|
+
- BUILD = i686-unknown-linux-gnu
|
121
|
+
- HOST = i686-unknown-linux-gnu
|
122
|
+
- TARGET = i686-unknown-linux-gnu
|
123
|
+
```
|
124
|
+
|
125
|
+
makeのエラー内容は以下です。
|
126
|
+
```
|
104
127
|
gcc -c -MD -fPIC -g -Wall -D__UNIX__=1 -DCORELIB -Iarch -I/home/guru/work/radare2-1.5.0/libr/..//shlr -I/home/guru/work/radare2-1.5.0/libr/..//libr/asm/arch/include -I/home/guru/work/radare2-1.5.0/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -Iarch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/rsp -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -I/home/guru/work/radare2-1.5.0/libr -I/home/guru/work/radare2-1.5.0/libr/include -o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c
|
105
128
|
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:464:30: error: unknown type name ‘arm64_vess’
|
106
129
|
static const char *vess_name(arm64_vess vess) {
|
7
./configure 後のエラーを追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -96,39 +96,11 @@
|
|
96
96
|
34 endif
|
97
97
|
```
|
98
98
|
|
99
|
-
git インストール後のmakeのlogを追記します。
|
100
|
-
```
|
101
|
-
適用不能な暗黙の必要条件 '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.w' を却下します.
|
102
|
-
'/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' のための暗黙ルールがありません.
|
103
|
-
ターゲットファイル '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' の必要条件を満たしました.
|
104
|
-
ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' を再make する必要はありません.
|
105
|
-
ターゲットファイル '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' の必要条件を満たしました.
|
106
|
-
ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' を再make する必要があります.
|
107
|
-
gcc -c -MD -fPIC -g -Wall -D__UNIX__=1 -DCORELIB -Iarch -I/home/guru/work/radare2-1.5.0/libr/..//shlr -I/home/guru/work/radare2-1.5.0/libr/..//libr/asm/arch/include -I/home/guru/work/radare2-1.5.0/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -Iarch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/rsp -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -I/home/guru/work/radare2-1.5.0/libr -I/home/guru/work/radare2-1.5.0/libr/include -o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c
|
108
|
-
チェインに子プロセス 0x90da1d0 (/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o) PID 20948 を取り込みました.
|
109
|
-
生存子プロセス 0x90da1d0 (/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o) PID 20948
|
110
|
-
失敗した子プロセス 0x90da1d0 PID 20948 を回収します
|
111
|
-
/home/guru/work/radare2-1.5.0/libr/../global.mk:43: ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' のレシピで失敗しました
|
112
|
-
チェインから子プロセス 0x90da1d0 PID 20948 を削除します.
|
113
|
-
make[3]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr/anal' から出ます
|
114
|
-
失敗した子プロセス 0x92bf188 PID 20915 を回収します
|
115
|
-
Makefile:91: ターゲット 'anal' のレシピで失敗しました
|
116
|
-
チェインから子プロセス 0x92bf188 PID 20915 を削除します.
|
117
|
-
make[2]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
118
|
-
失敗した子プロセス 0x835f020 PID 20833 を回収します
|
119
|
-
Makefile:28: ターゲット 'all' のレシピで失敗しました
|
120
|
-
チェインから子プロセス 0x835f020 PID 20833 を削除します.
|
121
|
-
make[1]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
122
|
-
失敗した子プロセス 0x8688f40 PID 20478 を回収します
|
123
|
-
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
124
|
-
チェインから子プロセス 0x8688f40 PID 20478 を削除します.
|
125
|
-
```
|
126
99
|
|
100
|
+
===追記===
|
127
|
-
gitインストール後
|
101
|
+
git インストール後、 ./configureを行ってもエラーが出てしまいます。
|
102
|
+
エラー内容は以下です。
|
128
103
|
```
|
129
|
-
$make
|
130
|
-
...
|
131
|
-
|
132
104
|
gcc -c -MD -fPIC -g -Wall -D__UNIX__=1 -DCORELIB -Iarch -I/home/guru/work/radare2-1.5.0/libr/..//shlr -I/home/guru/work/radare2-1.5.0/libr/..//libr/asm/arch/include -I/home/guru/work/radare2-1.5.0/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -Iarch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/rsp -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -I/home/guru/work/radare2-1.5.0/libr -I/home/guru/work/radare2-1.5.0/libr/include -o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c
|
133
105
|
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:464:30: error: unknown type name ‘arm64_vess’
|
134
106
|
static const char *vess_name(arm64_vess vess) {
|
@@ -159,4 +131,5 @@
|
|
159
131
|
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
160
132
|
make: *** [all] エラー 2
|
161
133
|
```
|
134
|
+
|
162
135
|
/libr/anal/p/anal_arm_cs.c がエラーを起こしているようですが、どのように修正すればよいでしょうか
|
6
ログ追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -96,88 +96,6 @@
|
|
96
96
|
34 endif
|
97
97
|
```
|
98
98
|
|
99
|
-
追記です。
|
100
|
-
調べたところ、./shlr/Makefile に capstone-sync: が見つかりました
|
101
|
-
```
|
102
|
-
$ pwd
|
103
|
-
/home/user/work/radare2-1.5.0
|
104
|
-
user@ubuntu32:~/work/radare2-1.5.0$ find . -type f -print | xargs grep 'capstone-sync:'
|
105
|
-
./shlr/Makefile:capstone-sync:
|
106
|
-
./shlr/Makefile:capstone-sync: capstone
|
107
|
-
./shlr/Makefile:capstone-sync:
|
108
|
-
```
|
109
|
-
|
110
|
-
./shlr/Makefile
|
111
|
-
```
|
112
|
-
215 capstone-sync:
|
113
|
-
216
|
114
|
-
217 capstone-build:
|
115
|
-
218
|
116
|
-
219 else
|
117
|
-
220
|
118
|
-
221 ifeq ($(CS_RELEASE),1)
|
119
|
-
222 capstone-sync: capstone
|
120
|
-
223
|
121
|
-
224 capstone-clean:
|
122
|
-
225 cd capstone ; $(MAKE) clean
|
123
|
-
226
|
124
|
-
227 capstone: capstone-$(CS_VER).tar.gz
|
125
|
-
228 tar xzvf capstone-$(CS_VER).tar.gz
|
126
|
-
229 rm -rf capstone
|
127
|
-
230 mv capstone-$(CS_VER) capstone
|
128
|
-
231 ifeq ($(CS_PATCHES),1)
|
129
|
-
232 #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
|
130
|
-
233 cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
|
131
|
-
234 endif
|
132
|
-
235 mkdir -p capstone/include/capstone
|
133
|
-
236 cp -rf capstone/include/*.h capstone/include/capstone
|
134
|
-
237
|
135
|
-
238 capstone-$(CS_VER).tar.gz:
|
136
|
-
239 $(WGET) --no-check-certificate -O capstone-$(CS_VER).tar.gz -c $(CS_TAR)
|
137
|
-
240 else
|
138
|
-
241
|
139
|
-
242 capstone: capstone-sync
|
140
|
-
243
|
141
|
-
244 capstone-sync:
|
142
|
-
245 "$(SHELL)" capstone.sh "${CS_URL}" "${CS_BRA}" "${CS_TIP}" "${CS_REV}"
|
143
|
-
246 ifeq ($(CS_PATCHES),1)
|
144
|
-
247 -cd capstone ; $(GIT) reset --hard
|
145
|
-
248 #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
|
146
|
-
249 cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
|
147
|
-
250 endif
|
148
|
-
```
|
149
|
-
以上の3箇所となります
|
150
|
-
|
151
|
-
|
152
|
-
makeのlogでエラーっぽいところを追記します
|
153
|
-
```
|
154
|
-
ターゲット 'all' を再make する必要があります.
|
155
|
-
ターゲットファイル 'all' の再 make に成功しました.
|
156
|
-
make[2]: 'all' に対して行うべき事はありません.
|
157
|
-
make[2]: ディレクトリ '/home/guru/work/radare2-1.5.0/shlr/wind' から出ます
|
158
|
-
成功した子プロセス 0x9967f80 PID 21811 を回収します
|
159
|
-
チェインから子プロセス 0x9967f80 PID 21811 を削除します.
|
160
|
-
ターゲットファイル 'libwind' の再 make に成功しました.
|
161
|
-
ファイル 'capstone-build' を検討しています.
|
162
|
-
ファイル 'capstone-build' が存在しません.
|
163
|
-
ファイル 'capstone' を検討しています.
|
164
|
-
ファイル 'capstone' が存在しません.
|
165
|
-
ファイル 'capstone-sync' を検討しています.
|
166
|
-
ファイル 'capstone-sync' が存在しません.
|
167
|
-
ターゲットファイル 'capstone-sync' の必要条件を満たしました.
|
168
|
-
ターゲット 'capstone-sync' を再make する必要があります.
|
169
|
-
"/bin/sh" capstone.sh "https://github.com/aquynh/capstone.git" "next" "7982670984222e2d3bb8117da6225e06d119f56f" ""
|
170
|
-
チェインに子プロセス 0x99758c8 (capstone-sync) PID 21821 を取り込みました.
|
171
|
-
生存子プロセス 0x99758c8 (capstone-sync) PID 21821
|
172
|
-
失敗した子プロセス 0x99758c8 PID 21821 を回収します
|
173
|
-
Makefile:245: ターゲット 'capstone-sync' のレシピで失敗しました
|
174
|
-
チェインから子プロセス 0x99758c8 PID 21821 を削除します.
|
175
|
-
make[1]: ディレクトリ '/home/guru/work/radare2-1.5.0/shlr' から出ます
|
176
|
-
失敗した子プロセス 0x91bff50 PID 21790 を回収します
|
177
|
-
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
178
|
-
チェインから子プロセス 0x91bff50 PID 21790 を削除します.
|
179
|
-
```
|
180
|
-
|
181
99
|
git インストール後のmakeのlogを追記します。
|
182
100
|
```
|
183
101
|
適用不能な暗黙の必要条件 '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.w' を却下します.
|
@@ -204,4 +122,41 @@
|
|
204
122
|
失敗した子プロセス 0x8688f40 PID 20478 を回収します
|
205
123
|
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
206
124
|
チェインから子プロセス 0x8688f40 PID 20478 を削除します.
|
207
|
-
```
|
125
|
+
```
|
126
|
+
|
127
|
+
gitインストール後のmakeのログに追記です
|
128
|
+
```
|
129
|
+
$make
|
130
|
+
...
|
131
|
+
|
132
|
+
gcc -c -MD -fPIC -g -Wall -D__UNIX__=1 -DCORELIB -Iarch -I/home/guru/work/radare2-1.5.0/libr/..//shlr -I/home/guru/work/radare2-1.5.0/libr/..//libr/asm/arch/include -I/home/guru/work/radare2-1.5.0/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -Iarch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/rsp -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -I/home/guru/work/radare2-1.5.0/libr -I/home/guru/work/radare2-1.5.0/libr/include -o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c
|
133
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:464:30: error: unknown type name ‘arm64_vess’
|
134
|
+
static const char *vess_name(arm64_vess vess) {
|
135
|
+
^
|
136
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c: In function ‘opex64’:
|
137
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:579:9: error: ‘cs_arm64_op {aka struct cs_arm64_op}’ has no member named ‘vess’
|
138
|
+
if (op->vess != ARM64_VESS_INVALID) {
|
139
|
+
^
|
140
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:579:19: error: ‘ARM64_VESS_INVALID’ undeclared (first use in this function)
|
141
|
+
if (op->vess != ARM64_VESS_INVALID) {
|
142
|
+
^
|
143
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:579:19: note: each undeclared identifier is reported only once for each function it appears in
|
144
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:580:47: warning: implicit declaration of function ‘vess_name’ [-Wimplicit-function-declaration]
|
145
|
+
r_strbuf_appendf (buf, ",\"vess\":\"%s\"", vess_name (op->vess));
|
146
|
+
^
|
147
|
+
/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c:580:60: error: ‘cs_arm64_op {aka struct cs_arm64_op}’ has no member named ‘vess’
|
148
|
+
r_strbuf_appendf (buf, ",\"vess\":\"%s\"", vess_name (op->vess));
|
149
|
+
^
|
150
|
+
/home/guru/work/radare2-1.5.0/libr/../global.mk:43: ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' のレシピで失敗しました
|
151
|
+
make[3]: *** [/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o] エラー 1
|
152
|
+
make[3]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr/anal' から出ます
|
153
|
+
Makefile:91: ターゲット 'anal' のレシピで失敗しました
|
154
|
+
make[2]: *** [anal] エラー 2
|
155
|
+
make[2]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
156
|
+
Makefile:28: ターゲット 'all' のレシピで失敗しました
|
157
|
+
make[1]: *** [all] エラー 2
|
158
|
+
make[1]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
159
|
+
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
160
|
+
make: *** [all] エラー 2
|
161
|
+
```
|
162
|
+
/libr/anal/p/anal_arm_cs.c がエラーを起こしているようですが、どのように修正すればよいでしょうか
|
5
gitインストール後のmakeのログを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -176,4 +176,32 @@
|
|
176
176
|
失敗した子プロセス 0x91bff50 PID 21790 を回収します
|
177
177
|
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
178
178
|
チェインから子プロセス 0x91bff50 PID 21790 を削除します.
|
179
|
+
```
|
180
|
+
|
181
|
+
git インストール後のmakeのlogを追記します。
|
182
|
+
```
|
183
|
+
適用不能な暗黙の必要条件 '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.w' を却下します.
|
184
|
+
'/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' のための暗黙ルールがありません.
|
185
|
+
ターゲットファイル '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' の必要条件を満たしました.
|
186
|
+
ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c' を再make する必要はありません.
|
187
|
+
ターゲットファイル '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' の必要条件を満たしました.
|
188
|
+
ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' を再make する必要があります.
|
189
|
+
gcc -c -MD -fPIC -g -Wall -D__UNIX__=1 -DCORELIB -Iarch -I/home/guru/work/radare2-1.5.0/libr/..//shlr -I/home/guru/work/radare2-1.5.0/libr/..//libr/asm/arch/include -I/home/guru/work/radare2-1.5.0/libr/../shlr/capstone/include -I../asm/arch/8051 -I../asm/arch/include -I../asm/arch/cr16/ -I../asm/arch/ebc/ -Iarch/gb/ -I../asm/arch/h8300/ -I../asm/arch/msp430/ -I../asm/arch/rsp -I../asm/arch/v810/ -I../asm/arch/v850/ -I../asm/arch/x86/udis86 -I../../asm/arch/x86/udis86 -DHAVE_STRING_H=1 -I/home/guru/work/radare2-1.5.0/libr -I/home/guru/work/radare2-1.5.0/libr/include -o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o /home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.c
|
190
|
+
チェインに子プロセス 0x90da1d0 (/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o) PID 20948 を取り込みました.
|
191
|
+
生存子プロセス 0x90da1d0 (/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o) PID 20948
|
192
|
+
失敗した子プロセス 0x90da1d0 PID 20948 を回収します
|
193
|
+
/home/guru/work/radare2-1.5.0/libr/../global.mk:43: ターゲット '/home/guru/work/radare2-1.5.0/libr/..//libr/anal/p/anal_arm_cs.o' のレシピで失敗しました
|
194
|
+
チェインから子プロセス 0x90da1d0 PID 20948 を削除します.
|
195
|
+
make[3]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr/anal' から出ます
|
196
|
+
失敗した子プロセス 0x92bf188 PID 20915 を回収します
|
197
|
+
Makefile:91: ターゲット 'anal' のレシピで失敗しました
|
198
|
+
チェインから子プロセス 0x92bf188 PID 20915 を削除します.
|
199
|
+
make[2]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
200
|
+
失敗した子プロセス 0x835f020 PID 20833 を回収します
|
201
|
+
Makefile:28: ターゲット 'all' のレシピで失敗しました
|
202
|
+
チェインから子プロセス 0x835f020 PID 20833 を削除します.
|
203
|
+
make[1]: ディレクトリ '/home/guru/work/radare2-1.5.0/libr' から出ます
|
204
|
+
失敗した子プロセス 0x8688f40 PID 20478 を回収します
|
205
|
+
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
206
|
+
チェインから子プロセス 0x8688f40 PID 20478 を削除します.
|
179
207
|
```
|
4
makeのエラーを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -146,4 +146,34 @@
|
|
146
146
|
249 cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
|
147
147
|
250 endif
|
148
148
|
```
|
149
|
-
以上の3箇所となります
|
149
|
+
以上の3箇所となります
|
150
|
+
|
151
|
+
|
152
|
+
makeのlogでエラーっぽいところを追記します
|
153
|
+
```
|
154
|
+
ターゲット 'all' を再make する必要があります.
|
155
|
+
ターゲットファイル 'all' の再 make に成功しました.
|
156
|
+
make[2]: 'all' に対して行うべき事はありません.
|
157
|
+
make[2]: ディレクトリ '/home/guru/work/radare2-1.5.0/shlr/wind' から出ます
|
158
|
+
成功した子プロセス 0x9967f80 PID 21811 を回収します
|
159
|
+
チェインから子プロセス 0x9967f80 PID 21811 を削除します.
|
160
|
+
ターゲットファイル 'libwind' の再 make に成功しました.
|
161
|
+
ファイル 'capstone-build' を検討しています.
|
162
|
+
ファイル 'capstone-build' が存在しません.
|
163
|
+
ファイル 'capstone' を検討しています.
|
164
|
+
ファイル 'capstone' が存在しません.
|
165
|
+
ファイル 'capstone-sync' を検討しています.
|
166
|
+
ファイル 'capstone-sync' が存在しません.
|
167
|
+
ターゲットファイル 'capstone-sync' の必要条件を満たしました.
|
168
|
+
ターゲット 'capstone-sync' を再make する必要があります.
|
169
|
+
"/bin/sh" capstone.sh "https://github.com/aquynh/capstone.git" "next" "7982670984222e2d3bb8117da6225e06d119f56f" ""
|
170
|
+
チェインに子プロセス 0x99758c8 (capstone-sync) PID 21821 を取り込みました.
|
171
|
+
生存子プロセス 0x99758c8 (capstone-sync) PID 21821
|
172
|
+
失敗した子プロセス 0x99758c8 PID 21821 を回収します
|
173
|
+
Makefile:245: ターゲット 'capstone-sync' のレシピで失敗しました
|
174
|
+
チェインから子プロセス 0x99758c8 PID 21821 を削除します.
|
175
|
+
make[1]: ディレクトリ '/home/guru/work/radare2-1.5.0/shlr' から出ます
|
176
|
+
失敗した子プロセス 0x91bff50 PID 21790 を回収します
|
177
|
+
Makefile:50: ターゲット 'all' のレシピで失敗しました
|
178
|
+
チェインから子プロセス 0x91bff50 PID 21790 を削除します.
|
179
|
+
```
|
3
追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -94,4 +94,56 @@
|
|
94
94
|
32 $(MAKE) -C zip clean
|
95
95
|
33 rm -f *.$(EXT_AR) *.${EXT_SO} zlib/*.$(EXT_AR) zip/*.$(EXT_AR)
|
96
96
|
34 endif
|
97
|
-
```
|
97
|
+
```
|
98
|
+
|
99
|
+
追記です。
|
100
|
+
調べたところ、./shlr/Makefile に capstone-sync: が見つかりました
|
101
|
+
```
|
102
|
+
$ pwd
|
103
|
+
/home/user/work/radare2-1.5.0
|
104
|
+
user@ubuntu32:~/work/radare2-1.5.0$ find . -type f -print | xargs grep 'capstone-sync:'
|
105
|
+
./shlr/Makefile:capstone-sync:
|
106
|
+
./shlr/Makefile:capstone-sync: capstone
|
107
|
+
./shlr/Makefile:capstone-sync:
|
108
|
+
```
|
109
|
+
|
110
|
+
./shlr/Makefile
|
111
|
+
```
|
112
|
+
215 capstone-sync:
|
113
|
+
216
|
114
|
+
217 capstone-build:
|
115
|
+
218
|
116
|
+
219 else
|
117
|
+
220
|
118
|
+
221 ifeq ($(CS_RELEASE),1)
|
119
|
+
222 capstone-sync: capstone
|
120
|
+
223
|
121
|
+
224 capstone-clean:
|
122
|
+
225 cd capstone ; $(MAKE) clean
|
123
|
+
226
|
124
|
+
227 capstone: capstone-$(CS_VER).tar.gz
|
125
|
+
228 tar xzvf capstone-$(CS_VER).tar.gz
|
126
|
+
229 rm -rf capstone
|
127
|
+
230 mv capstone-$(CS_VER) capstone
|
128
|
+
231 ifeq ($(CS_PATCHES),1)
|
129
|
+
232 #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
|
130
|
+
233 cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
|
131
|
+
234 endif
|
132
|
+
235 mkdir -p capstone/include/capstone
|
133
|
+
236 cp -rf capstone/include/*.h capstone/include/capstone
|
134
|
+
237
|
135
|
+
238 capstone-$(CS_VER).tar.gz:
|
136
|
+
239 $(WGET) --no-check-certificate -O capstone-$(CS_VER).tar.gz -c $(CS_TAR)
|
137
|
+
240 else
|
138
|
+
241
|
139
|
+
242 capstone: capstone-sync
|
140
|
+
243
|
141
|
+
244 capstone-sync:
|
142
|
+
245 "$(SHELL)" capstone.sh "${CS_URL}" "${CS_BRA}" "${CS_TIP}" "${CS_REV}"
|
143
|
+
246 ifeq ($(CS_PATCHES),1)
|
144
|
+
247 -cd capstone ; $(GIT) reset --hard
|
145
|
+
248 #cd capstone ; for PATCH in ../capstone-patches/* ; do patch -tp1 < $$PATCH ; done
|
146
|
+
249 cd capstone ; for PATCH in ../capstone-patches/* ; do patch -p1 < $$PATCH ; done
|
147
|
+
250 endif
|
148
|
+
```
|
149
|
+
以上の3箇所となります
|
2
./shlr/zip/makefile を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -56,4 +56,42 @@
|
|
56
56
|
make : 4.1
|
57
57
|
ubuntu : 16.04 x86
|
58
58
|
|
59
|
-
よろしくお願いします。
|
59
|
+
よろしくお願いします。
|
60
|
+
|
61
|
+
./shlr/zip/makefile の内容です
|
62
|
+
```
|
63
|
+
1 NAME=rz
|
64
|
+
2 LIBAR=librz.$(EXT_AR)
|
65
|
+
3
|
66
|
+
4 include ../../config-user.mk
|
67
|
+
5 include ../../libr/config.mk
|
68
|
+
6 include ../../mk/platform.mk
|
69
|
+
7 include ../../mk/${COMPILER}.mk
|
70
|
+
8
|
71
|
+
9 ifeq ($(USE_LIB_ZIP),1)
|
72
|
+
10 all:
|
73
|
+
11 rm -f librz.$(EXT_AR)
|
74
|
+
12 else
|
75
|
+
13
|
76
|
+
14
|
77
|
+
15 LIBAR=librz.$(EXT_AR)
|
78
|
+
16 RANLIB?=ranlib
|
79
|
+
17
|
80
|
+
18 all: $(LIBAR)
|
81
|
+
19
|
82
|
+
20 $(LIBAR): zip/libr_zip.$(EXT_AR)
|
83
|
+
21 ${CC_AR} zlib/*.o zip/*.o
|
84
|
+
22 $(RANLIB) librz.$(EXT_AR)
|
85
|
+
23
|
86
|
+
24 zip/libr_zip.$(EXT_AR): zlib/libr_z.$(EXT_AR)
|
87
|
+
25 $(MAKE) -C zip
|
88
|
+
26
|
89
|
+
27 zlib/libr_z.$(EXT_AR):
|
90
|
+
28 $(MAKE) -C zlib
|
91
|
+
29
|
92
|
+
30 clean:
|
93
|
+
31 $(MAKE) -C zlib clean
|
94
|
+
32 $(MAKE) -C zip clean
|
95
|
+
33 rm -f *.$(EXT_AR) *.${EXT_SO} zlib/*.$(EXT_AR) zip/*.$(EXT_AR)
|
96
|
+
34 endif
|
97
|
+
```
|
1
ツール追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -54,5 +54,6 @@
|
|
54
54
|
clang : 3.8.0-2ubuntu4
|
55
55
|
tcc : 0.9.26
|
56
56
|
make : 4.1
|
57
|
+
ubuntu : 16.04 x86
|
57
58
|
|
58
59
|
よろしくお願いします。
|