discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: MSYS2 build problem


From: Daniel Boyd
Subject: RE: MSYS2 build problem
Date: Wed, 16 Dec 2020 12:24:11 -0600

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 <greg.casamento@gmail.com>
Sent: Monday, December 14, 2020 4:37 PM
To: Daniel Boyd <danieljboyd@icloud.com>
Cc: Frederik Seiffert <frederik@algoriddim.com>; Discuss-gnustep Discuss <discuss-gnustep@gnu.org>
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 <danieljboyd@icloud.com> wrote:

Are you building libobjc2/clang or gcc?

 

From: Frederik Seiffert <frederik@algoriddim.com>
Sent: Monday, December 14, 2020 10:43 AM
To: Daniel Boyd <danieljboyd@icloud.com>
Cc: Discuss-gnustep Discuss <discuss-gnustep@gnu.org>
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:

 

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

 

Frederik

 

 

Am 09.12.2020 um 17:59 schrieb Daniel Boyd <danieljboyd@icloud.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

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

Image removed by sender.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]