Skip to content

Instantly share code, notes, and snippets.

@reem
Created October 7, 2014 11:44
Show Gist options
  • Save reem/d9c2ecb1b7473bc8d24b to your computer and use it in GitHub Desktop.
Save reem/d9c2ecb1b7473bc8d24b to your computer and use it in GitHub Desktop.
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/Jonathan/hackreactor/iron/target/404' '/Users/Jonathan/hackreactor/iron/target/404.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '-nodefaultlibs' '-fno-lto' '-Wl,-dead_strip' '/Users/Jonathan/hackreactor/iron/target/libiron-15fdf3e4240d3ccd.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libplugin-f845a6ab531c9346.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libreplace-map-d1de898a4eb569a5.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphantom-da5bb593d3eb3a9e.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypemap-3fdac74be380d9e4.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lnative-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/deps/libcontent_type-b3fc4f01bc3dcbfb.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lgenerator-e170cac01c08bdc6' '/Users/Jonathan/hackreactor/iron/target/deps/libphf-4fc01267f85abb4e.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lphf_mac-78b8694be35c3487' '-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' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-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' '-ldebug-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lterm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lfmt_macros-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgetopts-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-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' '/Users/Jonathan/hackreactor/iron/target/deps/libunsafe-any-411b26d39a73c121.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-larena-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/deps/liberror-e5e02eafec1ab2f1.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypeable-d0d1baca4b0d6107.rlib' '-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/Jonathan/hackreactor/iron/target' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-L' '/Users/Jonathan/hackreactor/iron/target/native/http-b27c1e7938f5a5d0' '-L' '/Users/Jonathan/hackreactor/iron/target/native/openssl-fbe75530f7eda428' '-L' '/Users/Jonathan/hackreactor/iron/.rust' '-L' '/Users/Jonathan/hackreactor/iron' '-lcurl' '-lcurl' '-lcurl' '-lcurl' '-lssl' '-lcrypto' '-lpthread' '-ledit' '-lm' '-lc++' '-lSystem' '-lpthread' '-lc' '-lm' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/Jonathan/hackreactor/iron/.rust'
Undefined symbols for architecture x86_64:
"status::Status.fmt..Show::fmt::h305e845552097fc683g", referenced from:
fmt::secret_show::h13438679637619105617 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"method::Method.fmt..Show::fmt::haf28a7363c88f0a32Jc", referenced from:
fmt::secret_show::h6266461810578575327 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bf9b", referenced from:
server::Server::serve_forever::closure.3796 in 404.o
"server::response::ResponseWriter$LT$$x27a$GT$.Writer::write::h8235d23b91a0153akWb", referenced from:
iron::IronListener$LT$H$GT$.http..Server::handle_request::h17159630396567251447 in 404.o
response::Response::write_back::h0a4f5446d2caac2fpEa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::write_back::closure.4827 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847b1cc", referenced from:
server::Server::serve_forever::closure.3811 in 404.o
"server::Server::serve_forever::LOC::h0ad336666821847bt6b", referenced from:
server::Server::serve_forever::closure.3475 in 404.o
"buffer::READ_BUF_SIZE::h92afda0332da804craa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h210882427293468319 in 404.o
"server::request::Request::load::h18b8b2b36e1af0deoKb", referenced from:
server::Server::serve_forever::closure.3411 in 404.o
"server::response::ResponseWriter$LT$$x27a$GT$::write_headers::h6b6935624bf03386GSb", referenced from:
server::Server::serve_forever::closure.3411 in 404.o
"server::response::ResponseWriter$LT$$x27a$GT$::new::h8a9d3d46c5f2eaad7Qb", referenced from:
server::Server::serve_forever::closure.3411 in 404.o
"server::response::ResponseWriter$LT$$x27a$GT$::try_write_headers::h3c8d286ceb56697elSb", referenced from:
server::Server::serve_forever::closure.3411 in 404.o
"server::Server::serve_forever::LOC::h0ad336666821847bu0b", referenced from:
server::Server::serve_forever::closure.2668 in 404.o
"server::response::ResponseWriter$LT$$x27a$GT$::finish_response::h8755d265fd6be572IVb", referenced from:
server::Server::serve_forever::closure.3411 in 404.o
"server::Server::serve_forever::LOC::h0ad336666821847bgbc", referenced from:
server::Server::serve_forever::closure.3805 in 404.o
"server::Server::serve_forever::LOC::h0ad336666821847ba2b", referenced from:
server::Server::serve_forever::closure.2674 in 404.o
"server::perf_dumper::hf40bbb71e5209700Voc", referenced from:
server::Server::serve_forever::closure.3291 in 404.o
"headers::response::HeaderCollection::new::haf0558701b1912a2QBf", referenced from:
response::Response::status::hd8c9b1eeabd1ab4cqCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"headers::host::Host.fmt..Show::fmt::h562b551c0aceb392VJd", referenced from:
fmt::secret_show::h692970421712007833 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bXXb", referenced from:
server::Server::serve_forever::closure.2507 in 404.o
"server::Server::serve_forever::LOC::h0ad336666821847bh4b", referenced from:
server::Server::serve_forever::closure.3328 in 404.o
"buffer::WRITE_BUF_SIZE::h92afda0332da804cvaa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h210882427293468319 in 404.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
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/Jonathan/hackreactor/iron/target/hello' '/Users/Jonathan/hackreactor/iron/target/hello.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '-nodefaultlibs' '-fno-lto' '-Wl,-dead_strip' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lnative-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/libiron-15fdf3e4240d3ccd.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/liberror-e5e02eafec1ab2f1.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libcontent_type-b3fc4f01bc3dcbfb.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lgenerator-e170cac01c08bdc6' '/Users/Jonathan/hackreactor/iron/target/deps/libtypeable-d0d1baca4b0d6107.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libreplace-map-d1de898a4eb569a5.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphf-4fc01267f85abb4e.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lphf_mac-78b8694be35c3487' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-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' '-lterm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lfmt_macros-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ldebug-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-larena-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgetopts-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lserialize-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lflate-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/deps/libplugin-f845a6ab531c9346.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypemap-3fdac74be380d9e4.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libunsafe-any-411b26d39a73c121.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphantom-da5bb593d3eb3a9e.rlib' '-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/Jonathan/hackreactor/iron/target' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-L' '/Users/Jonathan/hackreactor/iron/target/native/http-b27c1e7938f5a5d0' '-L' '/Users/Jonathan/hackreactor/iron/target/native/openssl-fbe75530f7eda428' '-L' '/Users/Jonathan/hackreactor/iron/.rust' '-L' '/Users/Jonathan/hackreactor/iron' '-lssl' '-lcrypto' '-lcurl' '-lcurl' '-lcurl' '-lcurl' '-lpthread' '-ledit' '-lm' '-lc++' '-lSystem' '-lpthread' '-lc' '-lm' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/Jonathan/hackreactor/iron/.rust'
Undefined symbols for architecture x86_64:
"status::Status.fmt..Show::fmt::h305e845552097fc683g", referenced from:
fmt::secret_show::h13438679637619105617 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"method::Method.fmt..Show::fmt::haf28a7363c88f0a32Jc", referenced from:
fmt::secret_show::h6266461810578575327 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bf9b", referenced from:
server::Server::serve_forever::closure.4218 in hello.o
"server::response::ResponseWriter$LT$$x27a$GT$.Writer::write::h8235d23b91a0153akWb", referenced from:
iron::IronListener$LT$H$GT$.http..Server::handle_request::h12459573636952666635 in hello.o
response::Response::write_back::h0a4f5446d2caac2fpEa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::write_back::closure.4827 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847b1cc", referenced from:
server::Server::serve_forever::closure.4233 in hello.o
"server::Server::serve_forever::LOC::h0ad336666821847bt6b", referenced from:
server::Server::serve_forever::closure.4029 in hello.o
"buffer::READ_BUF_SIZE::h92afda0332da804craa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h12193656340658235803 in hello.o
"buffer::WRITE_BUF_SIZE::h92afda0332da804cvaa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h12193656340658235803 in hello.o
"server::request::Request::load::h18b8b2b36e1af0deoKb", referenced from:
server::Server::serve_forever::closure.4002 in hello.o
"server::response::ResponseWriter$LT$$x27a$GT$::write_headers::h6b6935624bf03386GSb", referenced from:
server::Server::serve_forever::closure.4002 in hello.o
"server::response::ResponseWriter$LT$$x27a$GT$::new::h8a9d3d46c5f2eaad7Qb", referenced from:
server::Server::serve_forever::closure.4002 in hello.o
"server::response::ResponseWriter$LT$$x27a$GT$::try_write_headers::h3c8d286ceb56697elSb", referenced from:
server::Server::serve_forever::closure.4002 in hello.o
"server::Server::serve_forever::LOC::h0ad336666821847bu0b", referenced from:
server::Server::serve_forever::closure.3281 in hello.o
"server::response::ResponseWriter$LT$$x27a$GT$::finish_response::h8755d265fd6be572IVb", referenced from:
server::Server::serve_forever::closure.4002 in hello.o
"server::Server::serve_forever::LOC::h0ad336666821847bgbc", referenced from:
server::Server::serve_forever::closure.4227 in hello.o
"server::perf_dumper::hf40bbb71e5209700Voc", referenced from:
server::Server::serve_forever::closure.3887 in hello.o
"server::Server::serve_forever::LOC::h0ad336666821847ba2b", referenced from:
server::Server::serve_forever::closure.3287 in hello.o
"headers::host::Host.fmt..Show::fmt::h562b551c0aceb392VJd", referenced from:
fmt::secret_show::h692970421712007833 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bXXb", referenced from:
server::Server::serve_forever::closure.3198 in hello.o
"headers::response::HeaderCollection::new::haf0558701b1912a2QBf", referenced from:
response::Response::with::h16323871491103403803 in hello.o
response::Response::status::hd8c9b1eeabd1ab4cqCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bh4b", referenced from:
server::Server::serve_forever::closure.3923 in hello.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
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/Jonathan/hackreactor/iron/target/error' '/Users/Jonathan/hackreactor/iron/target/error.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '-nodefaultlibs' '-fno-lto' '-Wl,-dead_strip' '/Users/Jonathan/hackreactor/iron/target/libiron-15fdf3e4240d3ccd.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libcontent_type-b3fc4f01bc3dcbfb.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lgenerator-e170cac01c08bdc6' '/Users/Jonathan/hackreactor/iron/target/deps/liberror-e5e02eafec1ab2f1.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypeable-d0d1baca4b0d6107.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libreplace-map-d1de898a4eb569a5.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphf-4fc01267f85abb4e.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lnative-4e7c5e5c' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lphf_mac-78b8694be35c3487' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_back-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgetopts-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/deps/libplugin-f845a6ab531c9346.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypemap-3fdac74be380d9e4.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libunsafe-any-411b26d39a73c121.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lsyntax-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lserialize-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-larena-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lfmt_macros-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lflate-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lterm-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' '/Users/Jonathan/hackreactor/iron/target/deps/libphantom-da5bb593d3eb3a9e.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ldebug-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/Jonathan/hackreactor/iron/target' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-L' '/Users/Jonathan/hackreactor/iron/target/native/http-b27c1e7938f5a5d0' '-L' '/Users/Jonathan/hackreactor/iron/target/native/openssl-fbe75530f7eda428' '-L' '/Users/Jonathan/hackreactor/iron/.rust' '-L' '/Users/Jonathan/hackreactor/iron' '-lcurl' '-lcurl' '-lcurl' '-lcurl' '-lssl' '-lcrypto' '-lpthread' '-ledit' '-lm' '-lc++' '-lSystem' '-lpthread' '-lc' '-lm' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/Jonathan/hackreactor/iron/.rust'
Undefined symbols for architecture x86_64:
"status::Status.fmt..Show::fmt::h305e845552097fc683g", referenced from:
fmt::secret_show::h13438679637619105617 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"method::Method.fmt..Show::fmt::haf28a7363c88f0a32Jc", referenced from:
fmt::secret_show::h6266461810578575327 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bf9b", referenced from:
server::Server::serve_forever::closure.4400 in error.o
"server::response::ResponseWriter$LT$$x27a$GT$.Writer::write::h8235d23b91a0153akWb", referenced from:
iron::IronListener$LT$H$GT$.http..Server::handle_request::h4191942383413972378 in error.o
response::Response::write_back::h0a4f5446d2caac2fpEa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::write_back::closure.4827 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847b1cc", referenced from:
server::Server::serve_forever::closure.4415 in error.o
"server::Server::serve_forever::LOC::h0ad336666821847bt6b", referenced from:
server::Server::serve_forever::closure.4215 in error.o
"buffer::READ_BUF_SIZE::h92afda0332da804craa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h6675021261280492525 in error.o
"buffer::WRITE_BUF_SIZE::h92afda0332da804cvaa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h6675021261280492525 in error.o
"server::request::Request::load::h18b8b2b36e1af0deoKb", referenced from:
server::Server::serve_forever::closure.4188 in error.o
"server::response::ResponseWriter$LT$$x27a$GT$::write_headers::h6b6935624bf03386GSb", referenced from:
server::Server::serve_forever::closure.4188 in error.o
"server::response::ResponseWriter$LT$$x27a$GT$::new::h8a9d3d46c5f2eaad7Qb", referenced from:
server::Server::serve_forever::closure.4188 in error.o
"server::response::ResponseWriter$LT$$x27a$GT$::try_write_headers::h3c8d286ceb56697elSb", referenced from:
server::Server::serve_forever::closure.4188 in error.o
"server::Server::serve_forever::LOC::h0ad336666821847bu0b", referenced from:
server::Server::serve_forever::closure.3470 in error.o
"server::response::ResponseWriter$LT$$x27a$GT$::finish_response::h8755d265fd6be572IVb", referenced from:
server::Server::serve_forever::closure.4188 in error.o
"server::Server::serve_forever::LOC::h0ad336666821847bgbc", referenced from:
server::Server::serve_forever::closure.4409 in error.o
"server::perf_dumper::hf40bbb71e5209700Voc", referenced from:
server::Server::serve_forever::closure.4073 in error.o
"server::Server::serve_forever::LOC::h0ad336666821847ba2b", referenced from:
server::Server::serve_forever::closure.3476 in error.o
"headers::host::Host.fmt..Show::fmt::h562b551c0aceb392VJd", referenced from:
fmt::secret_show::h692970421712007833 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bXXb", referenced from:
server::Server::serve_forever::closure.3397 in error.o
"headers::response::HeaderCollection::new::haf0558701b1912a2QBf", referenced from:
response::Response::with::h18035978646521654589 in error.o
response::Response::new::he2fefdd527742c07eCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::status::hd8c9b1eeabd1ab4cqCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bh4b", referenced from:
server::Server::serve_forever::closure.4109 in error.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
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/Jonathan/hackreactor/iron/target/around' '/Users/Jonathan/hackreactor/iron/target/around.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '-nodefaultlibs' '-fno-lto' '-Wl,-dead_strip' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lnative-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/libiron-15fdf3e4240d3ccd.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/liberror-e5e02eafec1ab2f1.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libreplace-map-d1de898a4eb569a5.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libplugin-f845a6ab531c9346.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphantom-da5bb593d3eb3a9e.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypeable-d0d1baca4b0d6107.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libcontent_type-b3fc4f01bc3dcbfb.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lgenerator-e170cac01c08bdc6' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lphf_mac-78b8694be35c3487' '/Users/Jonathan/hackreactor/iron/target/deps/libphf-4fc01267f85abb4e.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_back-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lsyntax-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-larena-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgetopts-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lflate-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lterm-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ldebug-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-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' '/Users/Jonathan/hackreactor/iron/target/deps/libtypemap-3fdac74be380d9e4.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libunsafe-any-411b26d39a73c121.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lfmt_macros-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/Jonathan/hackreactor/iron/target' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-L' '/Users/Jonathan/hackreactor/iron/target/native/http-b27c1e7938f5a5d0' '-L' '/Users/Jonathan/hackreactor/iron/target/native/openssl-fbe75530f7eda428' '-L' '/Users/Jonathan/hackreactor/iron/.rust' '-L' '/Users/Jonathan/hackreactor/iron' '-lcurl' '-lcurl' '-lcurl' '-lcurl' '-lpthread' '-ledit' '-lm' '-lc++' '-lssl' '-lcrypto' '-lSystem' '-lpthread' '-lc' '-lm' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/Jonathan/hackreactor/iron/.rust'
Undefined symbols for architecture x86_64:
"status::Status.fmt..Show::fmt::h305e845552097fc683g", referenced from:
fmt::secret_show::h13438679637619105617 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"method::Method.fmt..Show::fmt::haf28a7363c88f0a32Jc", referenced from:
fmt::secret_show::h6266461810578575327 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bf9b", referenced from:
server::Server::serve_forever::closure.4379 in around.o
"server::response::ResponseWriter$LT$$x27a$GT$.Writer::write::h8235d23b91a0153akWb", referenced from:
iron::IronListener$LT$H$GT$.http..Server::handle_request::h14569947148955464687 in around.o
response::Response::write_back::h0a4f5446d2caac2fpEa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::write_back::closure.4827 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847b1cc", referenced from:
server::Server::serve_forever::closure.4394 in around.o
"server::Server::serve_forever::LOC::h0ad336666821847bt6b", referenced from:
server::Server::serve_forever::closure.4260 in around.o
"buffer::READ_BUF_SIZE::h92afda0332da804craa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h15473022841844318754 in around.o
"buffer::WRITE_BUF_SIZE::h92afda0332da804cvaa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h15473022841844318754 in around.o
"server::request::Request::load::h18b8b2b36e1af0deoKb", referenced from:
server::Server::serve_forever::closure.4233 in around.o
"server::response::ResponseWriter$LT$$x27a$GT$::write_headers::h6b6935624bf03386GSb", referenced from:
server::Server::serve_forever::closure.4233 in around.o
"server::response::ResponseWriter$LT$$x27a$GT$::new::h8a9d3d46c5f2eaad7Qb", referenced from:
server::Server::serve_forever::closure.4233 in around.o
"server::response::ResponseWriter$LT$$x27a$GT$::try_write_headers::h3c8d286ceb56697elSb", referenced from:
server::Server::serve_forever::closure.4233 in around.o
"server::Server::serve_forever::LOC::h0ad336666821847bu0b", referenced from:
server::Server::serve_forever::closure.3513 in around.o
"server::response::ResponseWriter$LT$$x27a$GT$::finish_response::h8755d265fd6be572IVb", referenced from:
server::Server::serve_forever::closure.4233 in around.o
"server::Server::serve_forever::LOC::h0ad336666821847bgbc", referenced from:
server::Server::serve_forever::closure.4388 in around.o
"server::perf_dumper::hf40bbb71e5209700Voc", referenced from:
server::Server::serve_forever::closure.4119 in around.o
"server::Server::serve_forever::LOC::h0ad336666821847ba2b", referenced from:
server::Server::serve_forever::closure.3519 in around.o
"headers::host::Host.fmt..Show::fmt::h562b551c0aceb392VJd", referenced from:
fmt::secret_show::h692970421712007833 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bXXb", referenced from:
server::Server::serve_forever::closure.3430 in around.o
"headers::response::HeaderCollection::new::haf0558701b1912a2QBf", referenced from:
response::Response::with::h1999584767702333438 in around.o
response::Response::status::hd8c9b1eeabd1ab4cqCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bh4b", referenced from:
server::Server::serve_forever::closure.4154 in around.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
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-o' '/Users/Jonathan/hackreactor/iron/target/time' '/Users/Jonathan/hackreactor/iron/target/time.o' '-Wl,-force_load,/usr/local/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' '-nodefaultlibs' '-fno-lto' '-Wl,-dead_strip' '/Users/Jonathan/hackreactor/iron/target/libiron-15fdf3e4240d3ccd.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libreplace-map-d1de898a4eb569a5.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/liberror-e5e02eafec1ab2f1.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libplugin-f845a6ab531c9346.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphantom-da5bb593d3eb3a9e.rlib' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lnative-4e7c5e5c' '/Users/Jonathan/hackreactor/iron/target/deps/libcontent_type-b3fc4f01bc3dcbfb.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libphf-4fc01267f85abb4e.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lgenerator-e170cac01c08bdc6' '/Users/Jonathan/hackreactor/iron/target/deps/libtypeable-d0d1baca4b0d6107.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libtypemap-3fdac74be380d9e4.rlib' '/Users/Jonathan/hackreactor/iron/target/deps/libunsafe-any-411b26d39a73c121.rlib' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-lphf_mac-78b8694be35c3487' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-ltime-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrbml-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lgraphviz-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lrustc_llvm-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' '-lterm-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' '-ldebug-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' '-lgetopts-4e7c5e5c' '-L' '/usr/local/lib/rustlib/x86_64-apple-darwin/lib' '-lflate-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/Jonathan/hackreactor/iron/target' '-L' '/Users/Jonathan/hackreactor/iron/target/deps' '-L' '/Users/Jonathan/hackreactor/iron/target/native/http-b27c1e7938f5a5d0' '-L' '/Users/Jonathan/hackreactor/iron/target/native/openssl-fbe75530f7eda428' '-L' '/Users/Jonathan/hackreactor/iron/.rust' '-L' '/Users/Jonathan/hackreactor/iron' '-lssl' '-lcrypto' '-lcurl' '-lcurl' '-lcurl' '-lcurl' '-lpthread' '-ledit' '-lm' '-lc++' '-lSystem' '-lpthread' '-lc' '-lm' '-lcompiler-rt'
note: ld: warning: directory not found for option '-L/Users/Jonathan/hackreactor/iron/.rust'
Undefined symbols for architecture x86_64:
"status::Status.fmt..Show::fmt::h305e845552097fc683g", referenced from:
fmt::secret_show::h13438679637619105617 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"method::Method.fmt..Show::fmt::haf28a7363c88f0a32Jc", referenced from:
fmt::secret_show::h6266461810578575327 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bf9b", referenced from:
server::Server::serve_forever::closure.4645 in time.o
"server::response::ResponseWriter$LT$$x27a$GT$.Writer::write::h8235d23b91a0153akWb", referenced from:
iron::IronListener$LT$H$GT$.http..Server::handle_request::h3412332314429335899 in time.o
response::Response::write_back::h0a4f5446d2caac2fpEa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
response::Response::write_back::closure.4827 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847b1cc", referenced from:
server::Server::serve_forever::closure.4660 in time.o
"server::Server::serve_forever::LOC::h0ad336666821847bt6b", referenced from:
server::Server::serve_forever::closure.4500 in time.o
"buffer::READ_BUF_SIZE::h92afda0332da804craa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h2801523137284670166 in time.o
"buffer::WRITE_BUF_SIZE::h92afda0332da804cvaa", referenced from:
buffer::BufferedStream$LT$T$GT$::new::h2801523137284670166 in time.o
"server::request::Request::load::h18b8b2b36e1af0deoKb", referenced from:
server::Server::serve_forever::closure.4473 in time.o
"server::response::ResponseWriter$LT$$x27a$GT$::write_headers::h6b6935624bf03386GSb", referenced from:
server::Server::serve_forever::closure.4473 in time.o
"server::response::ResponseWriter$LT$$x27a$GT$::new::h8a9d3d46c5f2eaad7Qb", referenced from:
server::Server::serve_forever::closure.4473 in time.o
"server::response::ResponseWriter$LT$$x27a$GT$::try_write_headers::h3c8d286ceb56697elSb", referenced from:
server::Server::serve_forever::closure.4473 in time.o
"server::Server::serve_forever::LOC::h0ad336666821847bu0b", referenced from:
server::Server::serve_forever::closure.3808 in time.o
"server::response::ResponseWriter$LT$$x27a$GT$::finish_response::h8755d265fd6be572IVb", referenced from:
server::Server::serve_forever::closure.4473 in time.o
"server::Server::serve_forever::LOC::h0ad336666821847bgbc", referenced from:
server::Server::serve_forever::closure.4654 in time.o
"server::perf_dumper::hf40bbb71e5209700Voc", referenced from:
server::Server::serve_forever::closure.4361 in time.o
"server::Server::serve_forever::LOC::h0ad336666821847ba2b", referenced from:
server::Server::serve_forever::closure.3814 in time.o
"headers::host::Host.fmt..Show::fmt::h562b551c0aceb392VJd", referenced from:
fmt::secret_show::h692970421712007833 in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bXXb", referenced from:
server::Server::serve_forever::closure.3725 in time.o
"headers::response::HeaderCollection::new::haf0558701b1912a2QBf", referenced from:
response::Response::with::h13698568552433575786 in time.o
response::Response::status::hd8c9b1eeabd1ab4cqCa in libiron-15fdf3e4240d3ccd.rlib(iron-15fdf3e4240d3ccd.o)
"server::Server::serve_forever::LOC::h0ad336666821847bh4b", referenced from:
server::Server::serve_forever::closure.4396 in time.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 `iron`.
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