Skip to content

Unable to compile #205

@BucketHatGirl

Description

@BucketHatGirl

After building libkrun with make BLK=1

Then starting to build muvm with cargo build --release

I get this error no matter what I do. I've looked at similar issues and they still didnt fix my issue.


  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /home/maddie/muvm/target/debug/deps/muvm-a9fc8fa3ec45f7f1.6y60gm2hatshi5tkdmgte24tx.0qlr9it.rcgu.o: in function `muvm::main':
          /home/maddie/muvm/crates/muvm/src/bin/muvm.rs:287:(.text._ZN4muvm4main17h2c0ad957a6f48286E+0x16bc): undefined reference to `krun_set_passt_fd'
          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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions