===> Building for asterisk-23.1.0 CC="cc" CXX="clang++ -std=gnu++11" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[1]: Entering directory '/Users/pbulk/build/comms/asterisk23/work/asterisk-23.1.0/menuselect' make[1]: 'makeopts' is up to date. make[1]: Leaving directory '/Users/pbulk/build/comms/asterisk23/work/asterisk-23.1.0/menuselect' menuselect/menuselect --check-deps menuselect.makeopts menuselect/menuselect --check-deps menuselect.makeopts /Users/pbulk/build/comms/asterisk23/work/asterisk-23.1.0/pkgsrc.makeopts [CC] astcanary.c -> astcanary.o [LD] astcanary.o -> astcanary [CC] eagi-test.c -> eagi-test.o [CC] strcompat.c -> strcompat.o In file included from strcompat.c:39: /Users/pbulk/build/comms/asterisk23/work/asterisk-23.1.0/include/asterisk/utils.h:31:10: error: 'endian.h' file not found with include; use "quotes" instead #include ^~~~~~~~~~ "endian.h" strcompat.c:474:3: warning: call to undeclared function 'poll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] poll(fds, loopmax, 0); ^ 1 warning and 1 error generated. make[1]: *** [/Users/pbulk/build/comms/asterisk23/work/asterisk-23.1.0/Makefile.rules:165: strcompat.o] Error 1 gmake: *** [Makefile:393: agi] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/asterisk23 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/asterisk23