kjliew / qemu-3dfx

MESA GL/3Dfx Glide pass-through for QEMU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed compilation

rsdenijs opened this issue · comments

Unfortunately compilation failed on my M2 mac Ventura.

Not sure if it should be picking up that capstone... :/

[5327/6800] Compiling C object libqemu-tricore-softmmu.fa.p/disas.c.o
FAILED: libqemu-tricore-softmmu.fa.p/disas.c.o
cc -Ilibqemu-tricore-softmmu.fa.p -I. -I../qemu-7.2.0 -I/opt/X11/include -Itarget/tricore -I../qemu-7.2.0/target/tricore -Iqapi -Itrace -Iui -Iui/shader -I/opt/homebrew/Cellar/pixman/0.42.2/include/pixman-1 -I/opt/homebrew/Cellar/capstone/5.0.1/include/capstone -I/opt/homebrew/Cellar/glib/2.78.4/include -I/opt/homebrew/Cellar/glib/2.78.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.78.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -fcolor-diagnostics -Wall -Winvalid-pch -std=gnu11 -O2 -g -iquote . -iquote /Users/myuser/qemu/qemu-3dfx/qemu-7.2.0 -iquote /Users/myuser/qemu/qemu-3dfx/qemu-7.2.0/include -iquote /Users/myuser/qemu/qemu-3dfx/qemu-7.2.0/tcg/aarch64 -DOS_OBJECT_USE_OBJC=0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wno-initializer-overrides -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int -Wno-typedef-redefinition -Wno-tautological-type-limit-compare -Wno-psabi -Wno-gnu-variable-sized-type-not-at-end -fstack-protector-strong -DNEED_CPU_H '-DCONFIG_TARGET="tricore-softmmu-config-target.h"' '-DCONFIG_DEVICES="tricore-softmmu-config-devices.h"' -MD -MQ libqemu-tricore-softmmu.fa.p/disas.c.o -MF libqemu-tricore-softmmu.fa.p/disas.c.o.d -o libqemu-tricore-softmmu.fa.p/disas.c.o -c ../qemu-7.2.0/disas.c
In file included from ../qemu-7.2.0/disas.c:8:
In file included from /Users/myuser/qemu/qemu-3dfx/qemu-7.2.0/include/disas/capstone.h:6:
In file included from /opt/homebrew/Cellar/capstone/5.0.1/include/capstone/capstone.h:327:
/opt/homebrew/Cellar/capstone/5.0.1/include/capstone/tricore.h:561:3: error: redefinition of 'tricore_feature' as different kind of symbol
} tricore_feature;
  ^
../qemu-7.2.0/target/tricore/cpu.h:272:19: note: previous definition is here
static inline int tricore_feature(CPUTriCoreState *env, int feature)
                  ^
1 error generated.
ninja: build stopped: subcommand failed.
make: *** [run-ninja] Error 1

A small donation to support the project & Game Preservation will have the QEMU prebuilt binaries delivered for you for your platform of choice. See details at https://github.com/kjliew/qemu-3dfx#donation. You're free to make inquiry on the supported platform of choice prior to making a donation.