Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example random-test-client not working #11

Open
hanusek opened this issue Oct 10, 2019 · 0 comments
Open

Example random-test-client not working #11

hanusek opened this issue Oct 10, 2019 · 0 comments

Comments

@hanusek
Copy link

hanusek commented Oct 10, 2019

Hello.
I'm trying run random-test-client and random-test-server.

mhanusek@EtHanusek:~/libmodbus-rs$ cargo run --example random-test-client
warning: couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/examples/random-test-client`
thread 'main' panicked at 'libmodbus API incompatible response', src/modbus.rs:391:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

when I lanuch tests

mhanusek@EtHanusek:~/libmodbus-rs$ cargo test
warning: couldn't execute `llvm-config --prefix` (error: No such file or directory (os error 2))
warning: set the LLVM_CONFIG_PATH environment variable to a valid `llvm-config` executable
   Compiling libmodbus-rs v0.9.0 (/home/mhanusek/libmodbus-rs)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.17plxm80tf8lwfe1.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.1s6pz9mv194k6u6x.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.27q34o6fb0dlca60.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.2ch93pt4ow2k3dzs.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.38q21rdojxdt20u7.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.3r8jrp4v1k0haf33.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.3s0tsoqzpnw8qw6q.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.3vcj6igxszzuuq6l.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.489ljmtct8lbduh0.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.4gjgz820iqcmjltv.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.4kr602wih9v77ooe.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.56kms3jupipub9h7.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.5a0456jr9531xw1a.rcgu.o" "-o" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490" "/home/mhanusek/libmodbus-rs/target/debug/deps/test_modbus_mapping-4ca5c3d512629490.1h6nx4ahusewt9yg.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/mhanusek/libmodbus-rs/target/debug/deps" "-L" "/home/mhanusek/libmodbus-rs/target/debug/build/backtrace-sys-8dfeb0d68c577774/out" "-L" "/usr/local/lib" "-L" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-8b6fbd25e1766083.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bd8f21e3bdd6cbdc.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-bfcad117c6a632af.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-79a1f91e8ce4eb83.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_sys-0b3347a9405f1a46.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libfailure-ab252bda19d2fe9e.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libbacktrace-bc83bdd7817bd382.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libbacktrace_sys-6dded5ac279ac145.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibc-b64c2fdf87781d34.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libcfg_if-5557127d350aca71.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/librustc_demangle-1a44e1ca65fe038c.rlib" "-Wl,--start-group" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-12ce12f1efc08aa3.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5d3cd1b3ddab72e4.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-f8222943dfd167e2.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-0cd00b2d3108cd48.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-485c05ba6ce1b438.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-63e6b1072426ba59.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a421aff1d43911ee.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3deef8ef4fe80dff.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f65a176f0586269e.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ad46d4080f4d7e57.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-da6c590582bf0885.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-837ca740df32db0a.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-db27c965e824589f.rlib" "-Wl,--end-group" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-68a4f8466685ed76.rlib" "-Wl,-Bdynamic" "-lmodbus" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.30ud4jgn8goa8230.rcgu.o): In function `libmodbus_rs::modbus_mapping::ModbusMapping::new_start_address':
          /home/mhanusek/libmodbus-rs/src/modbus_mapping.rs:109: undefined reference to `modbus_mapping_new_start_address'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: Could not compile `libmodbus-rs`.
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.180i6b2qetlwz39a.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1e66cs2f6ksqlwo.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1m2u9sdmlckpo2vs.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1o2k6clbw9ya5ss0.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1t2al1317n2805bs.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1y975l13k3aaupcm.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1yb7hdhb9e082fp6.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1zjhyzit0x57le8a.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.1zs34f1hf8cu5aen.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.23xvw7ebxohbst5b.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.294tej6b7ykt7dwe.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2b64l52gz7hqlfnr.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2celjcdyee6ucomq.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2dgn7y8hcgw8nods.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2eb5l11urzbak47c.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2j2c1kq7jmdg9rtt.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2juhuigkcjew7sji.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2l4u5ctg3pjwskl6.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2lmzi86ud69ewgwx.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2lzoelajx3rgavb1.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2og6xm2gw40ykx1e.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2uiv1vc02s3s9nds.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.2zjb88plyl14vbfm.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.33fpm7lusx64jza.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.33j0bpi722rm7srv.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.399z0v6mm3h64gmw.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3cophf9c6hovdaaw.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3fb4jckhz93k4bxd.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3fvletmw6rtxux7t.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3g2lmwrqixryg8td.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3k8shguddwa2b2ik.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3ng7sv2r6628whuj.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3qlu2xqutynnnpzp.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.3ylxxy3t8b04nmmw.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.403uhouklc6ulwwo.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.46xvbikg97tw8nnl.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.4b407zeknqfzbty6.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.4c6to39g8gux5w4h.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.4cpwsv4nu3e9m39a.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.4f4wg6c0htj2m7gt.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.4l7ktmgu72d94yqe.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.539fqb924jmbuuut.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.54fcvla56962whoc.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.5503dsk4sqteruua.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.592dg6j6fspl7113.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.5e8ffglzq1w6zlsf.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.btbxho32n2urtfz.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.daikqrtz2s131ub.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.kwxxdcevk667yei.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.qnvh69xxcgyqw5s.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.s29c1hb61fo8pa4.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.tk175bkb3526xn1.rcgu.o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.w63jmgjmxf9onnh.rcgu.o" "-o" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40" "/home/mhanusek/libmodbus-rs/target/debug/examples/unit_test_client-2db13ac394f80a40.ftkbngzem914rw3.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/mhanusek/libmodbus-rs/target/debug/deps" "-L" "/home/mhanusek/libmodbus-rs/target/debug/build/backtrace-sys-8dfeb0d68c577774/out" "-L" "/usr/local/lib" "-L" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_sys-0b3347a9405f1a46.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libfailure-ab252bda19d2fe9e.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libbacktrace-bc83bdd7817bd382.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libbacktrace_sys-6dded5ac279ac145.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/liblibc-b64c2fdf87781d34.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/libcfg_if-5557127d350aca71.rlib" "/home/mhanusek/libmodbus-rs/target/debug/deps/librustc_demangle-1a44e1ca65fe038c.rlib" "-Wl,--start-group" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-12ce12f1efc08aa3.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5d3cd1b3ddab72e4.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-f8222943dfd167e2.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-0cd00b2d3108cd48.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-485c05ba6ce1b438.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-63e6b1072426ba59.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a421aff1d43911ee.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3deef8ef4fe80dff.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f65a176f0586269e.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ad46d4080f4d7e57.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-da6c590582bf0885.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-837ca740df32db0a.rlib" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-db27c965e824589f.rlib" "-Wl,--end-group" "/home/mhanusek/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-68a4f8466685ed76.rlib" "-Wl,-Bdynamic" "-lmodbus" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `<libmodbus_rs::modbus::Modbus as libmodbus_rs::modbus_client::ModbusClient>::mask_write_register':
          /home/mhanusek/libmodbus-rs/src/modbus_client.rs:462: undefined reference to `modbus_mask_write_register'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::Modbus::get_slave':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:348: undefined reference to `modbus_get_slave'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::get_float_abcd':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:904: undefined reference to `modbus_get_float_abcd'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::set_float_abcd':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:928: undefined reference to `modbus_set_float_abcd'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::get_float_badc':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:954: undefined reference to `modbus_get_float_badc'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::set_float_badc':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:979: undefined reference to `modbus_set_float_badc'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::get_float_cdab':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:1005: undefined reference to `modbus_get_float_cdab'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::set_float_cdab':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:1030: undefined reference to `modbus_set_float_cdab'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::get_float_dcba':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:1056: undefined reference to `modbus_get_float_dcba'
          /home/mhanusek/libmodbus-rs/target/debug/deps/liblibmodbus_rs-4e55bdc7f77c938e.rlib(libmodbus_rs-4e55bdc7f77c938e.1v1qlr522jablyjc.rcgu.o): In function `libmodbus_rs::modbus::set_float_dcba':
          /home/mhanusek/libmodbus-rs/src/modbus.rs:1081: undefined reference to `modbus_set_float_dcba'
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: Could not compile `libmodbus-rs`.

To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant