paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] paparazzi secure datalink compile errors.


From: Chris
Subject: [Paparazzi-devel] paparazzi secure datalink compile errors.
Date: Tue, 12 Jan 2021 18:03:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi.

During compilation of an example just to get familiar with the secure datalink i get those errors

Did i forgot something in the airframe file?


make TARGET=ap -f Makefile.ac all_ac_h
make[1]: Entering directory '/home/hendrix/paparazzi'
Using "arch/stm32/openpilot_revo.ld" as ldscript for target "ap".
GENERATE KEYS
   Compiling key_generator v0.1.0 (/home/hendrix/paparazzi/sw/ext/key_generator) warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
  --> src/main.rs:90:71
   |
90 |             Err(why) => panic!("couldn't create {}: {}", display, why.description()),
| ^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:103:73
    |
103 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:109:73
    |
109 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:115:73
    |
115 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:129:71
    |
129 |             Err(why) => panic!("couldn't create {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:141:73
    |
141 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:147:73
    |
147 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> src/main.rs:153:73
    |
153 |             Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
| ^^^^^^^^^^^

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.0.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.1.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.10.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.11.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.12.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.13.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.14.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.15.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.2.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.3.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.4.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.5.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.6.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.7.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.8.rcgu.o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.key_generator.9lvuj26w-cgu.9.rcgu.o" "-o" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/key_generator-a7d7af48f20f2848.2urjyjs3gvtw0uiy.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps" "-L" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/build/rusthacl-ae9df3fc713c0171/out" "-L" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/librusthacl-96ea517d001ef71d.rlib" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/librand-acef951c8a8b724e.rlib" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/librand-fce77a54c38c0ac7.rlib" "/home/hendrix/paparazzi/sw/ext/key_generator/target/release/deps/liblibc-3c615dad05dfc927.rlib" "-Wl,--start-group" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e12de7683a34c500.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-446a53c2e468675f.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86fef9fb252a2d33.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-3bed9bfd30304751.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0e38eeb474a7b386.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a846ed547b824740.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c9540f0a4fb9265d.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7d2ca66c92c356eb.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-147e2c808f949493.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bd2a4369506670e9.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74bfdd0ce7d0ed48.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6777f47f1c491841.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b104f1790174f2be.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-db37898996f45c13.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-25b7435131fc4938.rlib" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9d4b6f3c097e876e.rlib" "-Wl,--end-group" "/home/hendrix/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3f953ad652ab829a.rlib" "-Wl,-Bdynamic" "-lhacl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
  = note: /usr/bin/ld: cannot find -lhacl
          collect2: error: ld returned 1 exit status


error: aborting due to previous error; 8 warnings emitted

error: could not compile `key_generator`

To learn more, run the command again with --verbose.
Makefile.ac:188: recipe for target 'generate_keys' failed
make[1]: *** [generate_keys] Error 101
make[1]: Leaving directory '/home/hendrix/paparazzi'
Makefile.ac:211: recipe for target 'ap.compile' failed
make: *** [ap.compile] Error 2
make: Leaving directory '/home/hendrix/paparazzi'

FAILED 'make -C /home/hendrix/paparazzi -f Makefile.ac AIRCRAFT=secure_fixed_wing ap.compile' with code 2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]