Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.57 KB | None | 0 0
  1. [matvey@T530 xnn]$ cargo build
  2. Compiling xnn v0.1.0 (/home/matvey/devo/rust/xnn)
  3. error: linking with `cc` failed: exit code: 1
  4. |
  5. = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.16xqbssgk0alxkcm.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.1hzw62bssgnx803d.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.1p6k8mex8wkwfgjr.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.2u9w2o7qeqi9gjbx.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.3qzk4n8xv9c5fd18.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.3v3xv8t3aop9f2d2.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.44h3sulioww0w2ab.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.52u72bsuo1d3abmj.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.prizc8uaafd4plp.rcgu.o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.y2cn6xj8a0fwj9k.rcgu.o" "-o" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815" "/home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.4un8dxma6o6d4byg.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/matvey/devo/rust/xnn/target/debug/deps" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/matvey/devo/rust/xnn/target/debug/deps/libarrayfire-4f9b735956f6613c.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libhalf-799fface9300a6c7.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum-7a0dba09f845d77b.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_rational-0a529cb667c51845.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_iter-6020a6b2ea266e93.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_complex-a653e70a3e854fb8.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_bigint-16702608af5e0174.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_integer-fd282297ec1bb5f8.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/libnum_traits-b92caac1c80d9145.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/liblibc-e31e1d4767bf7785.rlib" "/home/matvey/devo/rust/xnn/target/debug/deps/liblazy_static-9f76a757b0fda4e5.rlib" "-Wl,--start-group" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-11511aed690f2c93.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3087937e3435cd36.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-4bfc0674f0e6d7c9.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c997dadb52e4a592.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-4639ab9d9b7ff1e5.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-03a4b2e4d6df8b0f.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-4ac9597f7e9c643d.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-83a257afa5db78cd.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f2874247c8ce183b.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b5ab644d9db91ae4.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-76919a4aea2efc5e.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-0cca7c72a501dcdd.rlib" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53add92393666e06.rlib" "-Wl,--end-group" "/home/matvey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8e3a0691bec6d2b2.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  6. = note: /usr/bin/ld: /home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.16xqbssgk0alxkcm.rcgu.o: in function `arrayfire::array::print':
  7. /home/matvey/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.7.0/src/array.rs:604: undefined reference to `af_print_array_gen'
  8. /usr/bin/ld: /home/matvey/devo/rust/xnn/target/debug/deps/xnn-c59839f46e72a815.2u9w2o7qeqi9gjbx.rcgu.o: in function `arrayfire::random::randu':
  9. /home/matvey/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.7.0/src/random/mod.rs:82: undefined reference to `af_randu'
  10. /usr/bin/ld: /home/matvey/devo/rust/xnn/target/debug/deps/libarrayfire-4f9b735956f6613c.rlib(arrayfire-4f9b735956f6613c.arrayfire.1ebf82ka-cgu.11.rcgu.o): in function `arrayfire::error::get_last_error':
  11. /home/matvey/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.7.0/src/error.rs:106: undefined reference to `af_get_last_error'
  12. /usr/bin/ld: /home/matvey/devo/rust/xnn/target/debug/deps/libarrayfire-4f9b735956f6613c.rlib(arrayfire-4f9b735956f6613c.arrayfire.1ebf82ka-cgu.4.rcgu.o): in function `arrayfire::util::free_host':
  13. /home/matvey/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.7.0/src/util.rs:71: undefined reference to `af_free_host'
  14. /usr/bin/ld: /home/matvey/devo/rust/xnn/target/debug/deps/libarrayfire-4f9b735956f6613c.rlib(arrayfire-4f9b735956f6613c.arrayfire.1ebf82ka-cgu.8.rcgu.o): in function `<arrayfire::array::Array<T> as core::ops::drop::Drop>::drop':
  15. /home/matvey/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.7.0/src/array.rs:566: undefined reference to `af_release_array'
  16. collect2: error: ld returned 1 exit status
  17.  
  18.  
  19. error: aborting due to previous error
  20.  
  21. error: could not compile `xnn`.
  22.  
  23. To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement