hibari0614 / qemu-hvf

Qemu fork which supports macOS' native hypervisor with Hypervisor.framework (HVF) API. In this fork, the HVF patches have been added into the latest Qemu stable version, current is v2.10.1, and can be found in the branch which named develop-v2.10.2-hvf. The HVF patches are coming from "2017 Google Summer of Code" project and can be found in https://summerofcode.withgoogle.com/archive/2017/projects/5320295980204032/ .
Other
15 stars 3 forks source link

Problems building the project #1

Open patreu22 opened 5 years ago

patreu22 commented 5 years ago

Hey Hibari, for a uni project I was looking for a way to use the Hypervisor.framework and found your Repo.

Does it work for you? I'm not able to run the make command for any reason, I get the following error:

ar: creating archive libfdt/libfdt.a
a - libfdt/fdt.o
a - libfdt/fdt_ro.o
a - libfdt/fdt_wip.o
a - libfdt/fdt_sw.o
a - libfdt/fdt_rw.o
a - libfdt/fdt_strerror.o
a - libfdt/fdt_empty_tree.o
a - libfdt/fdt_addresses.o
a - libfdt/fdt_overlay.o
/opt/local/bin/ranlib: object: libfdt/libfdt.a(fdt.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
make[1]: *** [libfdt/libfdt.a] Error 1
make: *** [subdir-dtc] Error 2

Could you verify you can still run the make command on your machine or is it just outdated? You'ld really help me! :)

hibari0614 commented 5 years ago

Hi Perteu22

QEMU has been supported Hypervisor.framework on their new vision release, it might a good idea to follow their project for knowing how the Hypervisor.framework is used.

Unfortunately, i cannot verify this repository for you, because my Macbook Pro was broken, and cannot tests this code on MacOS environment.

Could you please allow me to ask some questions for resolving your issues :) ? Which branch did you built ? When i pushed this repository the workable branch was develop-v2.10.2-hvf, you might needness build this branch. QEMU requires ranlib library, might your MacOS loss this dependence :), Could you please check this dependence is installed. (Your issue seems like the ranlib cannot be found by make, i guess the MacOS loss this dependence)

Thank you paying attention on this repository :) .