|Subject:||Re: MSYS2 build problem|
|Date:||Fri, 18 Dec 2020 11:28:58 -0500|
OK – I got base to compile. Now I’m getting some weird linker errors
Linking tool Test ...
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../Utils/obj/libUtils.a(ConfigFile.m.o):ConfigFile.m:(.data+0x600): undefined reference to `__objc_class_name_NSCharacterSet'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../Utils/obj/libUtils.a(ConfigFile.m.o):ConfigFile.m:(.data+0x618): undefined reference to `__objc_class_name_NSProcessInfo'
collect2.exe: error: ld returned 1 exit status
Did you try the script I sent you? The Travis CI stuff should work as well, but I am just wondering. Thanks.GC
On Mon, Dec 14, 2020 at 12:27 PM Daniel Boyd <firstname.lastname@example.org> wrote:
Are you building libobjc2/clang or gcc?
This should work as we’re building Base with MSYS2 successfully on Travis CI.
Maybe you installed some extra package that is causing this? I’d try with a fresh MSYS2 installation and installing just the packages we install on CI:
Also make sure you’re building from a MinGW shell, not MSYS2.
Am 09.12.2020 um 17:59 schrieb Daniel Boyd <email@example.com>:
I am following the instructions on the web site for building in MSYS2 and I’m running into an error with the libffi library.
These are the instructions I’m using
and this is the error I get running ./configure for base
checking FFI library usage... 0 [main] conftest (34696) child_copy: cyghea
p read copy failed, 0x18034B408..0x180364FC8, done 0, windows pid 34696, Win32 e
2486 [main] conftest (34696) C:\msys64\home\dboyd\git\libs-base\conftest.exe:
*** fatal error - ccalloc would have returned NULL
configure: error: The ffi library (libffi) does not appear to be working. Perha
ps it's missing or you need a more recent version. Version 3.0.9 or later shoul
d work, and you can find a link to it n the list of packages for download at htt
libffi appeared to install without any issues with pacman
|[Prev in Thread]||Current Thread||[Next in Thread]|