Last active
September 4, 2018 20:31
-
-
Save thejpster/92d791374f8f20c2ae42a4cb10e4dfe2 to your computer and use it in GitHub Desktop.
Failling build for pulse-simple-binding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jonathan@titanium:~/Documents/programming/monotron-synth$ cargo build --example beep --verbose | |
Updating registry `https://github.com/rust-lang/crates.io-index` | |
Compiling libpulse-sys v1.3.1 | |
Compiling libc v0.2.43 | |
Compiling libpulse-simple-sys v1.3.1 | |
Compiling monotron-synth v0.1.0 (file:///home/jonathan/Documents/programming/monotron-synth) | |
Running `rustc --crate-name build_script_build /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-sys-1.3.1/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="pa_encoding_from_string"' -C metadata=222890cb92e47160 -C extra-filename=-222890cb92e47160 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/build/libpulse-sys-222890cb92e47160 -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --cap-lints allow` | |
Running `rustc --crate-name libc /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.43/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=9605587ce135aefa -C extra-filename=-9605587ce135aefa --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --cap-lints allow` | |
Running `rustc --crate-name monotron_synth src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=a0cde2ad7dba5834 -C extra-filename=-a0cde2ad7dba5834 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -C incremental=/home/jonathan/Documents/programming/monotron-synth/target/debug/incremental -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps` | |
Running `rustc --crate-name build_script_build /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-simple-sys-1.3.1/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libpulse-sys"' --cfg 'feature="pa_encoding_from_string"' -C metadata=ddfc2c879c354507 -C extra-filename=-ddfc2c879c354507 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/build/libpulse-simple-sys-ddfc2c879c354507 -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --cap-lints allow` | |
Running `/home/jonathan/Documents/programming/monotron-synth/target/debug/build/libpulse-sys-222890cb92e47160/build-script-build` | |
Running `/home/jonathan/Documents/programming/monotron-synth/target/debug/build/libpulse-simple-sys-ddfc2c879c354507/build-script-build` | |
Running `rustc --crate-name libpulse_sys /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-sys-1.3.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="pa_encoding_from_string"' -C metadata=ae2cf0cfe0ffe06a -C extra-filename=-ae2cf0cfe0ffe06a --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libc=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibc-9605587ce135aefa.rlib --cap-lints allow -l 'pulse::libpulse.so.0'` | |
Compiling libpulse-binding v2.2.2 | |
Running `rustc --crate-name libpulse_simple_sys /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-simple-sys-1.3.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libpulse-sys"' --cfg 'feature="pa_encoding_from_string"' -C metadata=121d07eb02598f1a -C extra-filename=-121d07eb02598f1a --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libpulse_sys=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_sys-ae2cf0cfe0ffe06a.rlib --cap-lints allow -l 'pulse-simple::libpulse-simple.so.0'` | |
Running `rustc --crate-name libpulse_binding /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-binding-2.2.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libpulse-sys"' --cfg 'feature="pa_encoding_from_string"' -C metadata=6839a867b72f4125 -C extra-filename=-6839a867b72f4125 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libc=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibc-9605587ce135aefa.rlib --extern libpulse_sys=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_sys-ae2cf0cfe0ffe06a.rlib --cap-lints allow` | |
Compiling libpulse-simple-binding v2.2.2 | |
Running `rustc --crate-name libpulse_simple_binding /home/jonathan/.cargo/registry/src/github.com-1ecc6299db9ec823/libpulse-simple-binding-2.2.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e86e211ea6db9a48 -C extra-filename=-e86e211ea6db9a48 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/deps -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libpulse_binding=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_binding-6839a867b72f4125.rlib --extern libpulse_simple_sys=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_simple_sys-121d07eb02598f1a.rlib --extern libpulse_sys=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_sys-ae2cf0cfe0ffe06a.rlib --cap-lints allow` | |
Running `rustc --crate-name beep examples/beep.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=5bb5fad781de4604 -C extra-filename=-5bb5fad781de4604 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/examples -C incremental=/home/jonathan/Documents/programming/monotron-synth/target/debug/incremental -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libpulse_binding=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_binding-6839a867b72f4125.rlib --extern libpulse_simple_binding=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_simple_binding-e86e211ea6db9a48.rlib --extern monotron_synth=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/libmonotron_synth-a0cde2ad7dba5834.rlib` | |
error: linking with `cc` failed: exit code: 1 | |
| | |
= note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.16u6js6g0l3k1ic6.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.1uyylzefdwhn1d1z.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.1y16o1qfye96o7m0.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.3ct8vs6g26i7x0jb.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.3rngp6bm2u2q5z0y.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.45zuyn5tsgarr285.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.49a7n47po4ttqjl7.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.4oc10dk278mpk1vy.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.4xq48u46a1pwiqn7.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.8xzrsc1ux72v29j.rcgu.o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.oa3rad818d8sgn4.rcgu.o" "-o" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604" "/home/jonathan/Documents/programming/monotron-synth/target/debug/examples/beep-5bb5fad781de4604.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-L" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps" "-L" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/libmonotron_synth-a0cde2ad7dba5834.rlib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_simple_binding-e86e211ea6db9a48.rlib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_simple_sys-121d07eb02598f1a.rlib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_binding-6839a867b72f4125.rlib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_sys-ae2cf0cfe0ffe06a.rlib" "/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibc-9605587ce135aefa.rlib" "-Wl,--start-group" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0cce0e0e34e933aa.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-7bed87070cafeede.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-e76963fdf0c94daa.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8cd3b0417a81fb26.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-387bd949d1b36a91.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-453d825a151d7dec.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5235bf36189564a3.rlib" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5725e7f9b84bd931.rlib" "-Wl,--end-group" "/home/jonathan/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-874d313336916306.rlib" "-Wl,-Bdynamic" "-l" ":libpulse-simple.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" ":libpulse.so.0" "-l" "util" "-l" "util" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" | |
= note: /usr/bin/x86_64-linux-gnu-ld: /home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_binding-6839a867b72f4125.rlib(libpulse_binding-6839a867b72f4125.libpulse_binding12.rcgu.o): undefined reference to symbol 'pa_encoding_from_string' | |
//usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so: error adding symbols: DSO missing from command line | |
collect2: error: ld returned 1 exit status | |
error: aborting due to previous error | |
error: Could not compile `monotron-synth`. | |
Caused by: | |
process didn't exit successfully: `rustc --crate-name beep examples/beep.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=5bb5fad781de4604 -C extra-filename=-5bb5fad781de4604 --out-dir /home/jonathan/Documents/programming/monotron-synth/target/debug/examples -C incremental=/home/jonathan/Documents/programming/monotron-synth/target/debug/incremental -L dependency=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps --extern libpulse_binding=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_binding-6839a867b72f4125.rlib --extern libpulse_simple_binding=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/liblibpulse_simple_binding-e86e211ea6db9a48.rlib --extern monotron_synth=/home/jonathan/Documents/programming/monotron-synth/target/debug/deps/libmonotron_synth-a0cde2ad7dba5834.rlib` (exit code: 101) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment