Skip to content

Instantly share code, notes, and snippets.

@kali
Created September 28, 2016 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kali/5026f0d3281d80c38f3543b41ef31ad4 to your computer and use it in GitHub Desktop.
Save kali/5026f0d3281d80c38f3543b41ef31ad4 to your computer and use it in GitHub Desktop.
error: failed to run custom build command for `libc-test v0.1.0 (file:///home/kali/libc/libc-test)`
process didn't exit successfully: `/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=../src/lib.rs
cargo:rerun-if-changed=../src/dox.rs
cargo:rerun-if-changed=../src/unix/mod.rs
cargo:rerun-if-changed=../src/macros.rs
cargo:rerun-if-changed=../src/unix/notbsd/mod.rs
cargo:rerun-if-changed=../src/unix/notbsd/linux/mod.rs
cargo:rerun-if-changed=../src/unix/notbsd/linux/other/mod.rs
cargo:rerun-if-changed=../src/unix/notbsd/linux/other/b64/mod.rs
cargo:rerun-if-changed=../src/unix/notbsd/linux/other/b64/x86_64.rs
OPT_LEVEL = Some("0")
PROFILE = Some("debug")
debug=true opt-level=0
HOST = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-m64" "-fPIC" "-Wall" "-Wextra" "-Werror" "-Wno-unused-parameter" "-Wno-type-limits" "-Wno-deprecated-declarations" "-D_GNU_SOURCE" "-o" "/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.o" "-c" "/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.c"
cargo:warning=/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.c:13214:63: error: ‘NLM_F_DUMP_FILTERED’ undeclared here (not in a function)
cargo:warning= static int __test_const_NLM_F_DUMP_FILTERED_val = NLM_F_DUMP_FILTERED;
cargo:warning= ^
cargo:warning=/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.c:13340:67: error: ‘NETLINK_LISTEN_ALL_NSID’ undeclared here (not in a function)
cargo:warning= static int __test_const_NETLINK_LISTEN_ALL_NSID_val = NETLINK_LISTEN_ALL_NSID;
cargo:warning= ^
cargo:warning=/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.c:13346:68: error: ‘NETLINK_LIST_MEMBERSHIPS’ undeclared here (not in a function)
cargo:warning= static int __test_const_NETLINK_LIST_MEMBERSHIPS_val = NETLINK_LIST_MEMBERSHIPS;
cargo:warning= ^
cargo:warning=/home/kali/libc/libc-test/target/debug/build/libc-test-bad5caa69cfa4e7d/out/all.c:13352:59: error: ‘NETLINK_CAP_ACK’ undeclared here (not in a function)
cargo:warning= static int __test_const_NETLINK_CAP_ACK_val = NETLINK_CAP_ACK;
cargo:warning= ^
ExitStatus(ExitStatus(256))
command did not execute successfully, got: exit code: 1
--- stderr
thread 'main' panicked at 'explicit panic', /home/kali/.cargo/git/checkouts/gcc-rs-cd3269fb36fe9cfa/master/src/lib.rs:920
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment