Trying to build deepspeech-rs

Deepspeech-rs is a Rust wrapper for Deepspeech speech processing code from Mozilla. Trying to build the deepspeech-rs example client.rs. The environment is a raspberry pi 4 with 8GB RAM

~/deepspeech-rs $ cargo -vV
cargo 1.44.1 (88ba85757 2020-06-11)
release: 1.44.1
commit-hash: 88ba8575724c08a50eb265a05f3ff6d0883de1ee
commit-date: 2020-06-11

~/deepspeech-rs $ rustc -vV
rustc 1.44.1 (c7087fe00 2020-06-17)
binary: rustc
commit-hash: c7087fe00d2ba919df1d813c040a5d47e43b0fe7
commit-date: 2020-06-17
host: armv7-unknown-linux-gnueabihf
release: 1.44.1
LLVM version: 9.0

~/deepspeech-rs $ cargo build --example client
   Compiling alac v0.3.3
   Compiling claxon v0.4.2
   Compiling hound v3.4.0
   Compiling sample v0.9.1
   Compiling byteorder v1.3.4
   Compiling libc v0.2.70
   Compiling deepspeech-sys v0.7.0 (/home/pi/deepspeech-rs/sys)
   Compiling ogg v0.5.1
   Compiling caf v0.1.0
   Compiling lewton v0.7.0
   Compiling deepspeech v0.7.0 (/home/pi/deepspeech-rs)
   Compiling audrey v0.2.0
error: linking with `cc` failed: exit code: 1

Any suggestions, thoughts?
Thanks!
Bill

What is the output of cargo build --example client -vv? Also please use code blocks for terminal output and code:

```
~/deepspeech-rs $ cargo build --example client
Compiling alac v0.3.3
Compiling claxon v0.4.2
[...]
```

You can edit your initial post to add the code blocks.

The output of cargo build --example client -vv is too long to post. I've posted what I hope is relevant to the problem.

       Fresh audrey v0.2.0
warning: use of deprecated item 'try': use the `?` operator instead
  --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/caf_alac.rs:19:26
   |
19 |         let caf_reader = try!(CafPacketReader::new(rdr,
   |                          ^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated item 'try': use the `?` operator instead
  --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/caf_alac.rs:30:23
   |
30 |         let decoder = try!(Decoder::from_cookie(&cookie)
   |                       ^^^

warning: use of deprecated item 'try': use the `?` operator instead
  --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/caf_alac.rs:42:28
   |
42 |         let packet = match try!(self.caf_reader.next_packet()) {
   |                            ^^^

warning: use of deprecated item 'try': use the `?` operator instead
  --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/caf_alac.rs:46:9
   |
46 |         try!(self.alac_decoder.decode_packet(&packet, &mut output_buf)
   |         ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:184:20
    |
184 |         let file = try!(std::fs::File::open(path));
    |                    ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:209:13
    |
209 |             try!(reader.seek(std::io::SeekFrom::Start(0)));
    |             ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:211:39
    |
211 |                 return Ok(Reader::Wav(try!(hound::WavReader::new(reader))));
    |                                       ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:222:13
    |
222 |             try!(reader.seek(std::io::SeekFrom::Start(0)));
    |             ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:224:40
    |
224 |                 return Ok(Reader::Flac(try!(claxon::FlacReader::new(reader))));
    |                                        ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:236:13
    |
236 |             try!(reader.seek(std::io::SeekFrom::Start(0)));
    |             ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:238:45
    |
238 |                 return Ok(Reader::OggVorbis(try!(lewton::inside_ogg::OggStreamReader::new(reader))));
    |                                             ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:252:13
    |
252 |             try!(reader.seek(std::io::SeekFrom::Start(0)));
    |             ^^^

warning: use of deprecated item 'try': use the `?` operator instead
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:254:43
    |
254 |                 return Ok(Reader::CafAlac(try!(super::caf_alac::AlacReader::new(reader)).unwrap()));
    |                                           ^^^

warning: trait objects without an explicit `dyn` are deprecated
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:563:32
    |
563 |     fn cause(&self) -> Option<&std::error::Error> {
    |                                ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`
    |
    = note: `#[warn(bare_trait_objects)]` on by default

warning: trait objects without an explicit `dyn` are deprecated
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:587:32
    |
587 |     fn cause(&self) -> Option<&std::error::Error> {
    |                                ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error`

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:552:43
    |
552 |             FormatError::Flac(ref err) => std::error::Error::description(err),
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:554:48
    |
554 |             FormatError::OggVorbis(ref err) => std::error::Error::description(err),
    |                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:556:42
    |
556 |             FormatError::Wav(ref err) => std::error::Error::description(err),
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:558:42
    |
558 |             FormatError::Caf(ref err) => std::error::Error::description(err),
    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:582:39
    |
582 |             ReadError::Io(ref err) => std::error::Error::description(err),
    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:583:43
    |
583 |             ReadError::Reader(ref err) => std::error::Error::description(err),
    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:610:17
    |
610 |                 std::error::Error::description(self)),
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/audrey-0.2.0/src/read.rs:621:33
    |
621 |                 write!(f, "{}", std::error::Error::description(self)),
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: 23 warnings emitted

   Compiling deepspeech v0.7.0 (/home/pi/deepspeech-rs)
     Running `CARGO=/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/bin/cargo CARGO_MANIFEST_DIR=/home/pi/deepspeech-rs CARGO_PKG_AUTHORS='est31 <MTest31@outlook.com>' CARGO_PKG_DESCRIPTION='Rust bindings to Mozilla'\''s DeepSpeech STT implementation' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=deepspeech CARGO_PKG_REPOSITORY='https://github.com/RustAudio/deepspeech-rs' CARGO_PKG_VERSION=0.7.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/pi/deepspeech-rs/target/debug/deps:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib' rustc --crate-name client examples/client.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=75dd8f6e2f62412c -C extra-filename=-75dd8f6e2f62412c --out-dir /home/pi/deepspeech-rs/target/debug/examples -C incremental=/home/pi/deepspeech-rs/target/debug/incremental -L dependency=/home/pi/deepspeech-rs/target/debug/deps --extern audrey=/home/pi/deepspeech-rs/target/debug/deps/libaudrey-5e210ea7ba2a58bb.rlib --extern deepspeech=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib --extern deepspeech_sys=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech_sys-b617a09cec7f5547.rlib --extern libc=/home/pi/deepspeech-rs/target/debug/deps/liblibc-12d5150bf8e00a26.rlib`
error: linking with `cc` failed: exit code: 1

Can you check that you have enough disk space?

206 GB available

I started over, reinstalled the OS, rustup, deepspeech-rs and stepped through the README quick start instructions. The build still fails.

pi@Pi48GB01:~/deepspeech-rs $ cargo build --example client -vv
       Fresh hound v3.4.0
       Fresh sample v0.9.1
       Fresh claxon v0.4.2
       Fresh alac v0.3.3
       Fresh byteorder v1.3.4
       Fresh libc v0.2.70
       Fresh ogg v0.5.1
       Fresh caf v0.1.0
       Fresh lewton v0.7.0
       Fresh audrey v0.2.0
       Fresh deepspeech-sys v0.7.0 (/home/pi/deepspeech-rs/sys)
   Compiling deepspeech v0.7.0 (/home/pi/deepspeech-rs)
     Running `CARGO=/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/bin/cargo CARGO_MANIFEST_DIR=/home/pi/deepspeech-rs CARGO_PKG_AUTHORS='est31 <MTest31@outlook.com>' CARGO_PKG_DESCRIPTION='Rust bindings to Mozilla'\''s DeepSpeech STT implementation' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=deepspeech CARGO_PKG_REPOSITORY='https://github.com/RustAudio/deepspeech-rs' CARGO_PKG_VERSION=0.7.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/pi/deepspeech-rs/target/debug/deps:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/pi/deepspeech-rs/sys:/home/pi/native_client:/home/pi/native_client/java:/home/pi/audrey/target/debug' rustc --crate-name client examples/client.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=75dd8f6e2f62412c -C extra-filename=-75dd8f6e2f62412c --out-dir /home/pi/deepspeech-rs/target/debug/examples -C incremental=/home/pi/deepspeech-rs/target/debug/incremental -L dependency=/home/pi/deepspeech-rs/target/debug/deps --extern audrey=/home/pi/deepspeech-rs/target/debug/deps/libaudrey-5e210ea7ba2a58bb.rlib --extern deepspeech=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib --extern deepspeech_sys=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech_sys-b617a09cec7f5547.rlib --extern libc=/home/pi/deepspeech-rs/target/debug/deps/liblibc-12d5150bf8e00a26.rlib`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.11lk4nupwyod9ybv.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.14bumae1ylcysox8.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1546wgsydzousy55.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.15jqkzk2cuapr9jw.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.15k0xjy7o32l9vvr.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1bg1l3mngq9jg4oa.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1cf8bfltmupckm8i.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1hxh20qszgp9ak9x.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1ovjdtx8u1uptcu5.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1sj73ce6yijmuwm.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1snugjgt72x5p77o.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1wxe6q8p6itas4ta.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1x1rqj7r2aiztoxc.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.1xbmi7ukk5i5rla7.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.21gae3gnx11edqod.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.27gq5y0ku5i5mrpb.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.28izkpwfjxrcshco.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.28z8fyeip5m1lpw7.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2atcsmuiu185e17k.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2byfby6z27jhwha7.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2eoa3vvd8p77h70h.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2hpnlq6z51ykwj3v.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2m45sbz7imfz5khh.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2mnwlxrxcyfuqj9n.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2o05l8yqru3xei6p.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2tuxmq6dpat5p80b.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2w4vz4a3bm32k8b8.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.2xhwwi04f934b1vy.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.322jmqsa51j6tvt0.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.325xzuwy1z6xu7m4.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.32r45jf3dafcl36k.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.32wgcu7fufdhmhdv.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.364gk44cpu0s7kx4.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.381icrh8432uc2ga.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.38u0vebww23cm4a9.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3a0s6z5wmcuxpjxv.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3b4hj5gzn69qol4p.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3bxoh509zw7l483l.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3cck0cqv2jr72iol.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3ceqlo797jobrp5g.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3da64i21cx5ya834.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3f7alm1ahdcjowq.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3g9cr58tt3lsj9ys.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3hlt7wsg1w4lcvtj.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3k6q7gttr1xajeho.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3kkwhrbp3oa2ot38.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3knku08sj42n38ul.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3lhxcrpmsvbbljqr.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3lv6lhh44ld6w801.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3ozdqofq6lv3mqnn.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3ppd4wi7vwjl6sxi.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3v1bzezkm77pu4k6.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.3xt5q6jah7p9bh1j.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.40yjubobqvwrgd1n.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.44k792fnhzfd6xzm.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.48amb96apuo2w671.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.48usfc69q6ydkach.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4a128xmst0sgg4ou.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4bwwjc21fox49r25.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4e7u7uiw2t28gpc1.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4fv83bjc5m2qzafl.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4huxuacaq85519z7.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4i8udkssja4f9l8i.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4j87itmtwfo0el0x.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4ktp7fmica8wv03n.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4kw9vq8wag4jtf7a.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4nbcgqvkd6zw956f.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4o2huqb5rd5ef7mr.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4pd66deflcezk2gf.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4qfuvnn300dhbmxt.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4s3jp1xqrim6ke7o.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.4ymya9eopv7otftc.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.53ld7adg2cqs8sqx.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.54r0luzb47h4zj9u.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.54tas3bwhl9j1910.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.59kuave7s1qh58wd.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.5bempxekgivrfy34.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.5bn6cc38pxqyj8n6.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.5goygfurd4i0qkwe.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.bgym3ykt1wacuou.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.dt4txj1tb3j25wu.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.g7xocdulbsrbb5x.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.hoqrpjq2tt02f6p.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.i1qwcdtltd14k8a.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.iju833e7imccvoe.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.lm50gmqh1w5fnx6.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.nmgdn7mzivnc9hn.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.prs6bsj67o2e9l7.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.q74eilclioaa5rj.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.re7obnonsyqk5mh.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.tifydk3kojyitbx.rcgu.o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.zawvu6s600tza2x.rcgu.o" "-o" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c" "/home/pi/deepspeech-rs/target/debug/examples/client-75dd8f6e2f62412c.594iemvrk9g2cg7.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/pi/deepspeech-rs/target/debug/deps" "-L" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-Wl,-Bstatic" "/home/pi/deepspeech-rs/target/debug/deps/libaudrey-5e210ea7ba2a58bb.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libalac-0d783bce01723edd.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libcaf-5b0504a9bebb3afc.rlib" "/home/pi/deepspeech-rs/target/debug/deps/liblewton-1ea235917ba2f90b.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libogg-eeb14f42ae49f1c6.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libbyteorder-c542803c2ad39143.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libhound-d4d30eb122900e64.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libclaxon-8b4744be2e9cdf57.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libsample-31904abb138aacc2.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib" "/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech_sys-b617a09cec7f5547.rlib" "/home/pi/deepspeech-rs/target/debug/deps/liblibc-12d5150bf8e00a26.rlib" "-Wl,--start-group" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-27053fbb1b9f44d5.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-29ca48929f590d4e.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libhashbrown-6fb6ab8e50f56037.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_alloc-c36b91e5f354f315.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace-c54cc8139d9b7d96.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libbacktrace_sys-72056f0b5488ef16.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_demangle-c6dc8a28715ade74.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-0a56bef25e2f2a02.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcfg_if-20bd107ef1adcb67.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-dc6afebc4647411e.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-bda4fec0305a5f9d.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-f472031080cd5626.rlib" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-7d56bea4332b8abb.rlib" "-Wl,--end-group" "/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-c2a6530446749aa0.rlib" "-Wl,-Bdynamic" "-ldeepspeech" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: cannot find -ldeepspeech
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `deepspeech`.

Caused by:
  process didn't exit successfully: `CARGO=/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/bin/cargo CARGO_MANIFEST_DIR=/home/pi/deepspeech-rs CARGO_PKG_AUTHORS='est31 <MTest31@outlook.com>' CARGO_PKG_DESCRIPTION='Rust bindings to Mozilla'\''s DeepSpeech STT implementation' CARGO_PKG_HOMEPAGE= CARGO_PKG_NAME=deepspeech CARGO_PKG_REPOSITORY='https://github.com/RustAudio/deepspeech-rs' CARGO_PKG_VERSION=0.7.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE= LD_LIBRARY_PATH='/home/pi/deepspeech-rs/target/debug/deps:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/pi/.rustup/toolchains/stable-armv7-unknown-linux-gnueabihf/lib:/home/pi/deepspeech-rs/sys:/home/pi/native_client:/home/pi/native_client/java:/home/pi/audrey/target/debug' rustc --crate-name client examples/client.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=75dd8f6e2f62412c -C extra-filename=-75dd8f6e2f62412c --out-dir /home/pi/deepspeech-rs/target/debug/examples -C incremental=/home/pi/deepspeech-rs/target/debug/incremental -L dependency=/home/pi/deepspeech-rs/target/debug/deps --extern audrey=/home/pi/deepspeech-rs/target/debug/deps/libaudrey-5e210ea7ba2a58bb.rlib --extern deepspeech=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib --extern deepspeech_sys=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech_sys-b617a09cec7f5547.rlib --extern libc=/home/pi/deepspeech-rs/target/debug/deps/liblibc-12d5150bf8e00a26.rlib` (exit code: 1)

Did you install the Deepspeech library to system, per instructions in repository? Looks like the linker can't find it.

I assume you mean the native_client directory from the DeepSpeech 0.7.0 repository. And I set the environment variables:
LD_LIBRARY_PATH=/home/pi/native_client
LIBRARY_PATH=/home/pi/native_client

From my understanding of the instructions, that was all that was needed. If there is something more that needs to be done, please let me know.

DeepSpeech compiles without error. Audrey builds after DeepSpeech is built but can't find the DeepSpeech library to link. The output of the DeepSpeech build is "libdeepspeech-c83a4ec913575d55.rlib". The build of audrey has this "--extern deepspeech=/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib" and "-ldeepspeech". This is no build that outputs "deepspeech". I think the audrey build should only be looking for "ibdeepspeech-c83a4ec913575d55.rlib". Or I could be totally misunderstanding what the builds are doing.

When deepspeech-rs is built, audrey is compiled and then fails to link to deepspeech because of this "-ldeepspeech" generates the error "error: linking with cc failed: exit code: 1" .

There is also this "/home/pi/deepspeech-rs/target/debug/deps/libdeepspeech-c83a4ec913575d55.rlib" which is the output of building deepspeech. I would think that audrey should link to that instead of the nonexistent deepspeech.

I can't find where the build of audrey gets the "-ldeepspeech" reference.

I'm going to close this issue. I found that I had to run the shell script ci.sh. Then I ran the cargo build successfully.