[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libs-base fails to compile on OpenBSD
From: |
Sebastian Reitenbach |
Subject: |
Re: libs-base fails to compile on OpenBSD |
Date: |
Sun, 2 Dec 2018 16:19:05 +0100 |
Hi
Sent from my iPhone
> On 2. Dec 2018, at 14:30, Riccardo Mottola <address@hidden> wrote:
>
> Hi,
>
> I just upgraded OpenBSD to 6.4, including all packages.
> The compiler did not change in revision, I guess it was just updated, so gcc
> is still 4.9 from ports.
>
> I recompile GNUstep from scratch and it fails:
>
What platform are you on? Why don’t you take the path the packages take and use
base clang, and libobjc2?
I definitely don’t recommend to use the system libobjc, at least you seem to
pick up system libobjc headers.
Sebastian
> Compiling file runtime.c ...
> In file included from runtime.c:35:0:
> /usr/include/objc/objc-api.h:365:1: error: unknown type name 'retval_t'
> retval_t objc_msg_sendv(id, SEL, arglist_t);
> ^
> /usr/include/objc/objc-api.h:365:34: error: unknown type name 'arglist_t'
> retval_t objc_msg_sendv(id, SEL, arglist_t);
> ^
> /usr/include/objc/objc-api.h:440:33: error: unknown type name 'MetaClass'
> Method_t class_get_class_method(MetaClass _class, SEL aSel);
> ^
> /usr/include/objc/objc-api.h: In function 'class_get_class_name':
> /usr/include/objc/objc-api.h:476:10: error: dereferencing pointer to
> incomplete type
> return CLS_ISCLASS(_class)?_class->name:((_class==Nil)?"Nil":0);
>
> <etc>
>
>
> I suspect something wrong in gcc, but since it stayed to the same version
> since previous OpenBSD, I do wonder!
>
> Riccardo
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
- libs-base fails to compile on OpenBSD, Riccardo Mottola, 2018/12/02
- Re: libs-base fails to compile on OpenBSD,
Sebastian Reitenbach <=
- Re: libs-base fails to compile on OpenBSD, Riccardo Mottola, 2018/12/02
- Re: libs-base fails to compile on OpenBSD, Wolfgang Lux, 2018/12/02
- Re: libs-base fails to compile on OpenBSD, Wolfgang Lux, 2018/12/02
- Re: libs-base fails to compile on OpenBSD, Riccardo Mottola, 2018/12/05
- Re: libs-base fails to compile on OpenBSD, Wolfgang Lux, 2018/12/05
- Re: libs-base fails to compile on OpenBSD, Riccardo Mottola, 2018/12/17
- Re: libs-base fails to compile on OpenBSD, Fred Kiefer, 2018/12/18
- Re: libs-base fails to compile on OpenBSD, Riccardo Mottola, 2018/12/18
- Re: libs-base fails to compile on OpenBSD, Wolfgang Lux, 2018/12/19