reem / rust-http-content-type

2 stars 7 forks source link

Could not compile generator #18

Open tpitale opened 9 years ago

tpitale commented 9 years ago
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libgenerator-e170cac01c08bdc6.dylib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/generator-e170cac01c08bdc6.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '/Users/tpitale/Development/Personal/televised-rust/target/deps/generator-e170cac01c08bdc6.metadata.o' '-Wl,-dead_strip' '-nodefaultlibs' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libhttp-b27c1e7938f5a5d0.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/liburl-921578b148f50e06.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libopenssl-aae9fce4a01fef66.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libtime-881054b2d4a68392.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-8745cc083d450456.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-index-japanese-483043e85d4a33ad.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-index-simpchinese-2dc900f172f1b6eb.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-index-tradchinese-31c5a3802fca9dba.rlib' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libopenssl-sys-3e3038eb4813d419.rlib' '-L' '/Users/tpitale/Development/Personal/televised-rust/target/deps' '-lphf_mac-78b8694be35c3487' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lflate-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_back-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lsyntax-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lfmt_macros-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-larena-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgetopts-4e7c5e5c' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-index-singlebyte-bea7b3e2495b3c3b.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lterm-4e7c5e5c' '/Users/tpitale/Development/Personal/televised-rust/target/deps/libencoding-index-korean-deaa17992fade0b3.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lserialize-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-llog-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lregex-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lstd-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lsync-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustrt-4e7c5e5c' '-L' '/Users/tpitale/Development/Personal/televised-rust/target/deps' '-L' '/Users/tpitale/Development/Personal/televised-rust/target/deps' '-L' '/Users/tpitale/Development/Personal/televised-rust/target/native/http-b27c1e7938f5a5d0' '-L' '/usr/lib' '-L' '/Users/tpitale/Development/Personal/televised-rust/target/build/time-881054b2d4a68392/out' '-L' '/Users/tpitale/.cargo/git/checkouts/rust-http-content-type-e95bbac12cca2eca/master/generator/.rust' '-L' '/Users/tpitale/.cargo/git/checkouts/rust-http-content-type-e95bbac12cca2eca/master/generator' '-lssl' '-lcrypto' '-lz' '-lpthread' '-ledit' '-lm' '-lc++' '-lSystem' '-lpthread' '-lc' '-lm' '-dynamiclib' '-Wl,-dylib' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/tpitale/.cargo/git/checkouts/rust-http-content-type-e95bbac12cca2eca/master/generator/.rust'
Undefined symbols for architecture x86_64:
  "_EVP_aes_128_xts", referenced from:
      crypto::symm::evpc::h3440d9665ef08c23bDb in libopenssl-aae9fce4a01fef66.rlib(openssl-aae9fce4a01fef66.o)
  "_EVP_aes_256_xts", referenced from:
      crypto::symm::evpc::h3440d9665ef08c23bDb in libopenssl-aae9fce4a01fef66.rlib(openssl-aae9fce4a01fef66.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 `generator`.

Any idea what might be causing this compilation error? Thanks for your time!

reem commented 9 years ago

Can you try this again with the latest versions of rustc and cargo? I'm having trouble reproducing.

tpitale commented 9 years ago

I was using the nightly from Monday. But i'll install the latest nightly and try again.