Failed to compile on windows (Cygwin)
Created by: JacobSinclair
I tried to compile Redox on windows with cygwin (gcc, g++, curl and make), and I got this error:
ling termion v1.5.0 (https://github.com/redox-os/termion.git?branch=redox_termios#18e589b9)
error[E0432]: unresolved import `libc::termios`
--> C:\Users\theba\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.0\src\termios.rs:4:9
|
4 | pub use libc::termios as Termios;
| ^^^^^^^^^^^^^^^^^^^^^^^^ no `termios` in the root
error[E0432]: unresolved import `libc::ioctl`
--> C:\Users\theba\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.0\src\size.rs:42:9
|
42 | use libc::ioctl;
| ^^^^^^^^^^^ no `ioctl` in the root
error[E0432]: unresolved import `libc::STDOUT_FILENO`
--> C:\Users\theba\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.0\src\size.rs:43:9
|
43 | use libc::STDOUT_FILENO;
| ^^^^^^^^^^^^^^^^^^^ no `STDOUT_FILENO` in the root
error[E0432]: unresolved import `std::os::unix`
--> C:\Users\theba\.cargo\registry\src\github.com-1ecc6299db9ec823\termion-1.5.0\src\tty.rs:2:14
|
2 | use std::os::unix::io::AsRawFd;
| ^^^^ Could not find `unix` in `os`
Compiling tar v0.4.13 (https://github.com/redox-os/tar-rs#b71c2202)
error: cannot continue compilation due to previous error
error: Could not compile `termion`.
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `sys`
--> C:\Users\theba\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\lib.rs:22:9
|
22 | pub use sys::size::terminal_size;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\theba\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\lib.rs:23:9
|
23 | pub use sys::tty::{is_tty, get_tty};
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\theba\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\async.rs:5:5
|
5 | use sys::tty::get_tty;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\theba\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\raw.rs:28:5
|
28 | use sys::Termios;
| ^^^ Maybe a missing `extern crate sys;`?
error[E0432]: unresolved import `sys`
--> C:\Users\theba\.cargo\git\checkouts\termion-994101b84ecd1aab\18e589b\src\raw.rs:29:5
|
29 | use sys::attr::{get_terminal_attr, raw_terminal_attr, set_terminal_attr};
| ^^^ Maybe a missing `extern crate sys;`?
error: aborting due to 5 previous errors
error: Could not compile `termion`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [mk/initfs.mk:4: build/initfs.tag] Error 101