KVM-VMI / kvm-vmi

KVM-based Virtual Machine Introspection
https://kvm-vmi.github.io/kvm-vmi/master/
309 stars 61 forks source link

error in making QEMU #133

Open SOBXiong opened 2 years ago

SOBXiong commented 2 years ago

Environment: Ubuntu 18.04.6 Desktop LTS, Kernel version: 5.4.186, ld version: 2.37 I find an error when I made qemu(kvmi-v7) project:

  ld: Error: unable to disambiguate: -nopie (did you mean --nopie ?)
  Makefile:53: recipe for target 'multiboot.img' failed
  make[1]: *** [multiboot.img] Error 1
  Makefile:542: recipe for target 'pc-bios/optionrom/all' failed
  make: *** [pc-bios/optionrom/all] Error 2
  make: *** Waiting for unfinished jobs...

I search solutions in google, and it may be the problem of ld(The version is too high). And I modify configure file in line 2048: LDFLAGS_NOPIE="-no-pie", it works!

Maybe others have the same problem.

And I want to know in which files you made modifications to support vmi(There are too many files, and my git skill is pool)! Please tell me soon! Thank you! :)

adlazar commented 2 years ago

@SOBXiong , you can browse the commits related to VMI starting with aaea27d12825759b0a7649a11477eefa6744b37a, the first commit on top of v4.2.1