kila58 / qemu-patched

QEMU patched to avoid detection from various anticheats such as Battleye/EAC
Other
62 stars 22 forks source link

Failed make "error: '../version.rc', needed by 'version.rc_version.o'" #1

Closed balkhaev closed 6 months ago

balkhaev commented 6 months ago

I tried to make this repo, but get error. Also, i build original qemu without errors. In configure section i have too much "ln: failed to create symbolic link", but i allow creating symbolic link in os.

make

user@WIN-3QCPAI57H8O MINGW64 /d/code/qemu-patched
$ make
changing dir to build for make ""...
make[1]: Entering directory '/d/code/qemu-patched/build'
ninja: no work to do.
/d/code/qemu-patched/build/pyvenv/bin/meson introspect --targets --tests --benchmarks | D:/code/qemu-patched/build/pyvenv/bin/python3.exe -B scripts/mtest2make.py > Makefile.mtest
ninja: error: '../version.rc', needed by 'version.rc_version.o', missing and no known rule to make it
make[1]: *** [Makefile:162: run-ninja] Error 1
make[1]: Leaving directory '/d/code/qemu-patched/build'
make: *** [GNUmakefile:11: all] Error 2

configure

user@WIN-3QCPAI57H8O MINGW64 /d/code/qemu-patched
$ ./configure
Using './build' as the directory for build output
python determined to be '/mingw64/bin/python3'
python version: Python 3.11.8
mkvenv: Creating non-isolated virtual environment at 'pyvenv'
mkvenv: checking for meson>=0.63.0
mkvenv: installing meson>=0.63.0
mkvenv: checking for sphinx>=1.6.0, sphinx-rtd-theme>=0.5.0

'sphinx>=1.6.0' not found:
 • Python package 'sphinx' was not found nor installed.
 • mkvenv was configured to operate offline and did not check PyPI.

Sphinx not found/usable, disabling docs.
ln: failed to create symbolic link 'aarch64-softmmu/qemu-system-aarch64.exe': No such file or directory
ln: failed to create symbolic link 'alpha-softmmu/qemu-system-alpha.exe': No such file or directory
ln: failed to create symbolic link 'arm-softmmu/qemu-system-arm.exe': No such file or directory
ln: failed to create symbolic link 'avr-softmmu/qemu-system-avr.exe': No such file or directory
ln: failed to create symbolic link 'cris-softmmu/qemu-system-cris.exe': No such file or directory
ln: failed to create symbolic link 'hppa-softmmu/qemu-system-hppa.exe': No such file or directory
ln: failed to create symbolic link 'i386-softmmu/qemu-system-i386.exe': No such file or directory
ln: failed to create symbolic link 'loongarch64-softmmu/qemu-system-loongarch64.exe': No such file or directory
ln: failed to create symbolic link 'm68k-softmmu/qemu-system-m68k.exe': No such file or directory
ln: failed to create symbolic link 'microblaze-softmmu/qemu-system-microblaze.exe': No such file or directory
ln: failed to create symbolic link 'microblazeel-softmmu/qemu-system-microblazeel.exe': No such file or directory
ln: failed to create symbolic link 'mips-softmmu/qemu-system-mips.exe': No such file or directory
ln: failed to create symbolic link 'mips64-softmmu/qemu-system-mips64.exe': No such file or directory
ln: failed to create symbolic link 'mips64el-softmmu/qemu-system-mips64el.exe': No such file or directory
ln: failed to create symbolic link 'mipsel-softmmu/qemu-system-mipsel.exe': No such file or directory
ln: failed to create symbolic link 'nios2-softmmu/qemu-system-nios2.exe': No such file or directory
ln: failed to create symbolic link 'or1k-softmmu/qemu-system-or1k.exe': No such file or directory
ln: failed to create symbolic link 'ppc-softmmu/qemu-system-ppc.exe': No such file or directory
ln: failed to create symbolic link 'ppc64-softmmu/qemu-system-ppc64.exe': No such file or directory
ln: failed to create symbolic link 'riscv32-softmmu/qemu-system-riscv32.exe': No such file or directory
ln: failed to create symbolic link 'riscv64-softmmu/qemu-system-riscv64.exe': No such file or directory
ln: failed to create symbolic link 'rx-softmmu/qemu-system-rx.exe': No such file or directory
ln: failed to create symbolic link 's390x-softmmu/qemu-system-s390x.exe': No such file or directory
ln: failed to create symbolic link 'sh4-softmmu/qemu-system-sh4.exe': No such file or directory
ln: failed to create symbolic link 'sh4eb-softmmu/qemu-system-sh4eb.exe': No such file or directory
ln: failed to create symbolic link 'sparc-softmmu/qemu-system-sparc.exe': No such file or directory
ln: failed to create symbolic link 'sparc64-softmmu/qemu-system-sparc64.exe': No such file or directory
ln: failed to create symbolic link 'tricore-softmmu/qemu-system-tricore.exe': No such file or directory
ln: failed to create symbolic link 'x86_64-softmmu/qemu-system-x86_64.exe': No such file or directory
ln: failed to create symbolic link 'xtensa-softmmu/qemu-system-xtensa.exe': No such file or directory
ln: failed to create symbolic link 'xtensaeb-softmmu/qemu-system-xtensaeb.exe': No such file or directory
DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config"
The Meson build system
Version: 1.3.2
Source dir: D:/code/qemu-patched
Build dir: D:/code/qemu-patched/build
Build type: native build
Project name: qemu
Project version: 8.1.3
C compiler for the host machine: cc -m64 -mcx16 (gcc 13.2.0 "cc (Rev5, Built by MSYS2 project) 13.2.0")
C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program scripts/symlink-install-tree.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/symlink-install-tree.py)
Program sh found: YES (C:\msys64\usr\bin/sh.EXE)
C++ compiler for the host machine: c++ -m64 -mcx16 (gcc 13.2.0 "c++ (Rev5, Built by MSYS2 project) 13.2.0")
C++ linker for the host machine: c++ -m64 -mcx16 ld.bfd 2.42
Program python3 found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe)
Program bzip2 found: YES (C:\msys64\mingw64\bin/bzip2.EXE)
Program iasl found: NO
Compiler for C supports arguments -fno-pie: YES
Compiler for C supports arguments -no-pie: YES
Compiler for C supports link arguments -Wl,-z,relro: NO
Compiler for C supports link arguments -Wl,-z,now: NO
Compiler for C supports link arguments -Wl,--no-seh: YES
Compiler for C supports link arguments -Wl,--nxcompat: YES
Compiler for C supports link arguments -Wl,--dynamicbase: YES
Compiler for C supports link arguments -Wl,--high-entropy-va: YES
Compiler for C supports link arguments -Wl,--warn-common: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -Wwrite-strings: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wstrict-prototypes: YES
Compiler for C supports arguments -Wredundant-decls: YES
Compiler for C supports arguments -Wold-style-declaration: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Wformat-y2k: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wignored-qualifiers: YES
Compiler for C supports arguments -Wempty-body: YES
Compiler for C supports arguments -Wnested-externs: YES
Compiler for C supports arguments -Wendif-labels: YES
Compiler for C supports arguments -Wexpansion-to-defined: YES
Compiler for C supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wno-initializer-overrides: NO
Compiler for C supports arguments -Wno-missing-include-dirs: YES
Compiler for C supports arguments -Wno-shift-negative-value: YES
Compiler for C supports arguments -Wno-string-plus-int: NO
Compiler for C supports arguments -Wno-typedef-redefinition: NO
Compiler for C supports arguments -Wno-tautological-type-limit-compare: NO
Compiler for C supports arguments -Wno-psabi: YES
Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: NO
Compiler for C supports arguments -Wthread-safety: NO
Compiler for C++ supports arguments -Wundef: YES
Compiler for C++ supports arguments -Wwrite-strings: YES
Compiler for C++ supports arguments -Wmissing-prototypes: NO
Compiler for C++ supports arguments -Wstrict-prototypes: NO
Compiler for C++ supports arguments -Wredundant-decls: YES
Compiler for C++ supports arguments -Wold-style-declaration: NO
Compiler for C++ supports arguments -Wold-style-definition: NO
Compiler for C++ supports arguments -Wtype-limits: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -Wformat-y2k: YES
Compiler for C++ supports arguments -Winit-self: YES
Compiler for C++ supports arguments -Wignored-qualifiers: YES
Compiler for C++ supports arguments -Wempty-body: YES
Compiler for C++ supports arguments -Wnested-externs: NO
Compiler for C++ supports arguments -Wendif-labels: YES
Compiler for C++ supports arguments -Wexpansion-to-defined: YES
Compiler for C++ supports arguments -Wimplicit-fallthrough=2: YES
Compiler for C++ supports arguments -Wmissing-format-attribute: YES
Compiler for C++ supports arguments -Wno-initializer-overrides: NO
Compiler for C++ supports arguments -Wno-missing-include-dirs: YES
Compiler for C++ supports arguments -Wno-shift-negative-value: YES
Compiler for C++ supports arguments -Wno-string-plus-int: NO
Compiler for C++ supports arguments -Wno-typedef-redefinition: NO
Compiler for C++ supports arguments -Wno-tautological-type-limit-compare: NO
Compiler for C++ supports arguments -Wno-psabi: YES
Compiler for C++ supports arguments -Wno-gnu-variable-sized-type-not-at-end: NO
Compiler for C++ supports arguments -Wthread-safety: NO
Program cgcc found: NO
Library m found: YES
Run-time dependency threads found: YES
Library util found: NO
Program midl found: NO
Program widl found: YES
Library pathcch found: YES
Library ws2_32 found: YES
Library winmm found: YES
Windows resource compiler: GNU windres (GNU Binutils) 2.42
Has header "winhvplatform.h" : YES
Has header "winhvemulation.h" : YES
Run-time dependency appleframeworks found: NO (tried framework)
Found pkg-config: YES (C:\msys64\mingw64\bin/pkg-config.EXE) 2.1.1
Run-time dependency glib-2.0 found: YES 2.78.4
Run-time dependency gio-2.0 found: YES 2.78.4
Program C:/msys64/mingw64/bin/gdbus-codegen.exe found: YES (C:/msys64/mingw64/bin/gdbus-codegen.exe)
Run-time dependency gio-unix-2.0 found: NO (tried pkgconfig)
Program scripts/xml-preprocess.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/xml-preprocess.py)
Run-time dependency pixman-1 found: YES 0.43.2
Run-time dependency zlib found: YES 1.3.1
Has header "libaio.h" : NO
Run-time dependency liburing found: NO (tried pkgconfig)
Run-time dependency libnfs found: NO (tried pkgconfig)
Has header "attr/xattr.h" : NO
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency libseccomp found: NO (tried pkgconfig)
Has header "cap-ng.h" : NO
Run-time dependency xkbcommon found: NO (tried pkgconfig)
Run-time dependency slirp found: YES 4.7.0
Has header "libvdeplug.h" : NO
Run-time dependency jack found: NO (tried pkgconfig)
Run-time dependency sndio found: NO (tried pkgconfig)
Run-time dependency spice-protocol found: NO (tried pkgconfig)
Run-time dependency spice-server found: NO (tried pkgconfig)
Library rt found: NO
Run-time dependency libiscsi found: NO (tried pkgconfig)
Run-time dependency libzstd found: YES 1.5.5
Run-time dependency virglrenderer found: NO (tried pkgconfig)
Run-time dependency blkio found: NO (tried pkgconfig)
Run-time dependency libcurl found: NO (tried pkgconfig)
Run-time dependency ncurses found: NO (tried pkgconfig)
Run-time dependency ncursesw found: YES 6.4.20231217
Has header "brlapi.h" : NO
Run-time dependency sdl2 found: YES 2.30.0
Run-time dependency sdl2_image found: NO (tried pkgconfig)
Library rados found: NO
Has header "rbd/librbd.h" : NO
Run-time dependency glusterfs-api found: NO (tried pkgconfig)
Run-time dependency libssh found: NO (tried pkgconfig)
Has header "bzlib.h" : YES
Library bz2 found: YES
Has header "lzfse.h" : NO
Has header "sys/soundcard.h" : NO
Has header "dsound.h" : YES
Run-time dependency epoxy found: YES 1.5.10
Has header "epoxy/egl.h" with dependency epoxy: YES
Run-time dependency gbm found: NO (tried pkgconfig)
Run-time dependency gnutls found: NO (tried pkgconfig)
Run-time dependency gnutls found: NO (tried pkgconfig)
libgcrypt-config found: NO need ['>=1.8']
Run-time dependency libgcrypt found: NO (tried config-tool)
Run-time dependency nettle found: NO (tried pkgconfig)
Run-time dependency gmp found: YES 6.3.0
Run-time dependency gtk+-3.0 found: YES 3.24.41
Run-time dependency gtk+-x11-3.0 found: NO (tried pkgconfig)
Run-time dependency vte-2.91 found: NO (tried pkgconfig)
Run-time dependency libpng found: YES 1.6.43
Run-time dependency libjpeg found: YES 3.0.2
Has header "sasl/sasl.h" : NO
Has header "security/pam_appl.h" : NO
Has header "snappy-c.h" : NO
Has header "lzo/lzo1x.h" : YES
Library lzo2 found: YES
Has header "numa.h" : NO
Library ibumad found: NO
Has header "rdma/rdma_cma.h" : NO
Library ibverbs found: NO
Run-time dependency xencontrol found: NO (tried pkgconfig)
Library xenstore found: NO
Library xenctrl found: NO
Library xendevicemodel found: NO
Library xenforeignmemory found: NO
Library xengnttab found: NO
Library xenevtchn found: NO
Library xentoolcore found: NO
Run-time dependency libcacard found: NO (tried pkgconfig)
Run-time dependency u2f-emu found: NO (tried pkgconfig)
Run-time dependency canokey-qemu found: NO (tried pkgconfig)
Run-time dependency libusbredirparser-0.5 found: NO (tried pkgconfig)
Run-time dependency libusb-1.0 found: NO (tried pkgconfig)
Run-time dependency libpmem found: NO (tried pkgconfig)
Run-time dependency libdaxctl found: NO (tried pkgconfig)
Run-time dependency libkeyutils found: NO (tried pkgconfig)
Checking for function "gettid" : NO
Run-time dependency libselinux found: NO (tried pkgconfig)
Checking for function "malloc_trim" : NO
Header "sys/stat.h" has symbol "STATX_BASIC_STATS" : NO
Header "sys/stat.h" has symbol "STATX_MNT_ID" : NO
Run-time dependency fuse3 found: NO (tried pkgconfig)
Run-time dependency libbpf found: NO (tried pkgconfig)
Run-time dependency libdw found: NO (tried pkgconfig)
Checking for function "pthread_fchdir_np" : NO
Has header "sys/epoll.h" : NO
Has header "linux/magic.h" : NO
Has header "valgrind/valgrind.h" : NO
Has header "linux/btrfs.h" : NO
Has header "libdrm/drm.h" : NO
Has header "pty.h" : NO
Has header "sys/disk.h" : NO
Has header "sys/ioccom.h" : NO
Has header "sys/kcov.h" : NO
Has header "afunix.h" : YES
Checking for function "close_range" : NO
Checking for function "accept4" : NO
Checking for function "clock_adjtime" : NO
Checking for function "dup3" : NO
Checking for function "fallocate" : NO
Checking for function "posix_fallocate" : NO
Checking for function "getcpu" : NO
Checking for function "sched_getcpu" : NO
Checking for function "posix_memalign" : NO
Checking for function "_aligned_malloc" : YES
Checking for function "valloc" : NO
Checking for function "memalign" : NO
Checking for function "ppoll" : NO
Checking for function "preadv" : NO
Checking for function "pthread_fchdir_np" : NO (cached)
Checking for function "sendfile" : NO
Checking for function "setns" : NO
Checking for function "syncfs" : NO
Checking for function "sync_file_range" : NO
Checking for function "timerfd_create" : NO
Checking for function "copy_file_range" : NO
Checking for function "getifaddrs" : NO
Checking for function "openpty" with dependency -lutil: NO
Checking for function "strchrnul" : NO
Checking for function "system" : YES
Header "linux/blkzoned.h" has symbol "BLKOPENZONE" : NO
Header "sys/epoll.h" has symbol "epoll_create1" : NO
Header "linux/falloc.h" has symbol "FALLOC_FL_PUNCH_HOLE" : NO
Header "linux/falloc.h" has symbol "FALLOC_FL_ZERO_RANGE" : NO
Has header "linux/fiemap.h" : NO
Checking for function "getrandom" : NO
Header "sys/inotify.h" has symbol "inotify_init" : NO
Header "sys/inotify.h" has symbol "inotify_init1" : NO
Header "sys/prctl.h" has symbol "PR_SET_TIMERSLACK" : NO
Header "linux/rtnetlink.h" has symbol "IFLA_PROTO_DOWN" : NO
Header "sys/sysmacros.h" has symbol "makedev" : NO
Header "getopt.h" has symbol "optreset" : NO
Header "netinet/in.h" has symbol "IPPROTO_MPTCP" : NO
Checking whether type "struct sigevent" has member "sigev_notify_thread_id" : NO
Checking whether type "struct stat" has member "st_atim" : NO
Checking whether type "struct blk_zone" has member "capacity" : NO
Checking for type "struct iovec" : NO
Checking for type "struct utmpx" : NO
Checking for type "struct mmsghdr" : NO
Header "linux/vm_sockets.h" has symbol "AF_VSOCK" : NO
Has header "vscoordint.h" : NO
Checking if "_lock_file and _unlock_file" : links: YES
Checking if "mingw setjmp and longjmp" : links: NO
Program scripts/minikconf.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/minikconf.py)
Configuring aarch64-softmmu-config-target.h using configuration
Configuring aarch64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/aarch64-softmmu-config-devices.mak.d
Configuring aarch64-softmmu-config-devices.h using configuration
Configuring alpha-softmmu-config-target.h using configuration
Configuring alpha-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/alpha-softmmu-config-devices.mak.d
Configuring alpha-softmmu-config-devices.h using configuration
Configuring arm-softmmu-config-target.h using configuration
Configuring arm-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/arm-softmmu-config-devices.mak.d
Configuring arm-softmmu-config-devices.h using configuration
Configuring avr-softmmu-config-target.h using configuration
Configuring avr-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/avr-softmmu-config-devices.mak.d
Configuring avr-softmmu-config-devices.h using configuration
Configuring cris-softmmu-config-target.h using configuration
Configuring cris-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/cris-softmmu-config-devices.mak.d
Configuring cris-softmmu-config-devices.h using configuration
Configuring hppa-softmmu-config-target.h using configuration
Configuring hppa-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/hppa-softmmu-config-devices.mak.d
Configuring hppa-softmmu-config-devices.h using configuration
Configuring i386-softmmu-config-target.h using configuration
Configuring i386-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/i386-softmmu-config-devices.mak.d
Configuring i386-softmmu-config-devices.h using configuration
Configuring loongarch64-softmmu-config-target.h using configuration
Configuring loongarch64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/loongarch64-softmmu-config-devices.mak.d
Configuring loongarch64-softmmu-config-devices.h using configuration
Configuring m68k-softmmu-config-target.h using configuration
Configuring m68k-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/m68k-softmmu-config-devices.mak.d
Configuring m68k-softmmu-config-devices.h using configuration
Configuring microblaze-softmmu-config-target.h using configuration
Configuring microblaze-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/microblaze-softmmu-config-devices.mak.d
Configuring microblaze-softmmu-config-devices.h using configuration
Configuring microblazeel-softmmu-config-target.h using configuration
Configuring microblazeel-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/microblazeel-softmmu-config-devices.mak.d
Configuring microblazeel-softmmu-config-devices.h using configuration
Configuring mips-softmmu-config-target.h using configuration
Configuring mips-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/mips-softmmu-config-devices.mak.d
Configuring mips-softmmu-config-devices.h using configuration
Configuring mips64-softmmu-config-target.h using configuration
Configuring mips64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/mips64-softmmu-config-devices.mak.d
Configuring mips64-softmmu-config-devices.h using configuration
Configuring mips64el-softmmu-config-target.h using configuration
Configuring mips64el-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/mips64el-softmmu-config-devices.mak.d
Configuring mips64el-softmmu-config-devices.h using configuration
Configuring mipsel-softmmu-config-target.h using configuration
Configuring mipsel-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/mipsel-softmmu-config-devices.mak.d
Configuring mipsel-softmmu-config-devices.h using configuration
Configuring nios2-softmmu-config-target.h using configuration
Configuring nios2-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/nios2-softmmu-config-devices.mak.d
Configuring nios2-softmmu-config-devices.h using configuration
Configuring or1k-softmmu-config-target.h using configuration
Configuring or1k-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/or1k-softmmu-config-devices.mak.d
Configuring or1k-softmmu-config-devices.h using configuration
Configuring ppc-softmmu-config-target.h using configuration
Configuring ppc-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/ppc-softmmu-config-devices.mak.d
Configuring ppc-softmmu-config-devices.h using configuration
Configuring ppc64-softmmu-config-target.h using configuration
Configuring ppc64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/ppc64-softmmu-config-devices.mak.d
Configuring ppc64-softmmu-config-devices.h using configuration
Configuring riscv32-softmmu-config-target.h using configuration
Configuring riscv32-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/riscv32-softmmu-config-devices.mak.d
Configuring riscv32-softmmu-config-devices.h using configuration
Configuring riscv64-softmmu-config-target.h using configuration
Configuring riscv64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/riscv64-softmmu-config-devices.mak.d
Configuring riscv64-softmmu-config-devices.h using configuration
Configuring rx-softmmu-config-target.h using configuration
Configuring rx-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/rx-softmmu-config-devices.mak.d
Configuring rx-softmmu-config-devices.h using configuration
Configuring s390x-softmmu-config-target.h using configuration
Configuring s390x-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/s390x-softmmu-config-devices.mak.d
Configuring s390x-softmmu-config-devices.h using configuration
Configuring sh4-softmmu-config-target.h using configuration
Configuring sh4-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/sh4-softmmu-config-devices.mak.d
Configuring sh4-softmmu-config-devices.h using configuration
Configuring sh4eb-softmmu-config-target.h using configuration
Configuring sh4eb-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/sh4eb-softmmu-config-devices.mak.d
Configuring sh4eb-softmmu-config-devices.h using configuration
Configuring sparc-softmmu-config-target.h using configuration
Configuring sparc-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/sparc-softmmu-config-devices.mak.d
Configuring sparc-softmmu-config-devices.h using configuration
Configuring sparc64-softmmu-config-target.h using configuration
Configuring sparc64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/sparc64-softmmu-config-devices.mak.d
Configuring sparc64-softmmu-config-devices.h using configuration
Configuring tricore-softmmu-config-target.h using configuration
Configuring tricore-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/tricore-softmmu-config-devices.mak.d
Configuring tricore-softmmu-config-devices.h using configuration
Configuring x86_64-softmmu-config-target.h using configuration
Configuring x86_64-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/x86_64-softmmu-config-devices.mak.d
Configuring x86_64-softmmu-config-devices.h using configuration
Configuring xtensa-softmmu-config-target.h using configuration
Configuring xtensa-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/xtensa-softmmu-config-devices.mak.d
Configuring xtensa-softmmu-config-devices.h using configuration
Configuring xtensaeb-softmmu-config-target.h using configuration
Configuring xtensaeb-softmmu-config-devices.mak with command
Reading depfile: D:/code/qemu-patched/build/meson-private/xtensaeb-softmmu-config-devices.mak.d
Configuring xtensaeb-softmmu-config-devices.h using configuration
Program scripts/make-config-poison.sh found: YES (sh D:/code/qemu-patched/scripts/make-config-poison.sh)
Run-time dependency capstone found: NO (tried pkgconfig)
Library fdt found: NO

Executing subproject dtc

dtc| Project name: dtc
dtc| Project version: 1.6.0
dtc| C compiler for the host machine: cc -m64 -mcx16 (gcc 13.2.0 "cc (Rev5, Built by MSYS2 project) 13.2.0")
dtc| C linker for the host machine: cc -m64 -mcx16 ld.bfd 2.42
dtc| Compiler for C supports arguments -Wpointer-arith: YES
dtc| Compiler for C supports arguments -Wcast-qual: YES
dtc| Compiler for C supports arguments -Wnested-externs: YES (cached)
dtc| Compiler for C supports arguments -Wstrict-prototypes: YES (cached)
dtc| Compiler for C supports arguments -Wmissing-prototypes: YES (cached)
dtc| Compiler for C supports arguments -Wredundant-decls: YES (cached)
dtc| Compiler for C supports arguments -Wshadow: YES
dtc| Dependency yaml-0.1 skipped: feature yaml disabled
dtc| Run-time dependency valgrind found: NO (tried pkgconfig)
dtc| Program python found: NO (disabled by: python )
dtc| Program swig skipped: feature python disabled
dtc| Found git repository at D:/code/qemu-patched
dtc| Compiler for C supports link arguments -Wl,--version-script=D:/code/qemu-patched/subprojects/dtc/libfdt/version.lds: YES
dtc| Build targets in project: 4
dtc| Subproject dtc finished.

Configuring config-host.h using configuration
Program scripts/hxtool found: YES (sh D:/code/qemu-patched/scripts/hxtool)
Program scripts/shaderinclude.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/shaderinclude.py)
Program scripts/qapi-gen.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/qapi-gen.py)
Program scripts/qemu-version.sh found: YES (sh D:/code/qemu-patched/scripts/qemu-version.sh)

Executing subproject keycodemapdb

keycodemapdb| Project name: keycodemapdb
keycodemapdb| Project version: undefined
keycodemapdb| Program tools/keymap-gen found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/subprojects/keycodemapdb/tools/keymap-gen)
keycodemapdb| Build targets in project: 266
keycodemapdb| Subproject keycodemapdb finished.

Program scripts/decodetree.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/decodetree.py)
Program ../scripts/modules/module_block.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/block/../scripts/modules/module_block.py)
Program ../scripts/block-coroutine-wrapper.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/block/../scripts/block-coroutine-wrapper.py)
Program scripts/modinfo-collect.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/modinfo-collect.py)
Program scripts/modinfo-generate.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/modinfo-generate.py)
Program nm found: YES
Program scripts/undefsym.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/undefsym.py)
Program scripts/feature_to_c.sh found: YES (sh D:/code/qemu-patched/scripts/feature_to_c.sh)
Compiler for C supports link arguments -fstack-protector-all: YES
Compiler for C supports link arguments -fstack-protector-strong: YES
Compiler for C supports link arguments -Wl,--add-stdcall-alias: YES
Compiler for C supports link arguments -Wl,--enable-stdcall-fixup: YES
Library ole32 found: YES
Library oleaut32 found: YES
Library shlwapi found: YES
Library uuid found: YES
Library intl found: YES
Program windmc found: YES
Program windres found: YES
Program wixl found: NO
Configuring 50-edk2-i386-secure.json using configuration
Configuring 50-edk2-x86_64-secure.json using configuration
Configuring 60-edk2-aarch64.json using configuration
Configuring 60-edk2-arm.json using configuration
Configuring 60-edk2-i386.json using configuration
Configuring 60-edk2-x86_64.json using configuration
Program qemu-keymap found: NO
Program D:/code/qemu-patched/build/pyvenv/bin/sphinx-build skipped: feature docs disabled
Program D:/code/qemu-patched/scripts/decodetree.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/decodetree.py)
Program diff found: YES (C:\msys64\usr\bin/diff.EXE)
Program dbus-daemon found: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency gvnc-1.0 found: NO (tried pkgconfig and cmake)
Run-time dependency sysprof-capture-4 found: NO (tried pkgconfig and cmake)
Run-time dependency glib-2.0 found: YES 2.78.4
Program initrd-stress.sh found: YES (sh D:/code/qemu-patched/tests/migration/initrd-stress.sh)
Program xgettext found: YES (C:\msys64\usr\bin/xgettext.EXE)
Program msgfmt found: YES (C:\msys64\usr\bin/msgfmt.EXE)
Program msginit found: YES (C:\msys64\usr\bin/msginit.EXE)
Program msgmerge found: YES (C:\msys64\usr\bin/msgmerge.EXE)
Program xgettext found: YES (C:\msys64\usr\bin/xgettext.EXE)
Program scripts/nsis.py found: YES (D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/nsis.py)
Build targets in project: 658

qemu 8.1.3

  Build environment
    Build directory                              : D:/code/qemu-patched/build
    Source path                                  : D:/code/qemu-patched
    Download dependencies                        : YES

  Directories
    Build directory                              : D:/code/qemu-patched/build
    Source path                                  : D:/code/qemu-patched
    Download dependencies                        : YES
    Install prefix                               : C:/msys64/qemu
    BIOS directory                               : share/
    firmware path                                : share/qemu-firmware
    binary directory                             : C:/msys64/qemu/.
    library directory                            : C:/msys64/qemu/lib
    module directory                             : lib/
    libexec directory                            : C:/msys64/qemu/libexec
    include directory                            : C:/msys64/qemu/include
    config directory                             : C:/msys64/qemu/etc
    local state directory                        : queried at runtime
    Doc directory                                : C:/msys64/qemu/share/doc

  Host binaries
    python                                       : D:/code/qemu-patched/build/pyvenv/bin/python3.exe (version: 3.11)
    sphinx-build                                 : NO
    gdb                                          : /mingw64/bin/gdb-multiarch
    iasl                                         : NO
    genisoimage                                  :
    wixl                                         : NO
    smbd                                         : NO

  Configurable features
    Documentation                                : NO
    system-mode emulation                        : YES
    user-mode emulation                          : NO
    block layer                                  : YES
    Install blobs                                : YES
    module support                               : NO
    fuzzing support                              : NO
    Audio drivers                                : dsound sdl
    Trace backends                               : log
    D-Bus display                                : YES
    QOM debugging                                : YES
    vhost-kernel support                         : NO
    vhost-net support                            : NO
    vhost-user support                           : NO
    vhost-user-crypto support                    : NO
    vhost-user-blk server support                : NO
    vhost-vdpa support                           : NO
    build guest agent                            : YES

  Compilation
    host CPU                                     : x86_64
    host endianness                              : little
    C compiler                                   : cc -m64 -mcx16
    Host C compiler                              : cc -m64 -mcx16
    C++ compiler                                 : c++ -m64 -mcx16
    CFLAGS                                       : -g -O2
    CXXFLAGS                                     : -g -O2
    QEMU_CFLAGS                                  : -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fno-pie -no-pie -fstack-protector-strong
    QEMU_CXXFLAGS                                : -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fno-pie -no-pie -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -fstack-protector-strong
    QEMU_LDFLAGS                                 : -fstack-protector-strong -Wl,--no-seh -Wl,--nxcompat -Wl,--dynamicbase -Wl,--high-entropy-va -Wl,--warn-common
    link-time optimization (LTO)                 : NO
    PIE                                          : NO
    static build                                 : NO
    malloc trim support                          : NO
    membarrier                                   : NO
    debug graph lock                             : NO
    debug stack usage                            : NO
    mutex debugging                              : NO
    memory allocator                             : system
    avx2 optimization                            : YES
    avx512bw optimization                        : YES
    avx512f optimization                         : NO
    gprof                                        : NO
    gcov                                         : NO
    thread sanitizer                             : NO
    CFI support                                  : NO
    strip binaries                               : NO
    sparse                                       : NO
    mingw32 support                              : YES

  Cross compilers
    x86_64                                       : cc

  Targets and accelerators
    KVM support                                  : NO
    HAX support                                  : YES
    HVF support                                  : NO
    WHPX support                                 : YES
    NVMM support                                 : NO
    Xen support                                  : NO
    Xen emulation                                : NO
    TCG support                                  : YES
    TCG backend                                  : native (x86_64)
    TCG plugins                                  : NO
    TCG debug enabled                            : NO
    target list                                  : aarch64-softmmu alpha-softmmu arm-softmmu avr-softmmu cris-softmmu hppa-softmmu i386-softmmu loongarch64-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mips64-softmmu mips64el-softmmu mipsel-softmmu nios2-softmmu or1k-softmmu ppc-softmmu ppc64-softmmu riscv32-softmmu riscv64-softmmu rx-softmmu s390x-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu tricore-softmmu x86_64-softmmu xtensa-softmmu xtensaeb-softmmu
    default devices                              : YES
    out of process emulation                     : NO
    vfio-user server                             : NO

  Block layer support
    coroutine backend                            : windows
    coroutine pool                               : YES
    Block whitelist (rw)                         :
    Block whitelist (ro)                         :
    Use block whitelist in tools                 : NO
    VirtFS (9P) support                          : NO
    VirtFS (9P) Proxy Helper support (deprecated): NO
    Live block migration                         : YES
    replication support                          : YES
    bochs support                                : YES
    cloop support                                : YES
    dmg support                                  : YES
    qcow v1 support                              : YES
    vdi support                                  : YES
    vhdx support                                 : YES
    vmdk support                                 : YES
    vpc support                                  : YES
    vvfat support                                : YES
    qed support                                  : YES
    parallels support                            : YES
    FUSE exports                                 : NO
    VDUSE block exports                          : NO

  Crypto
    TLS priority                                 : NORMAL
    GNUTLS support                               : NO
    libgcrypt                                    : NO
    nettle                                       : NO
    AF_ALG support                               : NO
    rng-none                                     : NO
    Linux keyring                                : NO
    Linux keyutils                               : NO

  User interface
    SDL support                                  : YES 2.30.0
    SDL image support                            : NO
    GTK support                                  : YES
    pixman                                       : YES 0.43.2
    VTE support                                  : NO
    PNG support                                  : YES 1.6.43
    VNC support                                  : YES
    VNC SASL support                             : NO
    VNC JPEG support                             : YES 3.0.2
    spice protocol support                       : NO
    curses support                               : YES
    brlapi support                               : NO

  Audio backends
    DirectSound support                          : YES
    PipeWire support                             : NO
    JACK support                                 : NO

  Network backends
    slirp support                                : YES 4.7.0
    vde support                                  : NO
    netmap support                               : NO
    l2tpv3 support                               : NO

  Dependencies
    libtasn1                                     : NO
    PAM                                          : NO
    iconv support                                : YES
    virgl support                                : NO
    blkio support                                : NO
    curl support                                 : NO
    Multipath support                            : NO
    Linux AIO support                            : NO
    Linux io_uring support                       : NO
    ATTR/XATTR support                           : NO
    RDMA support                                 : NO
    PVRDMA support                               : NO
    fdt support                                  : internal
    libcap-ng support                            : NO
    bpf support                                  : NO
    rbd support                                  : NO
    smartcard support                            : NO
    U2F support                                  : NO
    libusb                                       : NO
    usb net redir                                : NO
    OpenGL support (epoxy)                       : YES 1.5.10
    GBM                                          : NO
    libiscsi support                             : NO
    libnfs support                               : NO
    QGA VSS support                              : YES
    seccomp support                              : NO
    GlusterFS support                            : NO
    TPM support                                  : NO
    libssh support                               : NO
    lzo support                                  : YES
    snappy support                               : NO
    bzip2 support                                : YES
    lzfse support                                : NO
    zstd support                                 : YES 1.5.5
    NUMA host support                            : NO
    capstone                                     : NO
    libpmem support                              : NO
    libdaxctl support                            : NO
    libudev                                      : NO
    FUSE lseek                                   : NO
    selinux                                      : NO
    libdw                                        : NO

  Subprojects
    dtc                                          : YES
    keycodemapdb                                 : YES

  User defined options
    Native files                                 : config-meson.cross
    bindir                                       :
    prefix                                       : C:/msys64/qemu
    werror                                       : true
    b_pie                                        : false
    docs                                         : disabled
    qemu_suffix                                  :

Found ninja-1.11.1 at C:/msys64/usr/bin/ninja.exe
Running postconf script 'D:/code/qemu-patched/build/pyvenv/bin/python3.exe D:/code/qemu-patched/scripts/symlink-install-tree.py'
kila58 commented 6 months ago

Try putting this in the root qemu directory and run make again: https://github.com/qemu/qemu/blob/v8.1.3/version.rc

I must have trimmed it from the repo accidentally.

balkhaev commented 6 months ago

yep, worked, thx