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
I'm trying to compile latest version of luamake on OpenBSD current/amd64.
I have an error during build with unknown symbol EVFILT_USER.
$ cd luamake
$ ./compile/build.sh
[3/36] Compile C++ build/openbsd/obj/source_bee/bpoll_bsd.obj
FAILED: build/openbsd/obj/source_bee/bpoll_bsd.obj
clang -MMD -MT build/openbsd/obj/source_bee/bpoll_bsd.obj -MF build/openbsd/obj/source_bee/bpoll_bsd.obj.d -std=c++17 -fno-rtti -O2 -Wall -fvisibility=hidden -Ibee.lua -isystem /usr/local/include/inotify -DNDEBUG -o build/openbsd/obj/source_bee/bpoll_bsd.obj -c bee.lua/bee/net/bpoll_bsd.cpp
In file included from bee.lua/bee/net/bpoll_bsd.cpp:1:
bee.lua/bee/net/bpoll_osx.cpp:48:37: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[n], kev_key, EVFILT_USER, EV_ADD, 0, 0, 0);
^
bee.lua/bee/net/bpoll_osx.cpp:51:41: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[n], kev_key, EVFILT_USER, EV_DELETE, 0, 0, 0);
^
bee.lua/bee/net/bpoll_osx.cpp:70:37: error: use of undeclared identifier 'EVFILT_USER'
EV_SET(&ev[i], kev_key, EVFILT_USER, EV_RECEIPT, 0, 0, 0);
^
3 errors generated.
[5/36] Compile C++ build/openbsd/obj/source_bee/format.obj
ninja: build stopped: subcommand failed.
After a few analysis, this error is due to the recent addition of bee.poll (source bee/net/bpoll_osx.cpp): the symbol EVFILT_USER is not supported on OpenBSD => see include sys/event.hhttps://github.com/openbsd/src/blob/master/sys/sys/event.h
Before the recent addition of bee.poll, I have no issue to compile luamake on OpenBSD amd64.
The text was updated successfully, but these errors were encountered:
I'm trying to compile latest version of
luamake
on OpenBSD current/amd64.I have an error during build with unknown symbol
EVFILT_USER
.After a few analysis, this error is due to the recent addition of
bee.poll
(sourcebee/net/bpoll_osx.cpp
): the symbolEVFILT_USER
is not supported on OpenBSD => see includesys/event.h
https://github.com/openbsd/src/blob/master/sys/sys/event.hBefore the recent addition of
bee.poll
, I have no issue to compileluamake
on OpenBSD amd64.The text was updated successfully, but these errors were encountered: