Created
May 22, 2016 23:48
-
-
Save selfup/7704f4cb48e723de384054b2bc2e1a03 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
RUST_BACKTRACE=1 cargo build | |
Compiling rust v0.1.0 (file:///Users/RJPB2/Documents/rustedrails/bin/embedded/rust) | |
error: linking with `cc` failed: exit code: 1 | |
note: "cc" "-m64" "-L" "/Users/RJPB2/.multirust/toolchains/nightly/lib/rustlib/x86_64-apple-darwin/lib" "/Users/RJPB2/Documents/rustedrails/bin/embedded/rust/target/debug/nth_prime.0.o" "-o" "/Users/RJPB2/Documents/rustedrails/bin/embedded/rust/target/debug/libnth_prime.dylib" "/Users/RJPB2/Documents/rustedrails/bin/embedded/rust/target/debug/nth_prime.metadata.o" "-Wl,-dead_strip" "-nodefaultlibs" "-L" "/Users/RJPB2/Documents/rustedrails/bin/embedded/rust/target/debug" "-L" "/Users/RJPB2/Documents/rustedrails/bin/embedded/rust/target/debug/deps" "-L" "/Users/RJPB2/.rbenv/versions/2.3.0/lib" "-L" "/Users/RJPB2/.multirust/toolchains/nightly/lib/rustlib/x86_64-apple-darwin/lib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/libruru-90b63cc301e85c86.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/libruby_sys-239e2a3735d8bdac.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/liblibc-38919d24e617a235.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/librustc_serialize-3bc953984ed46e7f.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/libstd-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/libcollections-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/librustc_unicode-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/librand-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/liballoc-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/liballoc_system-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/liblibc-18402db3.rlib" "-Wl,-force_load,/var/folders/db/31c017ks01x4sgzbfzzrvl780000gn/T/rustc.8QXOubNLwv5f/libcore-18402db3.rlib" "-l" "ruby" "-l" "System" "-l" "pthread" "-l" "c" "-l" "m" "-dynamiclib" "-Wl,-dylib" "-l" "compiler-rt" | |
note: Undefined symbols for architecture x86_64: | |
"_rb_funcallv", referenced from: | |
binding::util::call_method::h9436be15d3dcfc53wia in libruru-90b63cc301e85c86.rlib(ruru-90b63cc301e85c86.0.o) | |
"_rb_sym2id", referenced from: | |
binding::symbol::sym_to_id::h8437d6bfa233187fvha in libruru-90b63cc301e85c86.rlib(ruru-90b63cc301e85c86.0.o) | |
"_rb_id2sym", referenced from: | |
binding::symbol::id_to_sym::had7da558610630f31ga in libruru-90b63cc301e85c86.rlib(ruru-90b63cc301e85c86.0.o) | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
error: aborting due to previous error | |
Could not compile `rust`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment