make uninstall && make clean did not resolve the issue. However, when I removed everything in x86_64-apple-darwin, it worked.
$ rm -fr x86_64-apple-darwin Thanks for the hint. Amitava On Sat, Apr 7, 2012 at 6:32 PM, Niko Matsakis <[email protected]> wrote: > This sounds like it might be an issue with linking to older versions of > the libraries. Tr a "make clean" and "make uninstall". > > > > Niko > > > On 4/7/12 12:28 PM, Amitava Shee wrote: > >> I am on osx snow leopard (10.6.8) >> >> amitava:src amitava$ uname -a >> Darwin amitava.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 >> 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_**I386 i386 >> >> It used to build fine up until now. I get the following error >> >> src/rustc/middle/typeck.rs:370**:14: 370:28 error: unresolved name: >> ast::re_static >> src/rustc/middle/typeck.rs:370 <http://typeck.rs:370> >> ast::re_static { >> >> ^~~~~~~~~~~~~~ >> src/rustc/middle/typeck.rs:370**:14: 370:28 error: not a enum variant: >> ast::re_static >> src/rustc/middle/typeck.rs:370 <http://typeck.rs:370> >> ast::re_static { >> >> ^~~~~~~~~~~~~~ >> src/rustc/middle/region.rs:380**:6: 380:20 error: unresolved name: >> ast::re_static >> src/rustc/middle/region.rs:380 <http://region.rs:380> >> ast::re_static { /* fallthrough */ } >> >> ^~~~~~~~~~~~~~ >> src/rustc/middle/region.rs:380**:6: 380:20 error: not a enum variant: >> ast::re_static >> src/rustc/middle/region.rs:380 <http://region.rs:380> >> ast::re_static { /* fallthrough */ } >> >> ^~~~~~~~~~~~~~ >> src/rustc/metadata/creader.rs:**272:8: 272:32 error: unresolved name: >> attr::find_linkage_attrs >> src/rustc/metadata/creader.rs:**272 <http://creader.rs:272> < >> http://creader.rs:272> for attr::find_linkage_attrs(**attrs).each >> {|attr| >> >> ^~~~~~~~~~~~~~~~~~~~~~~~ >> error: aborting due to previous errors >> make: *** >> [x86_64-apple-darwin/stage0/**lib/rustc/x86_64-apple-darwin/**lib/librustc.dylib] >> Error 101 >> >> Here's my git log output >> ================== >> amitava:src amitava$ git log >> commit 7aaa120bcc8819c32c78f49aee90b3**31a2759a40 >> Author: Haitao Li <[email protected] <mailto:[email protected]>> >> >> Date: Sun Apr 8 02:00:00 2012 +0800 >> >> Check version when resolving transitive dependent crates >> >> Issue #2138 >> >> commit 5aa5220f8a3fc3ec0c58dede9f4c14**be4a3752af >> Author: Haitao Li <[email protected] <mailto:[email protected]>> >> >> Date: Sun Apr 8 01:59:37 2012 +0800 >> >> Encode crate dependencies' hash and version data >> >> commit 5300662b4e06f4cde219427bbcc231**3eca0a5c51 >> Author: Niko Matsakis <[email protected] <mailto:[email protected]>> >> >> Date: Fri Apr 6 17:37:37 2012 -0700 >> >> Refactor inference so that subtyping/lub/glb share more code >> >> commit 2f42b14b4f57d602ffa446a8f30840**c2dcbeb127 >> Author: Haitao Li <[email protected] <mailto:[email protected]>> >> >> Date: Fri Apr 6 18:45:49 2012 +0800 >> >> Use version and hash in crate_map name >> >> Related issue #2137 >> >> Thankd & Regards, >> Amitava Shee >> >> >> >> >> >> ______________________________**_________________ >> Rust-dev mailing list >> [email protected] >> https://mail.mozilla.org/**listinfo/rust-dev<https://mail.mozilla.org/listinfo/rust-dev> >> > > -- Amitava Shee Software Architect There are two ways of constructing a software design. One is to make it so simple that there are obviously no deficiencies; the other is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult. -- C. A. R. Hoare The Emperor's Old Clothes, CACM February 1981
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
