Cannot compile on macOS #29

Closed
opened 2021-07-14 14:30:57 +00:00 by ronaaron · 1 comment
ronaaron commented 2021-07-14 14:30:57 +00:00 (Migrated from github.com)

Trying to build on Mojave, get a ton of errors:

make ARCH=x86_64 FREESTANDING=yes
Makefile:135: warning: overriding commands for target `_clean'
Makefile:132: warning: ignoring old commands for target `_clean'
cc -std=gnu99 -D_BSD_SOURCE -fPIC -DPIC -ggdb3 -O2 -Wall -DFREESTANDING -Iinclude -Iarch/x86_64 -Iarch/common -c -o arch/x86_64/makecontext.o arch/x86_64/makecontext.c
In file included from arch/x86_64/makecontext.c:19:
include/libucontext/libucontext.h:7:29: error: unknown type name 'libucontext_ucontext_t'
int  libucontext_getcontext(libucontext_ucontext_t *);

etc.

Trying to build on Mojave, get a ton of errors: ``` make ARCH=x86_64 FREESTANDING=yes Makefile:135: warning: overriding commands for target `_clean' Makefile:132: warning: ignoring old commands for target `_clean' cc -std=gnu99 -D_BSD_SOURCE -fPIC -DPIC -ggdb3 -O2 -Wall -DFREESTANDING -Iinclude -Iarch/x86_64 -Iarch/common -c -o arch/x86_64/makecontext.o arch/x86_64/makecontext.c In file included from arch/x86_64/makecontext.c:19: include/libucontext/libucontext.h:7:29: error: unknown type name 'libucontext_ucontext_t' int libucontext_getcontext(libucontext_ucontext_t *); ``` etc.

you probably need gmake. we use meson for building on macs

you probably need gmake. we use meson for building on macs
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/libucontext#29
There is no content yet.