trojan-gfw / trojan

An unidentifiable mechanism that helps you bypass GFW.
https://trojan-gfw.github.io/trojan/
GNU General Public License v3.0
18.82k stars 3.02k forks source link

arm-openwrt-linux-muslgnueabi/bin/ar: array_type_info.o: No such file or directory #588

Open jacksea1024 opened 3 years ago

jacksea1024 commented 3 years ago

arm-openwrt-linux-muslgnueabi-gcc-ar cr src/libuClibc++.a src/algorithm.o src/associative_base.o src/bitset.o src/char_traits.o src/complex.o src/del_op.o src/del_opnt.o src/del_ops.o src/del_opv.o src/del_opvnt.o src/del_opvs.o src/deque.o src/eh_alloc.o src/eh_globals.o src/exception.o src/fstream.o src/func_exception.o src/iomanip.o src/ios.o src/iostream.o src/istream.o src/iterator.o src/limits.o src/list.o src/locale.o src/map.o src/new_handler.o src/new_op.o src/new_opnt.o src/new_opv.o src/new_opvnt.o src/numeric.o src/ostream.o src/queue.o src/set.o src/sstream.o src/stack.o src/stdexcept.o src/streambuf.o src/string.o src/utility.o src/valarray.o src/vector.o src/abi/abi.o array_type_info.o atexit_arm.o atexit_thread.o bad_alloc.o bad_array_length.o bad_array_new.o bad_cast.o bad_typeid.o class_type_info.o dyncast.o eh_arm.o eh_aux_runtime.o eh_call.o eh_catch.o eh_exception.o eh_personality.o eh_ptr.o eh_term_handler.o eh_terminate.o eh_tm.o eh_throw.o eh_type.o eh_unex_handler.o enum_type_info.o function_type_info.o fundamental_type_info.o guard.o guard_error.o hash_bytes.o nested_exception.o pbase_type_info.o pmem_type_info.o pointer_type_info.o si_class_type_info.o tinfo.o tinfo2.o vec.o vmi_class_type_info.o vterminate.o cp-demangle.o /root/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.5.0_musl_eabi/bin/../lib/gcc/arm-openwrt-linux-muslgnueabi/7.5.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ar: array_type_info.o: No such file or directory make[3]: [src/Makefile.in:45: src/libuClibc++.a] Error 1 make[3]: Leaving directory '/root/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/uClibc++-0.2.5' make[2]: [Makefile:100: /root/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/uClibc++-0.2.5/.built] Error 2 make[2]: Leaving directory '/root/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/feeds/base/package/libs/uclibc++' time: package/feeds/base/uclibc++/compile#0.59#0.69#0.96 make[1]: *** [package/Makefile:113: package/feeds/base/uclibc++/compile] Error 2 make[1]: Leaving directory '/root/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64' root@vultr:~/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64# 64/include/toplevel.mk:220: package/trojan/compile] Error 2

Hi guys, i tried to compile openwrt-trojan for netgear r7800, here comes this error: arm-openwrt-linux-muslgnueabi/bin/ar: array_type_info.o: No such file or directory, what should i do? thanks

jacksea1024 commented 3 years ago

I found a solution here, says the file name and path are too long and cause this issue, https://forum.openwrt.org/t/buid-package-uclibc-failed-by-using-openwrt-sdk/64377

It says cd /tmp then compile, but I get another error says: no rule to make target "~/openwrt-sdk-19.07.7-ipq806x-generic_gcc-7.5.0_musl_eabi.Linux-x86_64/package/trojan/compile"

What should I do? Thanks