I am attempting to build Wine (on macOS Catalina, but my impression has been that wine64 is still working and I don't need 32-bit support). However, after running configure --enable-win64 and make-ing, I am presented with the following error:
Code: Select all
gcc -m64 -o widl client.o expr.o hash.o header.o proxy.o register.o server.o typegen.o typelib.o \
typetree.o utils.o widl.o write_msft.o parser.tab.o parser.yy.o ../../libs/port/libwine_port.a \
../../libs/wpp/libwpp.a
ld: warning: ignoring file ../../libs/port/libwine_port.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
ld: warning: ignoring file ../../libs/wpp/libwpp.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture x86_64:
"_wpp_add_cmdline_define", referenced from:
_main in widl.o
"_wpp_add_define", referenced from:
_main in widl.o
"_wpp_add_include_path", referenced from:
_main in widl.o
"_wpp_find_include", referenced from:
_add_importlib in typelib.o
_do_import in parser.yy.o
"_wpp_parse", referenced from:
_main in widl.o
_parser_lex in parser.yy.o
_do_import in parser.yy.o
"_wpp_set_debug", referenced from:
_main in widl.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[1]: *** [widl] Error 1
make: *** [tools/widl] Error 2
Code: Select all
gcc -m64 -o make_xftmpl make_xftmpl.o ../libs/port/libwine_port.a
ld: warning: ignoring file ../libs/port/libwine_port.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
gcc -m64 -c -o sfnt2fon.o sfnt2fon.c -I. -I../../include -I/usr/local/opt/freetype/include/freetype2 \
-D__WINESRC__ -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
-Wignored-qualifiers -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings \
-Wpointer-arith -gdwarf-2 -gstrict-dwarf -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
gcc -m64 -o sfnt2fon sfnt2fon.o ../../libs/port/libwine_port.a -L/usr/local/opt/freetype/lib -lfreetype \
ld: warning: ignoring file ../../libs/port/libwine_port.a, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A 0x2F 0x20 0x20 0x20 0x20 0x20 0x20 0x20 )
Undefined symbols for architecture x86_64:
"_wine_cp_get_table", referenced from:
_main in sfnt2fon.o
"_wine_cp_mbstowcs", referenced from:
_main in sfnt2fon.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[1]: *** [sfnt2fon] Error 1
make: *** [tools/sfnt2fon] Error 2
Thanks for your time,
AgentEpsilon