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

Installation fails on Manjaro #238

Open
panyann opened this issue Feb 28, 2024 · 1 comment
Open

Installation fails on Manjaro #238

panyann opened this issue Feb 28, 2024 · 1 comment

Comments

@panyann
Copy link

panyann commented Feb 28, 2024

Introduction
Hey, I try to install Eruption on the Manjaro...

Please describe the bug
Command paru -Syu aur/eruption fails with ERROR: A failure occurred in build(), I suspect the problem is on line:
error: linking with `cc` failed: exit status: 1

To Reproduce
Run paru -Syu aur/eruption

Expected behavior
Should build Eruption.

Logs

console output
...
   Compiling eruption-hotplug-helper v0.1.6 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-hotplug-helper)
   Compiling eruption-process-monitor v0.1.3 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-process-monitor)
   Compiling eruption-keymap v0.0.7 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-keymap)
   Compiling eruption-macro v0.0.5 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-macro)
   Compiling eruptionctl v0.1.3 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruptionctl)
   Compiling eruption-hwutil v0.0.15 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-hwutil)
warning: unused import: `custom_serial_leds::*`
  --> eruption-hwutil/src/hwdevices/mod.rs:45:9
   |
45 | pub use custom_serial_leds::*;
   |         ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

   Compiling eruption-debug-tool v0.0.22 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-debug-tool)
   Compiling eruption-util v0.0.10 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-util)
   Compiling sourceview4 v0.4.0
   Compiling eruption-netfx v0.1.3 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-netfx)
   Compiling eruption-cmd v0.0.6 (/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/eruption-cmd)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/home/yan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcrM8uqS/symbols.o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps" "-L" "/usr/lib" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/build/hidapi-af4e7df4b34a5e4b/out" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcrM8uqS/libhidapi-6e7f91e269410471.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-ludev" "-lusb-1.0" "-levdev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::check_error':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$11check_error17h794b094ea0c04894E+0xd): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::write':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x29): undefined reference to `hid_write'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x57): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x18): undefined reference to `hid_read'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read_timeout':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x1b): undefined reference to `hid_read_timeout'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x3f): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::send_feature_report':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x2e): undefined reference to `hid_send_feature_report'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x51): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_feature_report':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x18): undefined reference to `hid_get_feature_report'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::set_blocking_mode':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$17set_blocking_mode17h02978517aed44843E+0x26): undefined reference to `hid_set_nonblocking'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_manufacturer_string':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x43): undefined reference to `hid_get_manufacturer_string'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_product_string':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x43): undefined reference to `hid_get_product_string'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_serial_number_string':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x43): undefined reference to `hid_get_serial_number_string'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_indexed_string':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x48): undefined reference to `hid_get_indexed_string'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x93): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_device_info':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x19): undefined reference to `hid_get_device_info'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x87): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_report_descriptor':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x18): undefined reference to `hid_get_report_descriptor'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `hidapi::HidApi::new':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x78): undefined reference to `hid_init'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x124): undefined reference to `hid_enumerate'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x53a): undefined reference to `hid_free_enumeration'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x57e): undefined reference to `hid_init'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<hidapi::hidapi::HidDevice>':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN4core3ptr46drop_in_place$LT$hidapi..hidapi..HidDevice$GT$17h395555289b8e8e63E+0x5): undefined reference to `hid_close'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_util-22ae0c4c363f3de3.eruption_util.6100cb601426f003-cgu.0.rcgu.o: in function `hidapi::DeviceInfo::open_device':
          eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x82): undefined reference to `hid_open_path'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x189): undefined reference to `hid_error'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x8e0): undefined reference to `hid_open'
          /usr/bin/ld: eruption_util.6100cb601426f003-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x902): undefined reference to `hid_error'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `eruption-util` (bin "eruption-util") due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/home/yan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcBwntoA/symbols.o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps" "-L" "/usr/lib" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/build/hidapi-af4e7df4b34a5e4b/out" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcBwntoA/libhidapi-6e7f91e269410471.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-lusb-1.0" "-ludev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::check_error':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$11check_error17h794b094ea0c04894E+0xd): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::write':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x29): undefined reference to `hid_write'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x57): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x18): undefined reference to `hid_read'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read_timeout':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x1b): undefined reference to `hid_read_timeout'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x3f): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::send_feature_report':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x2e): undefined reference to `hid_send_feature_report'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x51): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_feature_report':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x18): undefined reference to `hid_get_feature_report'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::set_blocking_mode':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$17set_blocking_mode17h02978517aed44843E+0x26): undefined reference to `hid_set_nonblocking'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_manufacturer_string':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x43): undefined reference to `hid_get_manufacturer_string'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_product_string':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x43): undefined reference to `hid_get_product_string'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_serial_number_string':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x43): undefined reference to `hid_get_serial_number_string'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_indexed_string':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x48): undefined reference to `hid_get_indexed_string'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x93): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_device_info':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x19): undefined reference to `hid_get_device_info'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x87): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_report_descriptor':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x18): undefined reference to `hid_get_report_descriptor'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `hidapi::HidApi::new':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x78): undefined reference to `hid_init'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x124): undefined reference to `hid_enumerate'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x53a): undefined reference to `hid_free_enumeration'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x57e): undefined reference to `hid_init'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<hidapi::hidapi::HidDevice>':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN4core3ptr46drop_in_place$LT$hidapi..hidapi..HidDevice$GT$17h395555289b8e8e63E+0x5): undefined reference to `hid_close'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_debug_tool-01cde57ebe2d246b.eruption_debug_tool.90041773d69e9445-cgu.0.rcgu.o: in function `hidapi::DeviceInfo::open_device':
          eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x82): undefined reference to `hid_open_path'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x189): undefined reference to `hid_error'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x8e0): undefined reference to `hid_open'
          /usr/bin/ld: eruption_debug_tool.90041773d69e9445-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x902): undefined reference to `hid_error'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `eruption-debug-tool` (bin "eruption-debug-tool") due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/home/yan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcdwOCJS/symbols.o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps" "-L" "/usr/lib" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/build/hidapi-af4e7df4b34a5e4b/out" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcdwOCJS/libhidapi-6e7f91e269410471.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-lusb-1.0" "-ludev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::check_error':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$11check_error17h794b094ea0c04894E+0xd): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::write':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x29): undefined reference to `hid_write'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x57): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x18): undefined reference to `hid_read'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read_timeout':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x1b): undefined reference to `hid_read_timeout'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x3f): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::send_feature_report':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x2e): undefined reference to `hid_send_feature_report'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x51): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_feature_report':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x18): undefined reference to `hid_get_feature_report'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::set_blocking_mode':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$17set_blocking_mode17h02978517aed44843E+0x26): undefined reference to `hid_set_nonblocking'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_manufacturer_string':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x43): undefined reference to `hid_get_manufacturer_string'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_product_string':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x43): undefined reference to `hid_get_product_string'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_serial_number_string':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x43): undefined reference to `hid_get_serial_number_string'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_indexed_string':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x48): undefined reference to `hid_get_indexed_string'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x93): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_device_info':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x19): undefined reference to `hid_get_device_info'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x87): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_report_descriptor':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x18): undefined reference to `hid_get_report_descriptor'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `hidapi::HidApi::new':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x78): undefined reference to `hid_init'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x124): undefined reference to `hid_enumerate'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x53a): undefined reference to `hid_free_enumeration'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi6HidApi3new17h49ba3f10f07dccb8E+0x57e): undefined reference to `hid_init'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<hidapi::hidapi::HidDevice>':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN4core3ptr46drop_in_place$LT$hidapi..hidapi..HidDevice$GT$17h395555289b8e8e63E+0x5): undefined reference to `hid_close'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_hwutil-381131b3b7849193.eruption_hwutil.db5f0237bbfa6e1e-cgu.0.rcgu.o: in function `hidapi::DeviceInfo::open_device':
          eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x82): undefined reference to `hid_open_path'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x189): undefined reference to `hid_error'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x8e0): undefined reference to `hid_open'
          /usr/bin/ld: eruption_hwutil.db5f0237bbfa6e1e-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x902): undefined reference to `hid_error'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

warning: `eruption-hwutil` (bin "eruption-hwutil") generated 1 warning
error: could not compile `eruption-hwutil` (bin "eruption-hwutil") due to 1 previous error; 1 warning emitted
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/home/yan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcVjWOAn/symbols.o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_process_monitor-604925ff5c1130ed.eruption_process_monitor.bdf810cd2ef8adfa-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps" "-L" "/usr/lib" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/build/procmon-sys-86a932c2b9fbeb97/out" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcVjWOAn/libprocmon_sys-44ac701233e29602.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-lxcb" "-ldbus-1" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_process_monitor-604925ff5c1130ed" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption_process_monitor-604925ff5c1130ed.eruption_process_monitor.bdf810cd2ef8adfa-cgu.0.rcgu.o: in function `std::sys_common::backtrace::__rust_begin_short_backtrace':
          eruption_process_monitor.bdf810cd2ef8adfa-cgu.0:(.text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hdaebf6d8dbd6ee86E+0x16): undefined reference to `nl_connect'
          /usr/bin/ld: eruption_process_monitor.bdf810cd2ef8adfa-cgu.0:(.text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hdaebf6d8dbd6ee86E+0x27): undefined reference to `set_proc_ev_listen'
          /usr/bin/ld: eruption_process_monitor.bdf810cd2ef8adfa-cgu.0:(.text._ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17hdaebf6d8dbd6ee86E+0x4b): undefined reference to `handle_proc_ev'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `eruption-process-monitor` (bin "eruption-process-monitor") due to 1 previous error
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/home/yan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-m64" "/tmp/rustcHNPnXF/symbols.o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/build/hidapi-af4e7df4b34a5e4b/out" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcHNPnXF/libhidapi-6e7f91e269410471.rlib" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dc359f8c64813cd3.rlib" "-Wl,-Bdynamic" "-lsystemd" "-llua" "-lm" "-ldbus-1" "-ludev" "-lusb-1.0" "-levdev" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-all" "-nodefaultlibs"
  = note: /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `eruption::async_main::{{closure}}':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN8eruption10async_main28_$u7b$$u7b$closure$u7d$$u7d$17h4756db24dfe81940E+0xdf56): undefined reference to `hid_init'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::check_error':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$11check_error17h794b094ea0c04894E+0xd): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::write':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x29): undefined reference to `hid_write'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$5write17h2821763be2a7d7cfE+0x57): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x18): undefined reference to `hid_read'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$4read17hf404fc665d944d31E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::read_timeout':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x1b): undefined reference to `hid_read_timeout'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$12read_timeout17h828bc5c0e55800e5E+0x3f): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::send_feature_report':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x2e): undefined reference to `hid_send_feature_report'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$19send_feature_report17hed05b024de6eeb29E+0x51): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_feature_report':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x18): undefined reference to `hid_get_feature_report'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_feature_report17h47591c521c7d294dE+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::set_blocking_mode':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$17set_blocking_mode17h02978517aed44843E+0x26): undefined reference to `hid_set_nonblocking'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_manufacturer_string':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x43): undefined reference to `hid_get_manufacturer_string'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$23get_manufacturer_string17h39526d13fbd21c50E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_product_string':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x43): undefined reference to `hid_get_product_string'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_product_string17hee6e5defe2ef9fc7E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_serial_number_string':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x43): undefined reference to `hid_get_serial_number_string'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$24get_serial_number_string17hfd30f984b5f35b36E+0x8e): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_indexed_string':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x48): undefined reference to `hid_get_indexed_string'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$18get_indexed_string17h0fff0e4d01d1712eE+0x93): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_device_info':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x19): undefined reference to `hid_get_device_info'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$15get_device_info17hb0bb854c5395666cE+0x87): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `<hidapi::hidapi::HidDevice as hidapi::HidDeviceBackendBase>::get_report_descriptor':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x18): undefined reference to `hid_get_report_descriptor'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN74_$LT$hidapi..hidapi..HidDevice$u20$as$u20$hidapi..HidDeviceBackendBase$GT$21get_report_descriptor17h1d5fe38013cd4668E+0x3c): undefined reference to `hid_error'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `hidapi::hidapi::HidApiBackend::get_hid_device_info_vector':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi6hidapi13HidApiBackend26get_hid_device_info_vector17h88c62b3e1a43a4caE+0x4f): undefined reference to `hid_enumerate'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi6hidapi13HidApiBackend26get_hid_device_info_vector17h88c62b3e1a43a4caE+0x35a): undefined reference to `hid_free_enumeration'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `core::ptr::drop_in_place<hidapi::hidapi::HidDevice>':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN4core3ptr46drop_in_place$LT$hidapi..hidapi..HidDevice$GT$17h395555289b8e8e63E+0x5): undefined reference to `hid_close'
          /usr/bin/ld: /home/yan/.cache/paru/clone/eruption/src/eruption-37ead33dfce8e56662a288e790aa04bbb45a9fff/target/release/deps/eruption-87a5f6f0b897dba4.eruption.2de5330ed66c0781-cgu.0.rcgu.o: in function `hidapi::DeviceInfo::open_device':
          eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x82): undefined reference to `hid_open_path'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x189): undefined reference to `hid_error'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x8e0): undefined reference to `hid_open'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x902): undefined reference to `hid_error'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `eruption` (bin "eruption") due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'eruption-0.3.5-0': 
error: packages failed to build: eruption-0.3.5-0

Please complete the following information:

  • Eruption version: eruption-0.3.5-0
  • List your device(s) (sudo lsusb):
sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 003: ID 31b2:0011 DCMT Technology USB Condenser Microphone
Bus 001 Device 004: ID 1e7d:2e2c ROCCAT ROCCAT Kone Aimo 16K
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 3233:1311 Ducky Ducky One 3 RGB
Bus 001 Device 007: ID 048d:5702 Integrated Technology Express, Inc. RGB LED Controller
Bus 001 Device 008: ID 0bda:1100 Realtek Semiconductor Corp. HID Device
Bus 001 Device 009: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 010: ID 041e:3256 Creative Technology, Ltd Sound BlasterX G6
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0c68:6888 Sonix Technology Co., Ltd. AUKEY PC-LM7
Bus 003 Device 003: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Is it something on my side or yours..? Thanks for the help.

@JamieSandell
Copy link

JamieSandell commented Apr 23, 2024

Same issue for me, but I tried to install with pamac install eruption

         eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x82): undefined reference to `hid_open_path'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x189): undefined reference to `hid_error'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x8e0): undefined reference to `hid_open'
          /usr/bin/ld: eruption.2de5330ed66c0781-cgu.0:(.text._ZN6hidapi10DeviceInfo11open_device17h2d4973c0c12af829E+0x902): undefined reference to `hid_error'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `eruption` (bin "eruption") due to 1 previous error
==> ERROR: A failure occurred in build().
    Aborting...

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

2 participants