gnustep-dev
[Top][All Lists]
Advanced

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

Re: libs-base fails to compile on OpenBSD


From: Wolfgang Lux
Subject: Re: libs-base fails to compile on OpenBSD
Date: Wed, 19 Dec 2018 09:13:43 +0100


> Am 18.12.2018 um 22:01 schrieb Riccardo Mottola <address@hidden>:
> 
> Making all for subproject ObjectiveC2...
> Compiling file runtime.c ...
> runtime.c:35:27: fatal error: objc/objc-api.h: No such file or directory
> #include <objc/objc-api.h>
>                           ^
> compilation terminated.
> 
> 
> which is expected, the gcc 4.9 runtime does not have that file... nor does it 
> have gcc 6.5 or 8.2

Right. The ObjectiveC2 library is supposed to provide a compatibility interface 
layer around the historic GNU runtime API, providing API calls compatible with 
Apple's new ObjectiveC-2 runtime API. This Objective-C runtime bundles with gcc 
has been updated in gcc 4.6 IIRC, so the ObjectiveC2 directory shouldn't be 
compiled in the first place when you are using anything newer than gcc 4.6. 
Perhaps there's an issue with the configure script so that the ObjectiveC2 
library incorrectly gets compiled on your system?

Wolfgang


reply via email to

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