Closed cjjdaq closed 5 years ago
希望你能编译 arm 二进制电邮发来.
我在armv7 Ubuntu上编译报这错怎么办
[ 14%] Built target mbedcrypto
[ 16%] Built target mbedx509
[ 19%] Built target mbedtls
[ 23%] Built target zlib
[ 29%] Built target pcre
[ 55%] Built target sodium
[ 60%] Built target libcork
[ 60%] Building C object libipset/CMakeFiles/libipset.dir/bdd/write.c.o
/home/android/ssr-n/libipset/bdd/write.c: In function 'write_nonterminal_dot':
/home/android/ssr-n/libipset/bdd/write.c:469:18: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld [shape=circle,label=%u];\n",
~~^
%d
(-serialized_node), variable);
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:477:22: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> n%ld",
~~^
%d
(-serialized_node), (-serialized_low));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:477:30: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> n%ld",
~~^
%d
(-serialized_node), (-serialized_low));
~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:488:28: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" low%ld [shape=circle,label=\"\"]\n"
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:490:18:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:488:18: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" low%ld [shape=circle,label=\"\"]\n"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:490:38:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:489:26: note: format string is defined here
" n%ld -> low%ld",
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:488:18: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'serialized_id {aka int}' [-Werror=format=]
" low%ld [shape=circle,label=\"\"]\n"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:490:58:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:489:36: note: format string is defined here
" n%ld -> low%ld",
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:495:26: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> t%ld",
~~^
%d
(-serialized_node), serialized_low);
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:495:34: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> t%ld",
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:508:22: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> n%ld",
~~^
%d
(-serialized_node), (-serialized_high));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:508:30: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> n%ld",
~~^
%d
(-serialized_node), (-serialized_high));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:519:29: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" high%ld "
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:526:18:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:519:18: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" high%ld "
^~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:526:38:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:525:26: note: format string is defined here
" n%ld -> high%ld",
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:519:18: error: format '%ld' expects argument of type 'long int', but argument 5 has type 'serialized_id {aka int}' [-Werror=format=]
" high%ld "
^~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:526:58:
(-serialized_node), (-serialized_node), (-serialized_node));
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:525:37: note: format string is defined here
" n%ld -> high%ld",
~~^
%d
/home/android/ssr-n/libipset/bdd/write.c:531:26: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> t%ld",
~~^
%d
(-serialized_node), serialized_high);
~~~~~~~~~~~~~~~~~~
/home/android/ssr-n/libipset/bdd/write.c:531:34: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'serialized_id {aka int}' [-Werror=format=]
" n%ld -> t%ld",
~~^
%d
cc1: all warnings being treated as errors
libipset/CMakeFiles/libipset.dir/build.make:230: recipe for target 'libipset/CMakeFiles/libipset.dir/bdd/write.c.o' failed
make[2]: *** [libipset/CMakeFiles/libipset.dir/bdd/write.c.o] Error 1
CMakeFiles/Makefile2:546: recipe for target 'libipset/CMakeFiles/libipset.dir/all' failed
make[1]: *** [libipset/CMakeFiles/libipset.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
希望你能编译 arm 二进制电邮发来.
看一下上面的错误吧
@Asutorufa 半年一回应. 等不起啊. 回头仔细看看. 好吧, 你不是 po 主.
@Asutorufa 半年一回应. 等不起啊. 回头仔细看看. 好吧, 你不是 po 主.
2333 偶尔看见了 尝试一下 w
@Asutorufa 现在看看能否通过? 要不你自己修正一下 提交 PR 吧.
@Asutorufa 现在看看能否通过? 要不你自己修正一下 提交 PR 吧.
好了 通过了 thanks
ssr-native-linux-armv7.zip 这是我编译好的文件 armv7 不知道开这个issue的人还用不用了2333
@Asutorufa Thanks. 233333
已经转投v2ray的怀抱,多谢各位了,可以close了
希望加入arm二进制