Skip to content

Instantly share code, notes, and snippets.

@xiaoniu-578fa6bff964d005
Last active November 14, 2019 16:42
Show Gist options
  • Save xiaoniu-578fa6bff964d005/292c906b60912adc9b623d43fa49af4c to your computer and use it in GitHub Desktop.
Save xiaoniu-578fa6bff964d005/292c906b60912adc9b623d43fa49af4c to your computer and use it in GitHub Desktop.
Compiling try_tch v0.1.0 (/home/xiaoniu/workspace/learn/tch-rs/try_tch)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.1j13cj79p9lts9ct.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.44o2bhoknx1836my.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4by2z6fmzintinzq.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4m6wbek9j7su2h34.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4u1f6k0co9rnwzb0.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.anxnb5tw8lpyq20.rcgu.o" "-o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.2z7t05z8sueetewz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/xiaoniu/.cache/cargo/debug/deps" "-L" "/home/xiaoniu/.cache/cargo/debug/build/backtrace-sys-c574356c5e6d859d/out" "-L" "/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib" "-L" "/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out" "-L" "/home/xiaoniu/.cache/cargo/debug/build/bzip2-sys-4705c1d71fc7caf9/out/lib" "-L" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/xiaoniu/.cache/cargo/debug/deps/libtch-4948fc60dccaa87f.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libndarray-9a849358bf9c9142.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libnum_complex-2fe54cc907e34fce.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libnum_traits-8e5f2d9474787678.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libitertools-dca143b60d6b1611.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libeither-29ae750cff4b3f0e.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libmatrixmultiply-7a7190181ca3c69b.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librawpointer-3918ae2994d024e9.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand-89bddf17e5e22a92.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_xorshift-29514e47dce405c5.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_pcg-7e397da47eadc995.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_hc-7b997b2c2b1c3347.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_chacha-4068b9ab78e98edf.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_isaac-4c8bf4c49c03dbe2.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_core-a7999d60c47c54b8.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_os-db028180cdf8d9fa.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_jitter-f5c4d8425d5b50ef.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_core-89d533c156167af6.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libzip-05d1be4ac9666b89.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libtime-b1980f11a8246433.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libpodio-c1387866822d149d.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libflate2-df1207c1c172a4e1.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libminiz_oxide-c32ab9ccbcbf7563.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libadler32-d2e75b59624a2a92.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libcrc32fast-7fd62a64c4cebbb8.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbzip2-779a844b8fe89d00.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbzip2_sys-3051068a3e0b6512.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libfailure-579e966b0d7aa1a3.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbacktrace-758bdeebe3e58512.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbacktrace_sys-50dcb40d35409f96.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/liblibc-12b857e7533f9a32.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libcfg_if-79e53ac39815d9ec.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librustc_demangle-c9feeb05eb7b0e40.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/liblazy_static-f13eb2b9cdd1fe7c.rlib" "-Wl,--start-group" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fae576517123aa4e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a72070139220275e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-093434daf7d99801.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-24daf38551b7a03b.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-36d70d9746402ce9.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-7acfc843240167a8.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-eb2e0f5fe057b8b3.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75e9ddd83715a368.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-af51e7c6fd7d1248.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-27f2a77b2995d98c.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ad10152c26711a1e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-291bd2456cb6c9fe.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fc6e9071307a3016.rlib" "-Wl,--end-group" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ebe4001ded7f33e7.rlib" "-Wl,-Bdynamic" "-lstdc++" "-ltorch" "-lc10" "-lgomp" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /usr/bin/ld: warning: libgomp-753e6e92.so.1, needed by /home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so, not found (try using -rpath or -rpath-link)
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Device::validate()':
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/include/c10/core/Device.h:93: undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Device::validate()':
torch_api.cpp:(.text._ZN3c106Device8validateEv[_ZN3c106Device8validateEv]+0x250): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::tensorTypeIdToBackend(c10::TensorTypeId)':
torch_api.cpp:(.text._ZN3c10L21tensorTypeIdToBackendENS_12TensorTypeIdE+0x1b2): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::backendToDeviceType(c10::Backend)':
torch_api.cpp:(.text._ZN3c10L19backendToDeviceTypeENS_7BackendE+0x18a): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZN3c10L19backendToDeviceTypeENS_7BackendE+0x2a9): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZN3c10lsERSoNS_6LayoutE[_ZN3c10lsERSoNS_6LayoutE]+0x123): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Symbol::dimname(std::string const&)':
torch_api.cpp:(.text._ZN3c106Symbol7dimnameERKSs[_ZN3c106Symbol7dimnameERKSs]+0x2c): undefined reference to `c10::Symbol::fromQualString(std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::IValue::toDouble() const':
torch_api.cpp:(.text._ZNK3c106IValue8toDoubleEv[_ZNK3c106IValue8toDoubleEv]+0xcd): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::IValue::toInt() const':
torch_api.cpp:(.text._ZNK3c106IValue5toIntEv[_ZNK3c106IValue5toIntEv]+0xcd): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::ClassType::getAttribute(unsigned long) const':
torch_api.cpp:(.text._ZNK3c109ClassType12getAttributeEm[_ZNK3c109ClassType12getAttributeEm]+0x100): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZNK3c109ClassType12getAttributeEm[_ZNK3c109ClassType12getAttributeEm]+0x207): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::ClassType::is_parameter(unsigned long) const':
torch_api.cpp:(.text._ZNK3c109ClassType12is_parameterEm[_ZNK3c109ClassType12is_parameterEm]+0xd3): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZNO3c106IValue8toTensorEv[_ZNO3c106IValue8toTensorEv]+0xf2): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `torch::zeros(c10::ArrayRef<long>, c10::TensorOptions const&)':
torch_api.cpp:(.text._ZN5torch5zerosEN3c108ArrayRefIlEERKNS0_13TensorOptionsE[_ZN5torch5zerosEN3c108ArrayRefIlEERKNS0_13TensorOptionsE]+0xab): undefined reference to `c10::Symbol::fromQualString(std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `torch::jit::script::Module::get_slot(unsigned long) const':
torch_api.cpp:(.text._ZNK5torch3jit6script6Module8get_slotEm[_ZNK5torch3jit6script6Module8get_slotEm]+0x118): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::intrusive_ptr<c10::intrusive_ptr_target, c10::detail::intrusive_target_default_null_type<c10::intrusive_ptr_target> >::reclaim(c10::intrusive_ptr_target*)':
torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_]+0xfa): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::KernelFunction const& c10::DispatchTable::lookup_<c10::DispatchTable::lookup(c10::TensorTypeId) const::{lambda()#1}>(c10::DispatchTable::lookup(c10::TensorTypeId) const::{lambda()#1} const&) const':
torch_api.cpp:(.text._ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_[_ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_]+0x1e3): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_[_ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_]+0x391): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>::reclaim(c10::TensorImpl*)':
torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7reclaimEPS1_]+0xfa): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7retain_Ev[_ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7retain_Ev]+0xf9): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::collate<char> const& std::use_facet<std::__cxx11::collate<char> >(std::locale const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_fstream<char, std::char_traits<char> >::basic_fstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `lgammaf@GLIBC_2.23'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::logic_error const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::domain_error::domain_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)())@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::npos@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::swap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `lgamma@GLIBC_2.23'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `try_tch`.
To learn more, run the command again with --verbose.
Compiling try_tch v0.1.0 (/home/xiaoniu/workspace/learn/tch-rs/try_tch)
error: linking with `cc` failed: exit code: 1
|
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.1j13cj79p9lts9ct.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.44o2bhoknx1836my.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4by2z6fmzintinzq.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4m6wbek9j7su2h34.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.4u1f6k0co9rnwzb0.rcgu.o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.anxnb5tw8lpyq20.rcgu.o" "-o" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe" "/home/xiaoniu/.cache/cargo/debug/deps/try_tch-207b7b6f5354f3fe.2z7t05z8sueetewz.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/xiaoniu/.cache/cargo/debug/deps" "-L" "/home/xiaoniu/.cache/cargo/debug/build/backtrace-sys-c574356c5e6d859d/out" "-L" "/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib" "-L" "/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out" "-L" "/home/xiaoniu/.cache/cargo/debug/build/bzip2-sys-4705c1d71fc7caf9/out/lib" "-L" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/xiaoniu/.cache/cargo/debug/deps/libtch-4948fc60dccaa87f.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libndarray-9a849358bf9c9142.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libnum_complex-2fe54cc907e34fce.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libnum_traits-8e5f2d9474787678.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libitertools-dca143b60d6b1611.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libeither-29ae750cff4b3f0e.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libmatrixmultiply-7a7190181ca3c69b.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librawpointer-3918ae2994d024e9.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand-89bddf17e5e22a92.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_xorshift-29514e47dce405c5.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_pcg-7e397da47eadc995.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_hc-7b997b2c2b1c3347.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_chacha-4068b9ab78e98edf.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_isaac-4c8bf4c49c03dbe2.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_core-a7999d60c47c54b8.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_os-db028180cdf8d9fa.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_jitter-f5c4d8425d5b50ef.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librand_core-89d533c156167af6.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libzip-05d1be4ac9666b89.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libtime-b1980f11a8246433.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libpodio-c1387866822d149d.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libflate2-df1207c1c172a4e1.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libminiz_oxide-c32ab9ccbcbf7563.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libadler32-d2e75b59624a2a92.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libcrc32fast-7fd62a64c4cebbb8.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbzip2-779a844b8fe89d00.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbzip2_sys-3051068a3e0b6512.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libfailure-579e966b0d7aa1a3.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbacktrace-758bdeebe3e58512.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libbacktrace_sys-50dcb40d35409f96.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/liblibc-12b857e7533f9a32.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/libcfg_if-79e53ac39815d9ec.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/librustc_demangle-c9feeb05eb7b0e40.rlib" "/home/xiaoniu/.cache/cargo/debug/deps/liblazy_static-f13eb2b9cdd1fe7c.rlib" "-Wl,--start-group" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-fae576517123aa4e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a72070139220275e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-093434daf7d99801.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-24daf38551b7a03b.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-36d70d9746402ce9.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-7acfc843240167a8.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-eb2e0f5fe057b8b3.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75e9ddd83715a368.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-af51e7c6fd7d1248.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-27f2a77b2995d98c.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ad10152c26711a1e.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-291bd2456cb6c9fe.rlib" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fc6e9071307a3016.rlib" "-Wl,--end-group" "/home/xiaoniu/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ebe4001ded7f33e7.rlib" "-Wl,-Bdynamic" "-lstdc++" "-ltorch" "-lc10" "-lgomp" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
= note: /home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Device::validate()':
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/include/c10/core/Device.h:93: undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Device::validate()':
torch_api.cpp:(.text._ZN3c106Device8validateEv[_ZN3c106Device8validateEv]+0x250): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::tensorTypeIdToBackend(c10::TensorTypeId)':
torch_api.cpp:(.text._ZN3c10L21tensorTypeIdToBackendENS_12TensorTypeIdE+0x1b2): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::backendToDeviceType(c10::Backend)':
torch_api.cpp:(.text._ZN3c10L19backendToDeviceTypeENS_7BackendE+0x18a): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZN3c10L19backendToDeviceTypeENS_7BackendE+0x2a9): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZN3c10lsERSoNS_6LayoutE[_ZN3c10lsERSoNS_6LayoutE]+0x123): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::Symbol::dimname(std::string const&)':
torch_api.cpp:(.text._ZN3c106Symbol7dimnameERKSs[_ZN3c106Symbol7dimnameERKSs]+0x2c): undefined reference to `c10::Symbol::fromQualString(std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::IValue::toDouble() const':
torch_api.cpp:(.text._ZNK3c106IValue8toDoubleEv[_ZNK3c106IValue8toDoubleEv]+0xcd): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::IValue::toInt() const':
torch_api.cpp:(.text._ZNK3c106IValue5toIntEv[_ZNK3c106IValue5toIntEv]+0xcd): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::ClassType::getAttribute(unsigned long) const':
torch_api.cpp:(.text._ZNK3c109ClassType12getAttributeEm[_ZNK3c109ClassType12getAttributeEm]+0x100): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZNK3c109ClassType12getAttributeEm[_ZNK3c109ClassType12getAttributeEm]+0x207): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::ClassType::is_parameter(unsigned long) const':
torch_api.cpp:(.text._ZNK3c109ClassType12is_parameterEm[_ZNK3c109ClassType12is_parameterEm]+0xd3): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZNO3c106IValue8toTensorEv[_ZNO3c106IValue8toTensorEv]+0xf2): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `torch::zeros(c10::ArrayRef<long>, c10::TensorOptions const&)':
torch_api.cpp:(.text._ZN5torch5zerosEN3c108ArrayRefIlEERKNS0_13TensorOptionsE[_ZN5torch5zerosEN3c108ArrayRefIlEERKNS0_13TensorOptionsE]+0xab): undefined reference to `c10::Symbol::fromQualString(std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `torch::jit::script::Module::get_slot(unsigned long) const':
torch_api.cpp:(.text._ZNK5torch3jit6script6Module8get_slotEm[_ZNK5torch3jit6script6Module8get_slotEm]+0x118): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::intrusive_ptr<c10::intrusive_ptr_target, c10::detail::intrusive_target_default_null_type<c10::intrusive_ptr_target> >::reclaim(c10::intrusive_ptr_target*)':
torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7reclaimEPS1_]+0xfa): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::KernelFunction const& c10::DispatchTable::lookup_<c10::DispatchTable::lookup(c10::TensorTypeId) const::{lambda()#1}>(c10::DispatchTable::lookup(c10::TensorTypeId) const::{lambda()#1} const&) const':
torch_api.cpp:(.text._ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_[_ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_]+0x1e3): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
torch_api.cpp:(.text._ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_[_ZNK3c1013DispatchTable7lookup_IZNKS0_6lookupENS_12TensorTypeIdEEUlvE_EERKNS_14KernelFunctionERKT_]+0x391): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o): In function `c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>::reclaim(c10::TensorImpl*)':
torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7reclaimEPS1_[_ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7reclaimEPS1_]+0xfa): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/home/xiaoniu/.cache/cargo/debug/deps/libtorch_sys-adab35afbf0ab68f.rlib(torch_api.o):torch_api.cpp:(.text._ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7retain_Ev[_ZN3c1013intrusive_ptrINS_20intrusive_ptr_targetENS_6detail34intrusive_target_default_null_typeIS1_EEE7retain_Ev]+0xf9): more undefined references to `c10::Error::Error(c10::SourceLocation, std::string const&)' follow
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::collate<char> const& std::use_facet<std::__cxx11::collate<char> >(std::locale const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_fstream<char, std::char_traits<char> >::basic_fstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `lgammaf@GLIBC_2.23'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::rfind(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::logic_error const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::runtime_error::runtime_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::out_of_range::out_of_range(char const*)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long, std::ratio<1l, 1l> >, std::chrono::duration<long, std::ratio<1l, 1000000000l> >)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::domain_error::domain_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)())@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned long)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::npos@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char, unsigned long) const@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::logic_error::logic_error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::swap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `lgamma@GLIBC_2.23'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4.21'
/home/xiaoniu/.cache/cargo/debug/build/torch-sys-26fd490960495512/out/libtorch/libtorch/lib/libtorch.so: undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: could not compile `try_tch`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment