Created
February 11, 2018 00:34
-
-
Save cdesch/ced54038f15198e1594832c944e8c95d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo build --verbose | |
Fresh lazy_static v0.1.16 | |
Fresh utf8-ranges v0.1.3 | |
Fresh num-traits v0.1.42 | |
Fresh unicode-xid v0.0.4 | |
Fresh unicode-segmentation v1.2.0 | |
Fresh regex-syntax v0.3.9 | |
Fresh winapi-build v0.1.1 | |
Fresh getopts v0.2.17 | |
Fresh void v1.0.2 | |
Fresh quote v0.3.15 | |
Fresh winapi v0.2.8 | |
Fresh libc v0.2.36 | |
Fresh rustc-serialize v0.3.24 | |
Fresh cc v1.0.4 | |
Fresh lazy_static v0.2.11 | |
Fresh num-integer v0.1.35 | |
Fresh synom v0.11.3 | |
Fresh heck v0.3.0 | |
Fresh unreachable v0.1.1 | |
Fresh rand v0.4.2 | |
Fresh memchr v0.1.11 | |
Fresh rand v0.3.20 | |
Fresh time v0.1.39 | |
Fresh num-complex v0.1.41 | |
Fresh num-iter v0.1.34 | |
Fresh syn v0.11.11 | |
Fresh erlang_nif-sys v0.6.3 | |
Fresh aho-corasick v0.5.3 | |
Fresh num-bigint v0.1.41 | |
Fresh rustler_codegen v0.16.0 | |
Fresh kernel32-sys v0.2.2 | |
Fresh rustler v0.16.0 | |
Fresh num-rational v0.1.41 | |
Fresh miniz-sys v0.1.10 | |
Fresh thread-id v2.0.0 | |
Fresh num v0.1.41 | |
Fresh flate2 v0.2.20 | |
Fresh thread_local v0.2.7 | |
Fresh regex v0.1.80 | |
Fresh rustml v0.0.7 | |
Compiling adlock_dbscan v0.1.1 (file:///home/cj/elixir_projects/ad_lock/native/adlock_dbscan) | |
Running `rustc --crate-name adlock_dbscan src/lib.rs --crate-type dylib --emit=dep-info,link -C debuginfo=2 -C metadata=bc3e64ed07e35666 --out-dir /home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps -L dependency=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps --extern rustml=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustml-d0d467f921750949.rlib --extern rustler=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustler-cfe0d4aca313ce93.rlib --extern rustler_codegen=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustler_codegen-71bc3533bac46c09.so --extern lazy_static=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/liblazy_static-e56e0eebe24d7f61.rlib -L native=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/build/miniz-sys-678f410ba3e047db/out` | |
warning: unused `#[macro_use]` import | |
--> src/lib.rs:2:1 | |
| | |
2 | #[macro_use] extern crate rustler_codegen; | |
| ^^^^^^^^^^^^ | |
| | |
= note: #[warn(unused_imports)] on by default | |
warning: unused `#[macro_use]` import | |
--> src/lib.rs:4:1 | |
| | |
4 | #[macro_use] extern crate rustml; | |
| ^^^^^^^^^^^^ | |
error: linking with `cc` failed: exit code: 1 | |
| | |
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/cj/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan0.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan1.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan10.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan11.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan12.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan13.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan14.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan15.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan2.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan3.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan4.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan5.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan6.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan7.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan8.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.adlock_dbscan9.rcgu.o" "-o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/libadlock_dbscan.so" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.crate.metadata.rcgu.o" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/adlock_dbscan.crate.allocator.rcgu.o" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-L" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps" "-L" "/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/build/miniz-sys-678f410ba3e047db/out" "-L" "/home/cj/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liblazy_static-e56e0eebe24d7f61.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/librustler-cfe0d4aca313ce93.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liberlang_nif_sys-bd8a96f6b1e8ebd0.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liblazy_static-eb026ce1200efaef.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/librustml-d0d467f921750949.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libflate2-99b1304933c3fda6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libminiz_sys-6c5d2450dc6c6d36.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/librand-6a87560d96abe585.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum-1b6490774640a29a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_rational-425410ea1d388f2e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_complex-b2b9802f6e87ee12.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_iter-2282bb96b7986fe8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_bigint-04b28467c762d5ef.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_integer-d60749b9f64b6a01.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libnum_traits-40c23219b943b0f9.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/librustc_serialize-3daf7fbbbeb27b1f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/librand-2766b218614115ed.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libtime-3156ca527fde85b8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libregex-f84d5d3d0417b6ad.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libregex_syntax-8cc9a3d36966fa97.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libaho_corasick-7666f68cdbaf306a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libmemchr-816007fab612d54a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libthread_local-02e02713d7d033bd.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libthread_id-0dec327bce06929a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liblibc-b1ca85687f9f2272.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libutf8_ranges-6fdfaeaf698f1b07.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libstd-58a9e2944951d97f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libpanic_unwind-167b5e977a2ab35c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libunwind-b8892ba833aa6677.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liballoc_system-17235785be0fea01.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liblibc-2e9b8cf09e3563de.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/liballoc-d7195d5e94bc6586.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libstd_unicode-963f18f265d9b8d3.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libcore-48934815da5d2bfb.rlib" "-Wl,--no-whole-archive" "/tmp/rustc.CeD3WKLFqdWi/libcompiler_builtins-a6b6fad6cc543169.rlib" "-Wl,-Bdynamic" "-l" "blas" "-l" "opencv_highgui" "-l" "opencv_imgcodecs" "-l" "opencv_core" "-l" "opencv_imgproc" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" "-shared" | |
= note: /usr/bin/ld: cannot find -lopencv_imgcodecs | |
collect2: error: ld returned 1 exit status | |
error: aborting due to previous error | |
error: Could not compile `adlock_dbscan`. | |
Caused by: | |
process didn't exit successfully: `rustc --crate-name adlock_dbscan src/lib.rs --crate-type dylib --emit=dep-info,link -C debuginfo=2 -C metadata=bc3e64ed07e35666 --out-dir /home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps -L dependency=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps --extern rustml=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustml-d0d467f921750949.rlib --extern rustler=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustler-cfe0d4aca313ce93.rlib --extern rustler_codegen=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/librustler_codegen-71bc3533bac46c09.so --extern lazy_static=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/deps/liblazy_static-e56e0eebe24d7f61.rlib -L native=/home/cj/elixir_projects/ad_lock/native/adlock_dbscan/target/debug/build/miniz-sys-678f410ba3e047db/out` (exit code: 101) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment