Skip to content

Building from scratch #6

@kemelzaidan

Description

@kemelzaidan

I'm trying to build it from scratch to package it for Archlinux and I'm receiving the following error:

build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.8/src/arithmetic/bigint/modulus.rs:123:(.text._ZN4ring10arithmetic6bigint7modulus21OwnedModulus$LT$M$GT$13from_be_bytes17h216c97a23c52b582E+0x31b): undefined reference to `ring_core_0_17_8_bn_neg_inv_mod_r_u64'
          /usr/bin/ld: /build/ddv/src/ddv-0.1.0/target/release/deps/libring-3f0800a77ae9af3a.rlib(ring-3f0800a77ae9af3a.ring.c45fd33155f93635-cgu.01.rcgu.o): in function `<core::ops::range::Range<T> as core::iter::range::RangeIteratorImpl>::spec_next':
          /usr/src/debug/rust/rustc-1.85.1-src/library/core/src/iter/range.rs:(.text._ZN4ring10arithmetic6bigint7modulus16Modulus$LT$M$GT$4oneR17hc80a5ec5669d03dcE+0xcd): undefined reference to `ring_core_0_17_8_LIMBS_shl_mod'
          /usr/bin/ld: /build/ddv/src/ddv-0.1.0/target/release/deps/ddv-c68d3d42e1e6adc2: hidden symbol `ring_core_0_17_8_OPENSSL_ia32cap_P' isn't defined
          /usr/bin/ld: final link failed: bad value
          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#rustc-link-lib)

error: could not compile `ddv` (bin "ddv") due to 1 previous error

Am I missing some external C library?? Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions