Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm-linux-androideabi build failures #298

Closed
posborne opened this issue Mar 7, 2016 · 2 comments
Closed

arm-linux-androideabi build failures #298

posborne opened this issue Mar 7, 2016 · 2 comments

Comments

@posborne
Copy link
Member

posborne commented Mar 7, 2016

Using the new docker test infrastructure...

$ RUST_VERSIONS=stable RUST_TARGETS=arm-linux-androideabi ./ci/run-all.sh
...
     Running `rustc /root/.multirust/toolchains/1.7.0/cargo/registry/src/gh.neting.cc-88ac128001ac3a9a/advapi32-sys-0.1.2/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /build/debug/build/advapi32-sys-911258561df3b2a9 --emit=dep-info,link -L dependency=/build/debug/deps -L dependency=/build/debug/deps --extern build=/build/debug/deps/libbuild-7bc4b8a4c9d61577.rlib --cap-lints allow`
/source/src/sys/termios.rs:45:13: 45:38 error: unresolved import `libc::funcs::bsd44::ioctl`. Could not find `funcs` in `libc` [E0432]
/source/src/sys/termios.rs:45         use libc::funcs::bsd44::ioctl;
                                          ^~~~~~~~~~~~~~~~~~~~~~~~~
/source/src/sys/termios.rs:45:13: 45:38 help: run `rustc --explain E0432` to see a detailed explanation
/source/src/sys/socket/addr.rs:550:29: 550:40 error: unresolved import `libc::sockaddr_nl`. There is no `sockaddr_nl` in `libc`. Did you mean to use `sockaddr_ll`? [E0432]
/source/src/sys/socket/addr.rs:550     use libc::{sa_family_t, sockaddr_nl};
                                                               ^~~~~~~~~~~
/source/src/sys/socket/addr.rs:550:29: 550:40 help: run `rustc --explain E0432` to see a detailed explanation
@posborne
Copy link
Member Author

sockaddr_nl should be resolved by rust-lang/libc#225

kamalmarhubi added a commit to kamalmarhubi/nix-rust that referenced this issue Mar 13, 2016
This fixes an import that was missed in the upgrade from libc 0.1 series
to 0.2 series.

Refs nix-rust#298
kamalmarhubi added a commit to kamalmarhubi/nix-rust that referenced this issue Mar 13, 2016
This fixes an import that was missed in the upgrade from libc 0.1 series
to 0.2 series.

Refs nix-rust#298
homu added a commit that referenced this issue Mar 13, 2016
android: Fix reference to libc::ioctl

This fixes an import that was missed in the upgrade from libc 0.1 series
to 0.2 series.

Refs #298
@Susurrus
Copy link
Contributor

This was addressed sometime before #639 landed as this target is now checked during CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants