pczarn / rustboot

A multi-platform kernel written in Rust
http://pczarn.github.io/rustboot/doc/main/index.html
MIT License
197 stars 15 forks source link

Problem while installing on Ubuntu 14.04 #19

Open anujfulia opened 8 years ago

anujfulia commented 8 years ago

I tried to install it on my pc, but got following error :

make[1]: Entering directory /home/dragon/rustboot/arch/x86' /usr/local/bin/rustc --target i686-unknown-linux-gnu -Z no-landing-pads -C opt-level=2 -C lto -L ./boot --out-dir ./boot --emit=dep-info,llvm-bc ../../common/lib.rs ../../common/macros.rs:15:1: 15:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon ../../common/macros.rs:15 ) ^ ../../common/macros.rs:75:1: 75:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon ../../common/macros.rs:75 ) ^ ../../common/macros.rs:79:1: 79:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon ../../common/macros.rs:79 ) ^ ../../common/macros.rs:83:1: 83:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon ../../common/macros.rs:83 ) ^ ../../common/rust_core/c_types.rs:52:15: 52:16 error: expected one of!,(,+,::,;,<, or], found, ../../common/rust_core/c_types.rs:52 size: [u32, ..9] ^ make[1]: *** [boot/main.bc] Error 101 make[1]: Leaving directory/home/dragon/rustboot/arch/x86' make: *\ [run] Error 2

How to resolve this ?Please help