Are you building libobjc2/clang or gcc?

 

From: Frederik Seiffert <[email protected]> 
Sent: Monday, December 14, 2020 10:43 AM
To: Daniel Boyd <[email protected]>
Cc: Discuss-gnustep Discuss <[email protected]>
Subject: Re: MSYS2 build problem

 

Hi Daniel,

 

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:

https://github.com/gnustep/libs-base/blob/1b7bf26beaaafb76325471780c55d36824a35889/.travis.yml#L78-L92

 

Also make sure you’re building from a MinGW shell, not MSYS2.

 

Frederik

 





Am 09.12.2020 um 17:59 schrieb Daniel Boyd <[email protected] 
<mailto:[email protected]> >:

 

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

 <http://wiki.gnustep.org/index.php/Installation_MSYS2> 
http://wiki.gnustep.org/index.php/Installation_MSYS2

 

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

rror 6

   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

 <file:///p:/www.gnustep.org/resources/sources.html> 
p://www.gnustep.org/resources/sources.html

 

libffi appeared to install without any issues with pacman

 

Reply via email to