Daniel,

Did you even try the script I sent you?

GC

On Wed, Dec 16, 2020 at 1:24 PM Daniel Boyd <[email protected]> wrote:

> 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
>
>
>
>
>
> *From:* Gregory Casamento <[email protected]>
> *Sent:* Monday, December 14, 2020 4:37 PM
> *To:* Daniel Boyd <[email protected]>
> *Cc:* Frederik Seiffert <[email protected]>; Discuss-gnustep
> Discuss <[email protected]>
> *Subject:* Re: MSYS2 build problem
>
>
>
> 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 <[email protected]>
> wrote:
>
> 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]>:
>
>
>
> 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
>
>
>
> 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
>
> p://www.gnustep.org/resources/sources.html
>
>
>
> libffi appeared to install without any issues with pacman
>
>
>
>
>
>
> --
>
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org - http://heronsperch.blogspot.com
> https://www.patreon.com/bePatron?u=352392 - Become a Patron
>
> https://gf.me/u/x8m3sx - My GNUstep GoFundMe
>
> https://teespring.com/stores/gnustep - Store
>
> [image: Image removed by sender.]
>


-- 
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron
https://gf.me/u/x8m3sx - My GNUstep GoFundMe
https://teespring.com/stores/gnustep - Store

Reply via email to