starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/bin:/gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/bin:/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34/bin:/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10/bin:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/bin:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/bin:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin:/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8/bin:/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6/bin:/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0/bin:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/bin:/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin:/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin:/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin:/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin:/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0/bin:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/bin:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/bin:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/sbin' environment variable `CROSS_LIBRARY_PATH' set to `/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/lib' environment variable `CROSS_C_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/include' environment variable `CROSS_CPLUS_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include/c++:/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/include' environment variable `CROSS_OBJC_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/include' environment variable `CROSS_OBJCPLUS_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/include' environment variable `CROSS_C_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/include' environment variable `CROSS_LIBRARY_PATH' set to `/gnu/store/qf0j5g9rs2ygj8zm3667xs8sx3sv6mr2-mingw-w64-i686-10.0.0/lib' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include/c++:/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/include:/gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/include:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/include:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/include:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/include:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/include:/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/include:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/include:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include/c++:/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/include:/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35/include' environment variable `LIBRARY_PATH' set to `/gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/lib:/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/lib:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5/lib:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/lib:/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/lib:/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/lib:/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib:/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static/lib:/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33/lib/locale' phase `set-paths' succeeded after 0.0 seconds starting phase `install-locale' using 'en_US.utf8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' liboop-1.0.1/ liboop-1.0.1/configure.ac liboop-1.0.1/acconfig.h liboop-1.0.1/adns.c liboop-1.0.1/oop-www.h liboop-1.0.1/liboop.pc.in liboop-1.0.1/aclocal.m4 liboop-1.0.1/mkinstalldirs liboop-1.0.1/compile liboop-1.0.1/read.c liboop-1.0.1/glib.c liboop-1.0.1/Makefile.am liboop-1.0.1/read-fd.c liboop-1.0.1/www.c liboop-1.0.1/ltmain.sh liboop-1.0.1/signal.c liboop-1.0.1/oop-tcl.h liboop-1.0.1/install-sh liboop-1.0.1/Makefile.in liboop-1.0.1/tcl.c liboop-1.0.1/oop.h liboop-1.0.1/oop-adns.h liboop-1.0.1/INSTALL liboop-1.0.1/test-oop.c liboop-1.0.1/configure liboop-1.0.1/oop-rl.h liboop-1.0.1/depcomp liboop-1.0.1/config.sub liboop-1.0.1/config.guess liboop-1.0.1/oop-read.h liboop-1.0.1/readline.c liboop-1.0.1/alloc.c liboop-1.0.1/oop-glib.h liboop-1.0.1/COPYING liboop-1.0.1/read-mem.c liboop-1.0.1/sys.c liboop-1.0.1/select.c liboop-1.0.1/missing liboop-1.0.1/liboop-glib2.pc.in phase `unpack' succeeded after 0.0 seconds starting phase `bootstrap' GNU build system bootstrapping not needed phase `bootstrap' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' patch-/usr/bin/file: ./configure: changing `/usr/bin/file' to `/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/bin/file' phase `patch-usr-bin-file' succeeded after 0.1 seconds starting phase `patch-source-shebangs' patch-shebang: ./compile: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./config.guess: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./config.sub: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./configure: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./depcomp: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./install-sh: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./missing: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' patch-shebang: ./mkinstalldirs: changing `/bin/sh' to `/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/sh' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `configure' source directory: "/tmp/guix-build-liboop-1.0.1.drv-0/liboop-1.0.1" (relative from build: ".") build directory: "/tmp/guix-build-liboop-1.0.1.drv-0/liboop-1.0.1" configure flags: ("CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "SHELL=/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash" "--prefix=/gnu/store/kdgd3l9qr0v7kdn1lrba9ff1y6f4nkg3-liboop-1.0.1" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=i686-w64-mingw32") checking for a BSD-compatible install... /gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip checking for a thread-safe mkdir -p... /gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether make supports nested variables... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... i686-w64-mingw32 checking how to print strings... printf checking for style of include used by make... GNU checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-w64-mingw32-gcc accepts -g... yes checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed checking whether i686-w64-mingw32-gcc understands -c and -o together... yes checking dependency style of i686-w64-mingw32-gcc... gcc3 checking for a sed that does not truncate output... /gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8/bin/sed checking for grep that handles long lines and -e... /gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin/grep checking for egrep... /gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin/grep -E checking for fgrep... /gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6/bin/grep -F checking for ld used by i686-w64-mingw32-gcc... /gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/libexec/gcc/i686-w64-mingw32/ld checking if the linker (/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/libexec/gcc/i686-w64-mingw32/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/bin/i686-w64-mingw32-nm -B checking the name lister (/gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/bin/i686-w64-mingw32-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32 checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/libexec/gcc/i686-w64-mingw32/ld option to reload object files... -r checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool checking how to associate runtime and link libraries... func_cygming_dll_for_implib checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar checking for archiver @FILE support... @ checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib checking command to parse /gnu/store/4c2ms160d1fgxz4inrz8mk631x8bkrwd-binutils-cross-i686-w64-mingw32-2.37/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok checking for sysroot... no checking for i686-w64-mingw32-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i686-w64-mingw32-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... no checking for objdir... .libs checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if i686-w64-mingw32-gcc static flag -static works... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... yes checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes checking whether the i686-w64-mingw32-gcc linker (/gnu/store/56kzihjhzga6378wsipzry01xrbg3s8v-gcc-cross-i686-w64-mingw32-10.3.0/libexec/gcc/i686-w64-mingw32/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for i686-w64-mingw32-gcc... (cached) i686-w64-mingw32-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-w64-mingw32-gcc accepts -g... (cached) yes checking for i686-w64-mingw32-gcc option to accept ISO C89... (cached) none needed checking whether i686-w64-mingw32-gcc understands -c and -o together... (cached) yes checking dependency style of i686-w64-mingw32-gcc... (cached) gcc3 checking poll.h usability... no checking poll.h presence... no checking for poll.h... no checking sys/select.h usability... no checking sys/select.h presence... no checking for sys/select.h... no checking sys/socket.h usability... no checking sys/socket.h presence... no checking for sys/socket.h... no checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for adns_init in -ladns... no checking for rl_callback_handler_install in -lreadline... no checking for glib-config... no checking for i686-w64-mingw32-pkg-config... no checking for pkg-config... no checking for GLIB2... no checking for Tcl_Main in -ltcl8.4... no checking for Tcl_Main in -ltcl8.3... no checking for Tcl_Main in -ltcl8.2... no checking for Tcl_Main in -ltcl8.1... no checking for Tcl_Main in -ltcl8.0... no checking for res_query in -lresolv... no checking for library containing gethostbyname... no checking for library containing socket... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating liboop.pc config.status: creating liboop-glib2.pc config.status: executing depfiles commands config.status: executing libtool commands phase `configure' succeeded after 4.0 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `build' /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT sys.lo -MD -MP -MF .deps/sys.Tpo -c -o sys.lo sys.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT select.lo -MD -MP -MF .deps/select.Tpo -c -o select.lo select.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c -o signal.lo signal.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o alloc.lo alloc.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read.lo -MD -MP -MF .deps/read.Tpo -c -o read.lo read.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read-fd.lo -MD -MP -MF .deps/read-fd.Tpo -c -o read-fd.lo read-fd.c /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8/bin/bash ./libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read-mem.lo -MD -MP -MF .deps/read-mem.Tpo -c -o read-mem.lo read-mem.c i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT test_oop-test-oop.o -MD -MP -MF .deps/test_oop-test-oop.Tpo -c -o test_oop-test-oop.o `test -f 'test-oop.c' || echo './'`test-oop.c libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT sys.lo -MD -MP -MF .deps/sys.Tpo -c sys.c -DDLL_EXPORT -DPIC -o .libs/sys.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT signal.lo -MD -MP -MF .deps/signal.Tpo -c signal.c -DDLL_EXPORT -DPIC -o .libs/signal.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT select.lo -MD -MP -MF .deps/select.Tpo -c select.c -DDLL_EXPORT -DPIC -o .libs/select.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read-mem.lo -MD -MP -MF .deps/read-mem.Tpo -c read-mem.c -DDLL_EXPORT -DPIC -o .libs/read-mem.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read-fd.lo -MD -MP -MF .deps/read-fd.Tpo -c read-fd.c -DDLL_EXPORT -DPIC -o .libs/read-fd.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT read.lo -MD -MP -MF .deps/read.Tpo -c read.c -DDLL_EXPORT -DPIC -o .libs/read.o libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"liboop\" -DVERSION=\"1.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -I. -Wall -Wno-comment -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c -DDLL_EXPORT -DPIC -o .libs/alloc.o test-oop.c:16:10: fatal error: netinet/in.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:634: test_oop-test-oop.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from signal.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ In file included from read-mem.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ signal.c:25:19: error: field ‘old’ has incomplete type 25 | struct sigaction old; | ^~~ oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal signal.c: In function ‘on_signal’: signal.c:53:19: error: storage size of ‘act’ isn’t known 53 | struct sigaction act; | ^~~ oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ In file included from read.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ In file included from read-fd.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ signal.c:57:2: warning: implicit declaration of function ‘sigaction’ [-Wimplicit-function-declaration] 57 | sigaction(sig,NULL,&act); | ^~~~~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ signal.c:53:19: warning: unused variable ‘act’ [-Wunused-variable] 53 | struct sigaction act; | ^~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ In file included from alloc.c:1: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ signal.c: In function ‘sig_on_signal’: signal.c:129:20: error: storage size of ‘act’ isn’t known 129 | struct sigaction act; | ^~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ signal.c:141:42: error: ‘SA_RESTART’ undeclared (first use in this function) 141 | if (s->use_sa_restart) act.sa_flags |= SA_RESTART; | ^~~~~~~~~~ signal.c:141:42: note: each undeclared identifier is reported only once for each function it appears in oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ signal.c:129:20: warning: unused variable ‘act’ [-Wunused-variable] 129 | struct sigaction act; | ^~~ signal.c: In function ‘fcntl_flag’: signal.c:173:20: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 173 | const int flags = fcntl(fd,get_op,0); | ^~~~~ signal.c: In function ‘oop_signal_new_flags’: signal.c:183:6: warning: implicit declaration of function ‘pipe’; did you mean ‘_pipe’? [-Wimplicit-function-declaration] 183 | if (pipe(s->pipefd) | ^~~~ | _pipe read-fd.c: In function ‘oop_fd_nonblock’: read-fd.c:100:10: warning: implicit declaration of function ‘fcntl’ [-Wimplicit-function-declaration] 100 | flags= fcntl(fd, F_GETFL); if (flags == -1) return errno; | ^~~~~ signal.c:184:30: error: ‘F_GETFD’ undeclared (first use in this function) 184 | || fcntl_flag(s->pipefd[0],F_GETFD,F_SETFD,FD_CLOEXEC) | ^~~~~~~ read-fd.c:100:20: error: ‘F_GETFL’ undeclared (first use in this function) 100 | flags= fcntl(fd, F_GETFL); if (flags == -1) return errno; | ^~~~~~~ read-fd.c:100:20: note: each undeclared identifier is reported only once for each function it appears in signal.c:184:38: error: ‘F_SETFD’ undeclared (first use in this function) 184 | || fcntl_flag(s->pipefd[0],F_GETFD,F_SETFD,FD_CLOEXEC) | ^~~~~~~ read-fd.c:101:26: error: ‘O_NONBLOCK’ undeclared (first use in this function) 101 | if (nonblock) flags |= O_NONBLOCK; else flags &= ~O_NONBLOCK; | ^~~~~~~~~~ signal.c:184:46: error: ‘FD_CLOEXEC’ undeclared (first use in this function) 184 | || fcntl_flag(s->pipefd[0],F_GETFD,F_SETFD,FD_CLOEXEC) | ^~~~~~~~~~ read-fd.c:102:20: error: ‘F_SETFL’ undeclared (first use in this function) 102 | return fcntl(fd, F_SETFL, flags) ? errno : 0; | ^~~~~~~ signal.c:186:30: error: ‘F_GETFL’ undeclared (first use in this function) 186 | || fcntl_flag(s->pipefd[0],F_GETFL,F_SETFL,O_NONBLOCK) | ^~~~~~~ read.c: In function ‘on_process’: make: *** [Makefile:599: read-mem.lo] Error 1 read.c:402:38: warning: comparison between pointer and zero character constant [-Wpointer-compare] 402 | notnul < buf+thisrecsz && notnul == '\0'; | ^~ read-fd.c:103:1: warning: control reaches end of non-void function [-Wreturn-type] 103 | } | ^ read.c:402:31: note: did you mean to dereference the pointer? 402 | notnul < buf+thisrecsz && notnul == '\0'; | ^ signal.c:186:38: error: ‘F_SETFL’ undeclared (first use in this function) 186 | || fcntl_flag(s->pipefd[0],F_GETFL,F_SETFL,O_NONBLOCK) | ^~~~~~~ signal.c:186:46: error: ‘O_NONBLOCK’ undeclared (first use in this function) 186 | || fcntl_flag(s->pipefd[0],F_GETFL,F_SETFL,O_NONBLOCK) | ^~~~~~~~~~ In file included from select.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ In file included from sys.c:7: oop.h:94:10: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:94:20: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:94:30: error: unknown type name ‘fd_set’ 94 | int num,fd_set *r,fd_set *w,fd_set *x, | ^~~~~~ select.c:20:2: error: unknown type name ‘fd_set’ 20 | fd_set rfd,wfd,xfd; | ^~~~~~ select.c:28:2: error: unknown type name ‘oop_call_select’ 28 | oop_call_select *call; | ^~~~~~~~~~~~~~~ make: *** [Makefile:599: read-fd.lo] Error 1 oop.h:99:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 99 | oop_call_select *, | ^~~~~~~~~~~~~~~ | oop_call_signal select.c:37:2: error: unknown type name ‘oop_call_select’; did you mean ‘oop_call_signal’? 37 | oop_call_select *call,void *data) | ^~~~~~~~~~~~~~~ | oop_call_signal oop.h:104:2: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ oop.h:104:14: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ select.c: In function ‘deactivate’: select.c:70:3: warning: implicit declaration of function ‘FD_ZERO’ [-Wimplicit-function-declaration] 70 | FD_ZERO(&s->active.rfd); | ^~~~~~~ oop.h:104:26: error: unknown type name ‘fd_set’ 104 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout); | ^~~~~~ select.c: At top level: select.c:78:2: error: unknown type name ‘fd_set’ 78 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout) | ^~~~~~ select.c:78:14: error: unknown type name ‘fd_set’ 78 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout) | ^~~~~~ select.c:78:26: error: unknown type name ‘fd_set’ 78 | fd_set *rfd,fd_set *wfd,fd_set *xfd,struct timeval *timeout) | ^~~~~~ select.c: In function ‘oop_select_delete’: select.c:143:2: error: unknown type name ‘fd_set’ 143 | fd_set fd; | ^~~~~~ select.c:145:2: warning: implicit declaration of function ‘oop_select_set’; did you mean ‘oop_select_delete’? [-Wimplicit-function-declaration] 145 | oop_select_set(s,0,&fd,&fd,&fd,NULL); | ^~~~~~~~~~~~~~ | oop_select_delete select.c: At top level: select.c:149:27: error: unknown type name ‘fd_set’ 149 | static void set_fd(int fd,fd_set *fds,int *num) { | ^~~~~~ make: *** [Makefile:599: signal.lo] Error 1 In file included from select.c:9: select.c: In function ‘on_fd’: select.c:160:10: warning: implicit declaration of function ‘FD_ISSET’ [-Wimplicit-function-declaration] 160 | assert(FD_ISSET(fd,&s->watch.rfd)); | ^~~~~~~~ select.c:161:3: warning: implicit declaration of function ‘set_fd’ [-Wimplicit-function-declaration] 161 | set_fd(fd,&s->active.rfd,&s->num_fd_active); | ^~~~~~ select.c: In function ‘on_collect’: select.c:191:9: error: called object is not a function or function pointer 191 | return s->call(s,num,&set.rfd,&set.wfd,&set.xfd,now,s->data); | ^ At top level: select.c:178:14: warning: ‘on_timeout’ defined but not used [-Wunused-function] 178 | static void *on_timeout(oop_source *source,struct timeval when,void *data) { | ^~~~~~~~~~ select.c:156:14: warning: ‘on_fd’ defined but not used [-Wunused-function] 156 | static void *on_fd(oop_source *source,int fd,oop_event event,void *data) { | ^~~~~ make: *** [Makefile:599: alloc.lo] Error 1 make: *** [Makefile:599: read.lo] Error 1 make: *** [Makefile:599: select.lo] Error 1 sys.c:52:19: error: field ‘old’ has incomplete type 52 | struct sigaction old; | ^~~ sys.c:74:2: error: unknown type name ‘sigjmp_buf’ 74 | sigjmp_buf env; | ^~~~~~~~~~ sys.c: In function ‘sys_signal_handler’: sys.c:180:19: error: storage size of ‘act’ isn’t known 180 | struct sigaction act; | ^~~ sys.c:184:2: warning: implicit declaration of function ‘sigaction’ [-Wimplicit-function-declaration] 184 | sigaction(sig,NULL,&act); | ^~~~~~~~~ sys.c:193:19: warning: implicit declaration of function ‘siglongjmp’; did you mean ‘longjmp’? [-Wimplicit-function-declaration] 193 | if (sys->do_jmp) siglongjmp(sys->env,1); | ^~~~~~~~~~ | longjmp sys.c:180:19: warning: unused variable ‘act’ [-Wunused-variable] 180 | struct sigaction act; | ^~~ sys.c: In function ‘sys_on_signal’: sys.c:212:20: error: storage size of ‘act’ isn’t known 212 | struct sigaction act; | ^~~ sys.c:212:20: warning: unused variable ‘act’ [-Wunused-variable] sys.c: In function ‘oop_sys_run_once’: sys.c:307:2: error: unknown type name ‘fd_set’ 307 | fd_set rfd,wfd,xfd; | ^~~~~~ sys.c:333:39: warning: implicit declaration of function ‘sigsetjmp’; did you mean ‘_setjmp’? [-Wimplicit-function-declaration] 333 | if (!sys->sig_active) sys->do_jmp = !sigsetjmp(sys->env,1); | ^~~~~~~~~ | _setjmp sys.c:349:2: warning: implicit declaration of function ‘FD_ZERO’ [-Wimplicit-function-declaration] 349 | FD_ZERO(&rfd); | ^~~~~~~ sys.c:353:42: warning: implicit declaration of function ‘FD_SET’ [-Wimplicit-function-declaration] 353 | if (NULL != sys->files[i][OOP_READ].f) FD_SET(i,&rfd); | ^~~~~~ sys.c:359:8: warning: implicit declaration of function ‘select’ [-Wimplicit-function-declaration] 359 | rv = select(sys->num_files,&rfd,&wfd,&xfd,ptv); | ^~~~~~ sys.c:391:8: warning: implicit declaration of function ‘FD_ISSET’ [-Wimplicit-function-declaration] 391 | if (FD_ISSET(i,&xfd) | ^~~~~~~~ make: *** [Makefile:599: sys.lo] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "16") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 0.1 seconds command "make" "-j" "16" failed with status 2