Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
c2rust is a good tool for newbie like me. After playing around with the examples. I am trying bigger one like sqlite3 and smaller one like nrpe.
= help: some
extern
functions couldn't be found; some native libraries may need to be installed or have their path specified= note: use the
-l
flag to specify native libraries to link= note: use the
cargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)error: could not compile
check_nrpe1
due to previous errorCaused by:
process didn't exit successfully:
CARGO=/home/me/.rustup/toolchains/nightly-2022-08-08-x86_64-unknown-linux-gnu/bin/cargo CARGO_BIN_NAME=check_nrpe1 CARGO_CRATE_NAME=check_nrpe1 CARGO_MANIFEST_DIR=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe CARGO_PKG_AUTHORS=C2Rust CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=check_nrpe1 CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps:/home/me/.rustup/toolchains/nightly-2022-08-08-x86_64-unknown-linux-gnu/lib:/home/me/.rustup/toolchains/nightly-2022-08-08-x86_64-unknown-linux-gnu/lib' OUT_DIR=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/build/check_nrpe1-896c9decb134dde4/out rustc --crate-name check_nrpe1 --edition=2021 src/check_nrpe1.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=304082bb57ac8e5b -C extra-filename=-304082bb57ac8e5b --out-dir /home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps -C incremental=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/incremental -L dependency=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps --extern c2rust_asm_casts=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps/libc2rust_asm_casts-5452fb8e557bf4f0.rlib --extern check_nrpe1=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps/libcheck_nrpe1-a87a0486ae59e3e6.rlib --extern libc=/home/me/github/learnrust/c2rust/examples/nrpe/src/c2rust_check_nrpe/target/debug/deps/liblibc-9b0e9fb7873bef9b.rlib
(exit status: 1)[me@rocky8t01d c2rust_check_nrpe]$
Beta Was this translation helpful? Give feedback.
All reactions