Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Problem building on MacOS #122

Open
JJK96 opened this issue May 22, 2023 · 0 comments
Open

Problem building on MacOS #122

JJK96 opened this issue May 22, 2023 · 0 comments

Comments

@JJK96
Copy link

JJK96 commented May 22, 2023

I'm having trouble building the python3migration branch on MacOS, specifically the bundled QEMU. It seems to break on linking to HVF (Apple's hypervisor). Maybe someone can help me with this?
I've made some small changes to the build files to even get to this stage: https://github.com/NorthwaveSecurity/pyrebox/tree/python3migration.

./build.sh

[*] Building The Sleuth Kit...

Making all in tsk
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in base
make[3]: Nothing to be done for `all'.
Making all in img
make[3]: Nothing to be done for `all'.
Making all in vs
make[3]: Nothing to be done for `all'.
Making all in fs
make[3]: Nothing to be done for `all'.
Making all in hashdb
make[3]: Nothing to be done for `all'.
Making all in auto
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in tools
Making all in imgtools
make[2]: Nothing to be done for `all'.
Making all in vstools
make[2]: Nothing to be done for `all'.
Making all in fstools
make[2]: Nothing to be done for `all'.
Making all in hashtools
make[2]: Nothing to be done for `all'.
Making all in srchtools
make[2]: Nothing to be done for `all'.
Making all in sorter
make[2]: Nothing to be done for `all'.
Making all in timeline
make[2]: Nothing to be done for `all'.
Making all in autotools
make[2]: Nothing to be done for `all'.
Making all in fiwalk
Making all in src
make[3]: Nothing to be done for `all'.
Making all in plugins
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all-am'.
Making all in tests
make[1]: Nothing to be done for `all'.
Making all in samples
make[1]: Nothing to be done for `all'.
Making all in man
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all-am'.

[*] Building pyrebox...

echo -I./pyrebox -I/Users/nw/.pyenv/versions/3.6.15/include/python3.6m -I/Users/nw/.pyenv/versions/3.6.15/include/python3.6m -Wno-unused-result  -Wunreachable-code  -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
-I./pyrebox -I/Users/nw/.pyenv/versions/3.6.15/include/python3.6m -I/Users/nw/.pyenv/versions/3.6.15/include/python3.6m -Wno-unused-result -Wunreachable-code -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
echo -lpython3.6m -lintl -ldl -framework CoreFoundation  -framework CoreFoundation -L/Users/nw/.pyenv/versions/3.6.15/lib -v
-lpython3.6m -lintl -ldl -framework CoreFoundation -framework CoreFoundation -L/Users/nw/.pyenv/versions/3.6.15/lib -v
rm -f pyrebox-i386
rm -f pyrebox-x86_64
cp -f .pyrebox-i386 pyrebox-i386
cp -f .pyrebox-x86_64 pyrebox-x86_64
  LINK    x86_64-softmmu/qemu-system-x86_64
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -dylib -arch x86_64 -platform_version macos 13.0.0 13.3 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -o qemu-system-x86_64 -L/Users/nw/git/pyrebox/qemu/dtc/libfdt -L/Users/nw/.pyenv/versions/3.6.15/lib -L/Users/nw/.pyenv/versions/3.6.15/lib -L/Users/nw/git/pyrebox/qemu/pyrebox/sleuthkit/tsk/.libs/ -L/usr/local/Cellar/libusb/1.0.26/lib -L/usr/local/Cellar/libslirp/4.7.0/lib -L/usr/local/Cellar/glib/2.76.2/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/pixman/0.42.2/lib -L/usr/local/Cellar/libpng/1.6.39/lib -L/usr/local/Cellar/nettle/3.8.1/lib -L/usr/local/Cellar/gnutls/3.8.0/lib -L/usr/local/Cellar/capstone/4.0.2/lib -L/usr/local/Cellar/glib/2.76.2/lib -L/usr/local/opt/gettext/lib -L/usr/local/lib -lpython3.6m -lintl -ldl -framework CoreFoundation -framework CoreFoundation exec.o tcg/tcg.o tcg/tcg-op.o tcg/tcg-op-vec.o tcg/tcg-op-gvec.o tcg/tcg-common.o tcg/optimize.o fpu/softfloat.o disas.o gdbstub-xml.o arch_init.o cpus.o monitor.o gdbstub.o balloon.o ioport.o numa.o qtest.o memory.o memory_mapping.o dump.o win_dump.o migration/ram.o accel/accel.o accel/stubs/whpx-stub.o accel/stubs/kvm-stub.o accel/tcg/tcg-all.o accel/tcg/cputlb.o accel/tcg/tcg-runtime.o accel/tcg/tcg-runtime-gvec.o accel/tcg/cpu-exec.o accel/tcg/cpu-exec-common.o accel/tcg/translate-all.o accel/tcg/translator.o hw/block/virtio-blk.o hw/block/dataplane/virtio-blk.o hw/char/virtio-serial-bus.o hw/display/vga.o hw/display/virtio-gpu.o hw/display/virtio-gpu-3d.o hw/display/virtio-gpu-pci.o hw/display/virtio-vga.o hw/display/ati.o hw/display/ati_2d.o hw/display/ati_dbg.o hw/intc/apic.o hw/intc/apic_common.o hw/intc/ioapic.o hw/isa/lpc_ich9.o hw/misc/pvpanic.o hw/net/virtio-net.o hw/scsi/virtio-scsi.o hw/scsi/virtio-scsi-dataplane.o hw/timer/mc146818rtc.o hw/tpm/tpm_ppi.o hw/virtio/virtio.o hw/virtio/vhost.o hw/virtio/vhost-backend.o hw/virtio/vhost-user.o hw/virtio/virtio-balloon.o hw/virtio/virtio-crypto.o hw/virtio/virtio-crypto-pci.o hw/virtio/virtio-input-pci.o hw/virtio/virtio-rng-pci.o hw/virtio/virtio-balloon-pci.o hw/virtio/virtio-scsi-pci.o hw/virtio/virtio-blk-pci.o hw/virtio/virtio-net-pci.o hw/virtio/virtio-serial-pci.o hw/i386/multiboot.o hw/i386/pc.o hw/i386/pc_piix.o hw/i386/pc_q35.o hw/i386/pc_sysfw.o hw/i386/x86-iommu.o hw/i386/intel_iommu.o hw/i386/amd_iommu.o hw/i386/vmport.o hw/i386/vmmouse.o hw/i386/kvmvapic.o hw/i386/acpi-build.o pyrebox/process_mgr.o pyrebox/utils.o pyrebox/pyrebox.o pyrebox/qemu_glue.o pyrebox/qemu_glue_gdbstub.o pyrebox/api.o pyrebox/qemu_commands.o pyrebox/callbacks.o pyrebox/qemu_glue_callbacks.o pyrebox/vmi.o pyrebox/windows_vmi.o pyrebox/linux_vmi.o pyrebox/qemu_glue_sleuthkit.o qapi/qapi-introspect.o qapi/qapi-types-target.o qapi/qapi-types.o qapi/qapi-visit-target.o qapi/qapi-visit.o qapi/qapi-events-target.o qapi/qapi-events.o qapi/qapi-commands-target.o qapi/qapi-commands.o target/i386/helper.o target/i386/cpu.o target/i386/gdbstub.o target/i386/xsave_helper.o target/i386/translate.o target/i386/bpt_helper.o target/i386/cc_helper.o target/i386/excp_helper.o target/i386/fpu_helper.o target/i386/int_helper.o target/i386/mem_helper.o target/i386/misc_helper.o target/i386/mpx_helper.o target/i386/seg_helper.o target/i386/smm_helper.o target/i386/svm_helper.o target/i386/kvm-stub.o target/i386/machine.o target/i386/arch_memory_mapping.o target/i386/arch_dump.o target/i386/monitor.o target/i386/hyperv-stub.o target/i386/hax-all.o target/i386/hax-mem.o target/i386/hax-posix.o target/i386/sev-stub.o target/i386/hvf/hvf.o target/i386/hvf/x86.o target/i386/hvf/x86_cpuid.o target/i386/hvf/x86_decode.o target/i386/hvf/x86_descr.o target/i386/hvf/x86_emu.o target/i386/hvf/x86_flags.o target/i386/hvf/x86_mmu.o target/i386/hvf/x86hvf.o target/i386/hvf/x86_task.o trace/generated-helpers.o trace/control-target.o ../blockdev.o ../blockdev-nbd.o ../bootdevice.o ../iothread.o ../job-qmp.o ../qdev-monitor.o ../device-hotplug.o ../os-posix.o ../bt-host.o ../bt-vhci.o ../dma-helpers.o ../vl.o ../tpm.o ../device_tree.o ../qmp.o ../hmp.o ../cpus-common.o ../audio/audio.o ../audio/audio_legacy.o ../audio/noaudio.o ../audio/wavaudio.o ../audio/mixeng.o ../audio/coreaudio.o ../audio/wavcapture.o ../backends/rng.o ../backends/rng-egd.o ../backends/rng-random.o ../backends/tpm.o ../backends/hostmem.o ../backends/hostmem-ram.o ../backends/hostmem-file.o ../backends/cryptodev.o ../backends/cryptodev-builtin.o ../backends/cryptodev-vhost.o ../backends/cryptodev-vhost-user.o ../block/stream.o ../chardev/msmouse.o ../chardev/wctablet.o ../chardev/testdev.o ../disas/i386.o ../hw/acpi/core.o ../hw/acpi/piix4.o ../hw/acpi/pcihp.o ../hw/acpi/ich9.o ../hw/acpi/tco.o ../hw/acpi/cpu_hotplug.o ../hw/acpi/memory_hotplug.o ../hw/acpi/cpu.o ../hw/acpi/nvdimm.o ../hw/acpi/vmgenid.o ../hw/acpi/acpi_interface.o ../hw/acpi/bios-linker-loader.o ../hw/acpi/aml-build.o ../hw/acpi/tpm.o ../hw/acpi/ipmi.o ../hw/audio/sb16.o ../hw/audio/es1370.o ../hw/audio/ac97.o ../hw/audio/fmopl.o ../hw/audio/adlib.o ../hw/audio/gus.o ../hw/audio/gusemu_hal.o ../hw/audio/gusemu_mixer.o ../hw/audio/cs4231a.o ../hw/audio/intel-hda.o ../hw/audio/hda-codec.o ../hw/audio/pcspk.o ../hw/audio/soundhw.o ../hw/block/block.o ../hw/block/cdrom.o ../hw/block/hd-geometry.o ../hw/block/fdc.o ../hw/block/pflash_cfi01.o ../hw/block/nvme.o ../hw/bt/core.o ../hw/bt/l2cap.o ../hw/bt/sdp.o ../hw/bt/hci.o ../hw/bt/hid.o ../hw/bt/hci-csr.o ../hw/char/ipoctal232.o ../hw/char/parallel.o ../hw/char/parallel-isa.o ../hw/char/serial.o ../hw/char/serial-isa.o ../hw/char/serial-pci.o ../hw/char/virtio-console.o ../hw/char/debugcon.o ../hw/core/qdev.o ../hw/core/qdev-properties.o ../hw/core/bus.o ../hw/core/reset.o ../hw/core/qdev-fw.o ../hw/core/fw-path-provider.o ../hw/core/irq.o ../hw/core/hotplug.o ../hw/core/nmi.o ../hw/core/sysbus.o ../hw/core/machine.o ../hw/core/loader.o ../hw/core/qdev-properties-system.o ../hw/core/register.o ../hw/core/or-irq.o ../hw/core/split-irq.o ../hw/core/generic-loader.o ../hw/core/null-machine.o ../hw/cpu/core.o ../hw/cpu/cluster.o ../hw/display/edid-generate.o ../hw/display/edid-region.o ../hw/display/ramfb.o ../hw/display/ramfb-standalone.o ../hw/display/cirrus_vga.o ../hw/display/cirrus_vga_isa.o ../hw/display/vga-pci.o ../hw/display/vga-isa.o ../hw/display/vmware_vga.o ../hw/display/bochs-display.o ../hw/dma/i8257.o ../hw/i2c/core.o ../hw/i2c/smbus_slave.o ../hw/i2c/smbus_master.o ../hw/i2c/smbus_eeprom.o ../hw/i2c/smbus_ich9.o ../hw/i2c/pm_smbus.o ../hw/ide/core.o ../hw/ide/atapi.o ../hw/ide/qdev.o ../hw/ide/pci.o ../hw/ide/isa.o ../hw/ide/ioport.o ../hw/ide/piix.o ../hw/ide/ahci.o ../hw/ide/ich.o ../hw/input/hid.o ../hw/input/pckbd.o ../hw/input/ps2.o ../hw/input/virtio-input.o ../hw/input/virtio-input-hid.o ../hw/intc/i8259_common.o ../hw/intc/i8259.o ../hw/intc/ioapic_common.o ../hw/intc/intc.o ../hw/ipack/ipack.o ../hw/ipack/tpci200.o ../hw/ipmi/ipmi.o ../hw/ipmi/ipmi_bmc_sim.o ../hw/ipmi/ipmi_bmc_extern.o ../hw/ipmi/isa_ipmi_kcs.o ../hw/ipmi/isa_ipmi_bt.o ../hw/isa/isa-bus.o ../hw/isa/isa-superio.o ../hw/isa/apm.o ../hw/mem/pc-dimm.o ../hw/mem/memory-device.o ../hw/mem/nvdimm.o ../hw/misc/applesmc.o ../hw/misc/debugexit.o ../hw/misc/sga.o ../hw/misc/pc-testdev.o ../hw/misc/pci-testdev.o ../hw/misc/edu.o ../hw/misc/unimp.o ../hw/misc/vmcoreinfo.o ../hw/net/ne2000.o ../hw/net/eepro100.o ../hw/net/pcnet-pci.o ../hw/net/pcnet.o ../hw/net/e1000.o ../hw/net/e1000x_common.o ../hw/net/net_tx_pkt.o ../hw/net/net_rx_pkt.o ../hw/net/e1000e.o ../hw/net/e1000e_core.o ../hw/net/rtl8139.o ../hw/net/vmxnet3.o ../hw/net/ne2000-isa.o ../hw/net/vhost_net.o ../hw/net/rocker/rocker.o ../hw/net/rocker/rocker_fp.o ../hw/net/rocker/rocker_desc.o ../hw/net/rocker/rocker_world.o ../hw/net/rocker/rocker_of_dpa.o ../hw/net/can/can_sja1000.o ../hw/net/can/can_kvaser_pci.o ../hw/net/can/can_pcm3680_pci.o ../hw/net/can/can_mioe3680_pci.o ../hw/nvram/eeprom93xx.o ../hw/nvram/fw_cfg.o ../hw/nvram/chrp_nvram.o ../hw/pci-bridge/pci_bridge_dev.o ../hw/pci-bridge/pcie_root_port.o ../hw/pci-bridge/gen_pcie_root_port.o ../hw/pci-bridge/pcie_pci_bridge.o ../hw/pci-bridge/pci_expander_bridge.o ../hw/pci-bridge/xio3130_upstream.o ../hw/pci-bridge/xio3130_downstream.o ../hw/pci-bridge/ioh3420.o ../hw/pci-bridge/i82801b11.o ../hw/pci-host/pam.o ../hw/pci-host/piix.o ../hw/pci-host/q35.o ../hw/pci/pci.o ../hw/pci/pci_bridge.o ../hw/pci/msix.o ../hw/pci/msi.o ../hw/pci/shpc.o ../hw/pci/slotid_cap.o ../hw/pci/pci_host.o ../hw/pci/pcie.o ../hw/pci/pcie_aer.o ../hw/pci/pcie_port.o ../hw/pci/pcie_host.o ../hw/pcmcia/pcmcia.o ../hw/scsi/scsi-disk.o ../hw/scsi/emulation.o ../hw/scsi/scsi-generic.o ../hw/scsi/scsi-bus.o ../hw/scsi/lsi53c895a.o ../hw/scsi/mptsas.o ../hw/scsi/mptconfig.o ../hw/scsi/mptendian.o ../hw/scsi/megasas.o ../hw/scsi/vmw_pvscsi.o ../hw/scsi/esp.o ../hw/scsi/esp-pci.o ../hw/sd/sd.o ../hw/sd/core.o ../hw/sd/sdmmc-internal.o ../hw/sd/sdhci.o ../hw/sd/sdhci-pci.o ../hw/smbios/smbios.o ../hw/smbios/smbios_type_38.o ../hw/timer/hpet.o ../hw/timer/i8254_common.o ../hw/timer/i8254.o ../hw/tpm/tpm_util.o ../hw/tpm/tpm_tis.o ../hw/tpm/tpm_crb.o ../hw/tpm/tpm_emulator.o ../hw/usb/core.o ../hw/usb/combined-packet.o ../hw/usb/bus.o ../hw/usb/libhw.o ../hw/usb/desc.o ../hw/usb/desc-msos.o ../hw/usb/hcd-uhci.o ../hw/usb/hcd-ohci.o ../hw/usb/hcd-ehci.o ../hw/usb/hcd-ehci-pci.o ../hw/usb/hcd-xhci.o ../hw/usb/hcd-xhci-nec.o ../hw/usb/dev-hub.o ../hw/usb/dev-hid.o ../hw/usb/dev-wacom.o ../hw/usb/dev-storage.o ../hw/usb/dev-uas.o ../hw/usb/dev-audio.o ../hw/usb/dev-serial.o ../hw/usb/dev-network.o ../hw/usb/dev-bluetooth.o ../hw/usb/dev-smartcard-reader.o ../hw/usb/dev-mtp.o ../hw/usb/host-libusb.o ../hw/virtio/virtio-bus.o ../hw/virtio/virtio-rng.o ../hw/virtio/virtio-pci.o ../hw/watchdog/watchdog.o ../hw/watchdog/wdt_i6300esb.o ../hw/watchdog/wdt_ib700.o ../migration/migration.o ../migration/socket.o ../migration/fd.o ../migration/exec.o ../migration/tls.o ../migration/channel.o ../migration/savevm.o ../migration/colo.o ../migration/colo-failover.o ../migration/vmstate.o ../migration/vmstate-types.o ../migration/page_cache.o ../migration/qemu-file.o ../migration/global_state.o ../migration/qemu-file-channel.o ../migration/xbzrle.o ../migration/postcopy-ram.o ../migration/qjson.o ../migration/block-dirty-bitmap.o ../migration/block.o ../net/net.o ../net/queue.o ../net/checksum.o ../net/util.o ../net/hub.o ../net/socket.o ../net/dump.o ../net/eth.o ../net/announce.o ../net/vhost-user.o ../net/slirp.o ../net/vde.o ../net/filter.o ../net/filter-buffer.o ../net/filter-mirror.o ../net/colo-compare.o ../net/colo.o ../net/filter-rewriter.o ../net/filter-replay.o ../net/tap.o ../net/tap-bsd.o ../net/can/can_core.o ../net/can/can_host.o ../qapi/qapi-commands-audio.o ../qapi/qapi-commands-authz.o ../qapi/qapi-commands-block-core.o ../qapi/qapi-commands-block.o ../qapi/qapi-commands-char.o ../qapi/qapi-commands-common.o ../qapi/qapi-commands-crypto.o ../qapi/qapi-commands-introspect.o ../qapi/qapi-commands-job.o ../qapi/qapi-commands-migration.o ../qapi/qapi-commands-misc.o ../qapi/qapi-commands-net.o ../qapi/qapi-commands-rdma.o ../qapi/qapi-commands-rocker.o ../qapi/qapi-commands-run-state.o ../qapi/qapi-commands-sockets.o ../qapi/qapi-commands-tpm.o ../qapi/qapi-commands-trace.o ../qapi/qapi-commands-transaction.o ../qapi/qapi-commands-ui.o ../qom/cpu.o ../replay/replay.o ../replay/replay-internal.o ../replay/replay-events.o ../replay/replay-time.o ../replay/replay-input.o ../replay/replay-char.o ../replay/replay-snapshot.o ../replay/replay-net.o ../replay/replay-audio.o ../ui/keymaps.o ../ui/console.o ../ui/cursor.o ../ui/qemu-pixman.o ../ui/input.o ../ui/input-keymap.o ../ui/input-legacy.o ../ui/kbd-state.o ../ui/cocoa.o ../ui/vnc.o ../ui/vnc-enc-zlib.o ../ui/vnc-enc-hextile.o ../ui/vnc-enc-tight.o ../ui/vnc-palette.o ../ui/vnc-enc-zrle.o ../ui/vnc-auth-vencrypt.o ../ui/vnc-auth-sasl.o ../ui/vnc-ws.o ../ui/vnc-jobs.o ../qom/object.o ../qom/container.o ../qom/qom-qobject.o ../qom/object_interfaces.o ../authz/base.o ../authz/simple.o ../authz/list.o ../authz/listfile.o ../authz/pamacct.o ../block.o ../blockjob.o ../job.o ../qemu-io-cmds.o ../replication.o ../block/raw-format.o ../block/vmdk.o ../block/vpc.o ../block/qcow.o ../block/vdi.o ../block/cloop.o ../block/bochs.o ../block/vvfat.o ../block/dmg.o ../block/qcow2.o ../block/qcow2-refcount.o ../block/qcow2-cluster.o ../block/qcow2-snapshot.o ../block/qcow2-cache.o ../block/qcow2-bitmap.o ../block/qed.o ../block/qed-l2-cache.o ../block/qed-table.o ../block/qed-cluster.o ../block/qed-check.o ../block/vhdx.o ../block/vhdx-endian.o ../block/vhdx-log.o ../block/quorum.o ../block/blkdebug.o ../block/blkverify.o ../block/blkreplay.o ../block/parallels.o ../block/blklogwrites.o ../block/block-backend.o ../block/snapshot.o ../block/qapi.o ../block/file-posix.o ../block/null.o ../block/mirror.o ../block/commit.o ../block/io.o ../block/create.o ../block/throttle-groups.o ../block/nbd.o ../block/nbd-client.o ../block/sheepdog.o ../block/accounting.o ../block/dirty-bitmap.o ../block/write-threshold.o ../block/backup.o ../block/replication.o ../block/throttle.o ../block/copy-on-read.o ../block/crypto.o ../nbd/server.o ../nbd/client.o ../nbd/common.o ../scsi/utils.o ../scsi/pr-manager-stub.o ../block/curl.o ../block/dmg-bz2.o ../chardev/char.o ../chardev/char-fd.o ../chardev/char-fe.o ../chardev/char-file.o ../chardev/char-io.o ../chardev/char-mux.o ../chardev/char-null.o ../chardev/char-parallel.o ../chardev/char-pipe.o ../chardev/char-pty.o ../chardev/char-ringbuf.o ../chardev/char-serial.o ../chardev/char-socket.o ../chardev/char-stdio.o ../chardev/char-udp.o ../crypto/init.o ../crypto/hash.o ../crypto/hash-nettle.o ../crypto/hmac.o ../crypto/hmac-nettle.o ../crypto/aes.o ../crypto/desrfb.o ../crypto/cipher.o ../crypto/tlscreds.o ../crypto/tlscredsanon.o ../crypto/tlscredspsk.o ../crypto/tlscredsx509.o ../crypto/tlssession.o ../crypto/secret.o ../crypto/random-gnutls.o ../crypto/pbkdf.o ../crypto/pbkdf-nettle.o ../crypto/ivgen.o ../crypto/ivgen-essiv.o ../crypto/ivgen-plain.o ../crypto/ivgen-plain64.o ../crypto/afsplit.o ../crypto/xts.o ../crypto/block.o ../crypto/block-qcow.o ../crypto/block-luks.o ../io/channel.o ../io/channel-buffer.o ../io/channel-command.o ../io/channel-file.o ../io/channel-socket.o ../io/channel-tls.o ../io/channel-watch.o ../io/channel-websock.o ../io/channel-util.o ../io/dns-resolver.o ../io/net-listener.o ../io/task.o ../libqemuutil.a -lpython3.6m -lintl -ldl -framework CoreFoundation -framework CoreFoundation -ltsk -framework CoreAudio -lusb-1.0 -lslirp -lglib-2.0 -lintl -lvdeplug -lpam -lz -lxml2 -lcurl -lbz2 -lpixman-1 -lpng16 -ljpeg -lsasl2 -lnettle -lgnutls -framework Cocoa -framework IOKit -llzo2 -lsnappy -lfdt -lcapstone -lz -lgthread-2.0 -lglib-2.0 -lintl -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/14.0.3/lib/darwin/libclang_rt.osx.a -F/System/Library/Frameworks
ld: warning: dylib (/Users/nw/.pyenv/versions/3.6.15/lib/libpython3.6m.dylib) was built for newer macOS version (13.3) than being linked (13.0)
Undefined symbols for architecture x86_64:
  "_hv_vcpu_create", referenced from:
      _hvf_init_vcpu in hvf.o
  "_hv_vcpu_destroy", referenced from:
      _hvf_vcpu_destroy in hvf.o
  "_hv_vcpu_enable_native_msr", referenced from:
      _hvf_init_vcpu in hvf.o
  "_hv_vcpu_flush", referenced from:
      _hvf_reset_vcpu in hvf.o
      _macvm_set_cr0 in hvf.o
      _hvf_vcpu_exec in hvf.o
      _hvf_put_segments in x86hvf.o
      _vmx_handle_task_switch in x86_task.o
  "_hv_vcpu_invalidate_tlb", referenced from:
      _hvf_reset_vcpu in hvf.o
      _macvm_set_cr0 in hvf.o
      _hvf_vcpu_exec in hvf.o
      _simulate_wrmsr in x86_emu.o
      _hvf_put_segments in x86hvf.o
      _vmx_handle_task_switch in x86_task.o
  "_hv_vcpu_read_fpstate", referenced from:
      _hvf_get_xsave in x86hvf.o
      _hvf_get_registers in x86hvf.o
  "_hv_vcpu_read_msr", referenced from:
      _hvf_get_msrs in x86hvf.o
  "_hv_vcpu_read_register", referenced from:
      _update_apic_tpr in hvf.o
      _hvf_vcpu_exec in hvf.o
      _load_regs in x86_emu.o
      _hvf_get_registers in x86hvf.o
      _hvf_process_events in x86hvf.o
      _vmx_handle_task_switch in x86_task.o
  "_hv_vcpu_run", referenced from:
      _hvf_vcpu_exec in hvf.o
  "_hv_vcpu_write_fpstate", referenced from:
      _hvf_put_xsave in x86hvf.o
      _hvf_put_registers in x86hvf.o
  "_hv_vcpu_write_msr", referenced from:
      _hvf_put_msrs in x86hvf.o
  "_hv_vcpu_write_register", referenced from:
      _vmx_update_tpr in hvf.o
      _hvf_reset_vcpu in hvf.o
      _hvf_vcpu_exec in hvf.o
      _store_regs in x86_emu.o
      _hvf_put_registers in x86hvf.o
      _vmx_handle_task_switch in x86_task.o
  "_hv_vm_create", referenced from:
      _hvf_accel_init in hvf.o
  "_hv_vm_map", referenced from:
      _do_hvf_set_memory in hvf.o
  "_hv_vm_protect", referenced from:
      _hvf_vcpu_exec in hvf.o
      _hvf_log_start in hvf.o
      _hvf_log_stop in hvf.o
      _hvf_log_sync in hvf.o
  "_hv_vm_sync_tsc", referenced from:
      _hvf_reset_vcpu in hvf.o
      _hvf_put_msrs in x86hvf.o
  "_hv_vm_unmap", referenced from:
      _do_hvf_set_memory in hvf.o
  "_hv_vmx_read_capability", referenced from:
      _hvf_init_vcpu in hvf.o
      _hvf_get_supported_cpuid in x86_cpuid.o
  "_hv_vmx_vcpu_read_vmcs", referenced from:
      _macvm_set_cr0 in hvf.o
      _hvf_vcpu_exec in hvf.o
      _x86_read_segment_descriptor in x86.o
      _x86_write_segment_descriptor in x86.o
      _x86_read_call_gate in x86.o
      _x86_is_protected in x86.o
      _x86_is_real in x86.o
      ...
  "_hv_vmx_vcpu_write_vmcs", referenced from:
      _vmx_update_tpr in hvf.o
      _hvf_reset_vcpu in hvf.o
      _macvm_set_cr0 in hvf.o
      _hvf_init_vcpu in hvf.o
      _hvf_vcpu_exec in hvf.o
      _vmx_write_segment_selector in x86_descr.o
      _vmx_write_segment_descriptor in x86_descr.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [qemu-system-x86_64] Error 1
make[1]: *** [subdir-x86_64-softmmu] Error 2
make: *** [all] Error 2

[!] Oops... build failed!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant