pedrosland / mmal-sys

Rust declarations for mmal - the Raspberry Pi's GPU and camera library
MIT License
23 stars 7 forks source link

stddef.h not found #4

Closed eberkund closed 6 years ago

eberkund commented 6 years ago

I am getting the following error when running with the "generate-bindings" feature.

# Cargo.toml
[target.'cfg(target_arch = "arm")'.dependencies]
mmal-sys = { git = "https://github.com/pedrosland/mmal-sys", features = ["generate_bindings"] }

I have installed clang according to the bindgen docs

# apt-get install llvm-3.9-dev libclang-3.9-dev clang-3.9

But I get this error

error: failed to run custom build command for `mmal-sys v0.1.0-2 (https://github.com/pedrosland/mmal-sys#2a3abea2)`
process didn't exit successfully: `/home/erik/Code/otter/target/debug/build/mmal-sys-ad158f1538cb5b18/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=mmal_core
cargo:rustc-link-lib=mmal_util
cargo:rustc-link-lib=mmal_vc_client
cargo:rustc-link-lib=vcos
cargo:rustc-link-lib=bcm_host
cargo:rerun-if-env-changed=HOST
cargo:rerun-if-env-changed=TARGET
cargo:rerun-if-env-changed=MMAL_INCLUDE_DIR
cargo:rerun-if-env-changed=MMAL_LIB_DIR
cargo:rustc-link-search=native=/home/erik/Code/otter/vc/lib

--- stderr
/usr/arm-linux-gnueabihf/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found
/usr/arm-linux-gnueabihf/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found, err: true
thread 'main' panicked at 'Unable to generate bindings: ()', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
pedrosland commented 6 years ago

Thanks for the report.

It seems that clang can't find its own include files. The documentation says that the default location for the missing file is $(dirname /path/to/tool)/../lib/clang/3.3/include.

My clang is at /usr/lib/llvm-3.9/bin/clang. This would put my stddef.h in /usr/lib/llvm-3.9/lib/clang/3.9.1/include/. There is one there but it seems I'm actually using one from gcc.

I think that there is another problem with your approach. It looks like you're running this on your (non-arm) computer and not a Raspberry Pi. Installing llvm on your computer will generate the bindings as if for your computer unless you use a llvm toolchain that will cross-compile. For this, you will need some variant of apt-get install llvm-3.9-dev libclang-3.9-dev clang-3.9 and to set up your paths so that the build.rs can find it.

Why do you not just use the pre-generated bindings? If there is something wrong with them I can try to correct it.

eberkund commented 6 years ago

If I use the pregenerated bindings, then I get this error

error: linking with `arm-linux-gnueabihf-gcc` failed: exit code: 1
  |
  = note: "arm-linux-gnueabihf-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.11ghxnayh8xpl17k.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.11h6w2l0us72c8hd.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.13v74u63t143tax7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.14hbt5dw5vskw0gk.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.15kq92zzbmxot4k9.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.163naae9mwk4uhai.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.16i0u6jlhoj1fwbo.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.16u6js6g0l3k1ic6.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.17erb31xn70viq4b.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.181cuta0v63atwcm.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1e698527iprj2v8f.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1eldthk14htjpe8q.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1fxq14vrn4hmbyv6.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1g8fdslxqi9tpsfp.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1g9lb4vtsp2cd2ia.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1hoy0zzffdl9dd3x.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1im38lueib99jsk0.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1jnlhyxj59jycbjv.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1nyfdlp3jd783n7g.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1o6b1la7g4jnv39b.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1oj36kb0hkz0ot1f.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1t6900sk6kzncicg.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1tjp4sat87ohv0s4.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1wcszbmmzjw103f5.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1y16o1qfye96o7m0.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1z8vniza9fj2s2wi.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1zeawhkbeobww1zn.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.1zwd8n7bcl3vhvvh.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.205sx33d8k0dxmtn.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.21utiujyrqswbl7h.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.22lji2c2zci2bvi6.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.236p7xyhqputxfzb.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.23tqyymcb18u96mb.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.25ph02yu33ev74gz.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.264gg5cswj0z73uz.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.273qmy5jm085p7ku.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.27nwzcqv5y96qewb.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.28hvvf53jv1aqa2h.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2ev5o718t6o2qsw.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2hj241an3y7sn53f.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2imnh2vhxcqrizhm.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2jqywn86b2gsqohu.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2lyh15q6cjwzy18c.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2o249ai2g7bpvy5h.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2oiwwqohid6mabhc.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2pchbrnbqqt8xqub.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2qhkzqx5zqexj20y.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2rhfsv1238j7plc7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2se41vanh2hzuicz.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2shpn37fmhv32vh1.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2suys2rgkvqkw8w8.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2ui13iin424mgq63.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2wixplf1qzszxq14.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2wk8iinzvy9fe970.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2wp7conirb3z5kec.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2wu6y745i178dd38.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.2yk347n9f1jh8ruw.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3171x0bwu82dptu7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.34uswit8l0m2t8qo.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.35dif2yfqvun9jag.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.360n40d30atuqugt.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3ayaeypdcro9d6yk.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3fifcd631xjr0zx1.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3h3510kmifwfycxb.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3hfnnvlph5ozv32c.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3i5rga4vs82n6cyj.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3if7pj6p2v4l6art.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3je98igjnnfyygnz.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3m9jlb8iw20nkgi3.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3oqznv5oym7l3m4e.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3p7mbnaeakts9q7d.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3rngp6bm2u2q5z0y.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3sblmny2b0o8asog.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3tl2mvx68yyzykyv.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3u0ivuk8dvjdh8cj.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3vpn8gakupv81e90.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3vz1yfl7wp1xiunk.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3wta9ctgdrpkmlpr.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.3ygiu3wrgglniud7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.436dotimmrgzkwfa.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.43v6g0y2xsxoggnt.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.45pc7c65foh9i35f.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.45sud1ub1th7k9to.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.49a7n47po4ttqjl7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.49qmpuk8w1opmi5q.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4b8ptp1vn215jmoe.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4bwka44cn8t3u4h3.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4crx4s4dyn22zysq.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4cxyqmsl2ros1gyv.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4dgwanwld100whv2.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4e45741p8nq8ppu.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4f2ofn9bf0700iya.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4hvwaj80f504uofg.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4kgi5h2quqvw167o.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4l6rb81wbrop9qnp.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4morpjqrojfycava.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4oc10dk278mpk1vy.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4optxrf9t5menqny.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4pt8ouc83q1r9xs7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4q0noo5fz7fwstxo.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4qadywmw29zw1104.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4r0yzt9hrryifv64.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4rvqg4qxotbg9oin.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4sw9hz7i7fiueihz.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4vhr0kyky9cylcg5.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4vp4wqj2v29i7mgy.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4xq48u46a1pwiqn7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4yh8x2b62dcih00t.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.4ypvbwho0bu5tnww.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.51fpy5zjki32la64.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.572bgozz9kcwe4zq.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.57k06xfugllsc526.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.57qy3vyd9bhiuaon.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.58obdilhk3rtglcy.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.58xb819wrtp4wiff.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5b1vh7iwaxrgdt9b.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5cfcd7xn672qs464.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5cs0tccwq7skggun.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5f5jc0oo6c9dh2oo.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5fyogldvlpmb3ne2.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5gb12bj1yv0z91re.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.5gf6du7k58s78kob.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.60ftxzyastfd6l1.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.81jpvh8cn5k8ng8.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.8bi7b49j2vgusjk.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.8n5lnckn5hfrxm0.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.8xzrsc1ux72v29j.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.98g0d9x8aw3akpe.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.9elsx31vb4it187.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.a3ll4o72xegh2t3.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.bci208wrn2iqzfr.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.c6lbtaiefvx3wya.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.d24gzqhskl40hmn.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.d6p2df93qm1h3gm.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.ewzp5u336bde4tx.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.gon14xphovlcp6p.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.i7m1rpix4ruptp7.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.jf7oxrwpa0v2cwy.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.kclyx7of0fal6jf.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.mb501chi8fnqgmm.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.mz7vgmcf23rofcc.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.nyp9mye3m9nkkey.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.oa3rad818d8sgn4.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.p8gm0s1676i7rtn.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.qpucyjripxdv9xh.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.roencjgn6v1dp8n.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.w1nfwwdismdotc.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.y08g5q2x813c4wx.rcgu.o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.z9ox7biyn1otfln.rcgu.o" "-o" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/camcontrol-3c003de06d56fd52.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps" "-L" "/home/erik/Code/otter/target/debug/deps" "-L" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/build/backtrace-sys-c94211c6e00f9025/out" "-L" "/usr/lib/arm-linux-gnueabihf" "-L" "/home/erik/Code/otter/vc/lib" "-L" "/usr/lib/arm-linux-gnueabihf" "-L" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/build/sys-info-ed601191016e038a/out" "-L" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib" "-Wl,-Bstatic" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libimage-755105dd4457a276.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libscoped_threadpool-bcc5e6a47b291e24.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libgif-7a05557f4be27461.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcolor_quant-0af69ef12ecb8ba5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblzw-deb36aaba7aded3c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libjpeg_decoder-345845709113abae.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librayon-c8b6ec206998ac57.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libeither-307db80729e2996d.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librayon_core-0b724d9efa874657.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_deque-e9c97ca7230c385b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_epoch-eac90845ec78e561.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_utils-e563aeddf2457075.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libpng-150184f8c8306d52.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libdeflate-eaf233990eaaaf05.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libinflate-04afc7e0b407be65.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitflags-1d40bf5648794c45.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libenum_primitive-271738f43433dd37.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_traits-d4c15a13286e46e6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_rational-33f455bf7635ebde.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_iter-d6ec2418dd5a295c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_integer-5340650e48a72859.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_traits-bb59bb31f9428d6a.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libreqwest-89ea55a6682828f7.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libuuid-a99f5b7c1671e6a1.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librand-1d67d34b6b2a7d7b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libserde_urlencoded-089eeb59e2dda600.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liburl-bb320c4f84c49d28.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libidna-94b47fb59e5c0c0f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libunicode_normalization-1cf94d4da81ecf71.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libunicode_bidi-99b930e0b047c896.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmatches-96ef978140ed1cd7.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libdtoa-ae4ac8d42b552373.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libserde_json-f7ac7cde8fd475c9.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libryu-e63e40f4dd61136b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libitoa-a696b7c5e9a450e1.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libserde-95e0a4b428f2cda1.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmime_guess-5895c0f6809f14ba.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libphf-8401b953414d36c7.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libphf_shared-74e6b7ed3892f657.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libunicase-c5e4503372b7c332.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libsiphasher-3f732778b18b24d5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibflate-0eb0bdb1c0f32365.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrc-270e3cbd56959e9d.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libadler32-d1bde832ba18347c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libhyper_tls-bc7daf5a5609b8c4.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_tls-361890ce17729dd6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnative_tls-d6c0ac5472938270.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libopenssl-852b74b8539c380c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libopenssl_sys-7fb17f65076fceb6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libforeign_types-53025dc573caed4f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libforeign_types_shared-3986034911e72d3f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbitflags-a590985be0615c18.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libhyper-c8a4b0f6448d7db6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libwant-9d5e50a66f5998d5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtry_lock-cef5e9284828a24c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_service-44405dd17d520123.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtime-e11ed29190280c5d.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librelay-149fbc1550f49f55.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libpercent_encoding-0c36d72ad8434249.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmime-f1f5044250a17ea0.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libunicase-97c79b805bd3b3ed.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblanguage_tags-6ce5d2eab9190137.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libhttparse-2574bc502974b518.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libencoding_rs-bc0f046b5d61d7c2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmmal_sys-118104ad06a48dbf.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librscam-d05ff7a992a69d1b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libgphoto-93631801b7bd69e8.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libgphoto2_sys-a4803bacadf930c7.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libregex-ccfc55ea320cdae9.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libregex_syntax-d3c0356041dfe60c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libsys_info-57746dd1919a9d4c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libgrpc-1a9f22ad16cdfdfd.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libhttpbis-4e67e0f64bdfe0be.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_uds-9964b561d9cdcd6a.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_timer-958c82f152da6e62.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libslab-c1e2b0010f1dd487.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbase64-6f8d057b42c94eb8.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libsafemem-6f8a9c8c2a917703.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_tls_api-9ed322fbf9f45d2e.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtls_api_stub-2acfdb8042187ad4.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtls_api-bde05d492763c61c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_core-d77ac0a5e6e115d6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libscoped_tls-219d89d850b2ed2f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio-dd4ac976b89d4d64.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_uds-23162729f3c004f8.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmio_uds-c23d40b6dcca5832.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_udp-287a8f4616038efd.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_tcp-4edce4b28282c6a5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_timer-f832dfa331385a76.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_reactor-6b32c289869fe6c0.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libparking_lot-bb15d1cc7271ee09.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libparking_lot_core-0e1a46c1a213443b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libsmallvec-4495a2f3871f4166.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libunreachable-b7b2f7fd53e24fb4.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libvoid-1adfd20c38f8de92.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblock_api-47ef855e68a3b2c5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libowning_ref-95a5b3999c9e9ed4.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libstable_deref_trait-ad71104db0dba0ec.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_fs-2410be4b2047e6a2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_threadpool-2ffc83da5d2e9597.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librand-c988667a55f4843f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librand_core-7c43fa6baa7139e6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librand_core-24053d80771483a5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_deque-333231906f89af00.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_epoch-f65f2bb238b563be.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libscopeguard-0c53552de0c929b2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmemoffset-46e22e0fd037f5ca.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcrossbeam_utils-fb387f221380b5b8.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libarrayvec-9e557175d1924cca.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnodrop-08e4896f05c7d813.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_codec-2543647ea6720c72.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_io-ebcefe6c05753a0b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_current_thread-304b06b62edc2ed5.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libtokio_executor-c9b66ad0edc53d90.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmio-0e95589511d51183.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libslab-759527e997971e14.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnet2-46ca587f6d4bf30d.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblazycell-05d8bfac854f5dd2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libfutures_cpupool-66cd37e9ceab055b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libnum_cpus-d47bf67231e91834.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libfutures-7e8674ba1b9faff3.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libprotobuf-3178fcbca220f4a6.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbytes-fd434e1a86cfda96.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libiovec-7f4a6eb4926b833e.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbyteorder-6f9e08b710bbe1b3.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libpretty_env_logger-66ed84db5fa08b5f.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libenv_logger-ce63ae65d0cf2792.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libansi_term-46559ab7a5ed325b.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblog-ac2cb4aa0139a185.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblog-6a8c2e384f645544.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libdotenv-0af792c6e7585359.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libregex-cd26f82f77756e03.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libutf8_ranges-1e830fbdd50e7b56.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libregex_syntax-cc7bf568b1606d57.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libucd_util-c54181737c9c1f65.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libthread_local-a3ed84d9f8a102d2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblazy_static-7ac9bce553b3ade4.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libaho_corasick-66b991b228b0987a.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libmemchr-d90a959e31485fa2.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liberror_chain-3d2a8fd2f3144a51.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbacktrace-2c1ff315a7fe99a8.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libbacktrace_sys-eaac8ddd4a5a623c.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/librustc_demangle-41ba6d96c4c02e21.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/libcfg_if-e639c65cc4b9c485.rlib" "/home/erik/Code/otter/target/armv7-unknown-linux-gnueabihf/debug/deps/liblibc-b30f1adfc3815668.rlib" "-Wl,--start-group" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libstd-c4f338a0e519f5e0.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libpanic_unwind-e3cd3f44688b2d97.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc_jemalloc-2f4890fbea3bd5e0.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libunwind-a0ddde720c2c46c5.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc_system-9c41ffe739844496.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liblibc-af766b046896c123.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/liballoc-00b776688b98de66.rlib" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcore-d05a4396ceff8bc8.rlib" "-Wl,--end-group" "/home/erik/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/armv7-unknown-linux-gnueabihf/lib/libcompiler_builtins-fe16a4dcdcd95bab.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lmmal_core" "-lmmal_util" "-lmmal_vc_client" "-lvcos" "-lbcm_host" "-lgphoto2" "-lm" "-lgphoto2_port" "-lexif" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: warning: libvchiq_arm.so, needed by /home/erik/Code/otter/vc/lib/libmmal_vc_client.so, not found (try using -rpath or -rpath-link)
          /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/bin/ld: warning: libvcsm.so, needed by /home/erik/Code/otter/vc/lib/libmmal_vc_client.so, not found (try using -rpath or -rpath-link)
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_queue_destroy'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_queuev'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_service_close'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_malloc_cache'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_log_category'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_queue_get'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_queue_message'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchiq_initialise'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_init'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_status_to_string'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_port_alloc'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_buffer_header_driver_data'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_event_format_changed_get'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_open_service'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_service_release'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_queue_bulk_transmit'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_component_action_trigger'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `single_get_func_table'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_service_use'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_format_extradata_alloc'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_queue_put'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_dequeue'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_free'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_buffer_header_replicate'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_unlock_ptr'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_port_free'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_bulk_queue_receive'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_initialise_fd'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_shutdown'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_ports_alloc'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_vc_hdl_from_hdl'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_component_supplier_register'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_buffer_header_release'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_release_service'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_format_copy'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_event_error_send'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_component_action_register'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_create_connection'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_initialise'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_connect'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_port_event_get'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_bulk_queue_transmit'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_4cc_to_string'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_port_event_send'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_port_buffer_header_callback'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_release_message'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_service_open'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_use_service'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_mphi_message_driver_func_table'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_close_service'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_lock'
          /home/erik/Code/otter/vc/lib/libbcm_host.so: undefined reference to `vchi_msg_queue'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_connect'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_ports_free'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vchiq_queue_bulk_receive'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_queue_create'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `mmal_queue_length'
          /home/erik/Code/otter/vc/lib/libmmal_vc_client.so: undefined reference to `vcsm_unlock_hdl'
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: Could not compile `camcontrol`.

I tried updating my libraries to the ones from https://github.com/raspberrypi/firmware/releases/tag/1.20180817 because I saw that referenced in one of your recent commit messages.

eberkund commented 6 years ago

I was able to get it to compile adding the following to my Makefile.

export C_INCLUDE_PATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include

The only problem is that now a bunch of my other libraries fail to compile so I have to compile in two steps once without that variable set and one with it set.

pedrosland commented 6 years ago

I've just released 0.1.0-2. This should allow you to use the pre-compiled bindings as it fixes that error. Let me know if this doesn't fix it.

eberkund commented 6 years ago

Great, the pregenerated bindings work now. Thanks for you work and help!