You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> make
cc -std=c99 -Os -Wall -Wextra -Werror -I/opt/homebrew/Cellar/glib/2.76.1/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.76.1/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -DVERSION=\"2.1.7\" -DGIT_COMMIT=\""f633919178f6c8ee4fb41b848a056ec33f8d707d"\" -o src/conmon.o -c src/conmon.c
src/conmon.c:161:8: error: implicit declaration of function 'pipe2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pipe2(fds, O_CLOEXEC) < 0)
^
src/conmon.c:161:8: note: did you mean 'pipe'?
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:470:6: note: 'pipe' declared here
int pipe(int [2]);
^
src/conmon.c:171:7: error: implicit declaration of function 'pipe2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pipe2(fds, O_CLOEXEC) < 0)
^
src/conmon.c:190:6: error: implicit declaration of function 'pipe2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (pipe2(fds, O_CLOEXEC) < 0)
^
3 errors generated.
make: *** [src/conmon.o] Error 1
The text was updated successfully, but these errors were encountered:
I don't expect conmon to build on macos. The closest it comes to is freeBSD, but I don't think anyone's ported it over to mac. I recommend building in a linux VM
I got this error when I tried to build:
The text was updated successfully, but these errors were encountered: