Skip to content

Instantly share code, notes, and snippets.

@travisbrady
Created July 18, 2017 18:29
Show Gist options
  • Save travisbrady/894d0630b23e7ebb48bd9bbeccbc7cc5 to your computer and use it in GitHub Desktop.
Save travisbrady/894d0630b23e7ebb48bd9bbeccbc7cc5 to your computer and use it in GitHub Desktop.
docker build -t "ocaml-libreactor:dockerfile" .
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM ocaml/opam:ubuntu
---> b225418ab764
Step 2 : RUN sudo apt-get update -qq
---> Using cache
---> d9cef1c78f24
Step 3 : RUN sudo apt-get install -y software-properties-common
---> Using cache
---> 4cac1ad76208
Step 4 : RUN sudo apt-get install -y -qq valgrind
---> Using cache
---> 1b9b3a765d15
Step 5 : RUN sudo apt-get -y install wget libuv1-dev libffi-dev
---> Using cache
---> 9092ed5e4c3b
Step 6 : RUN sudo apt-get -y install git gcc make cmake automake autoconf libssl-dev libtool
---> Using cache
---> 07de5fe84e4d
Step 7 : RUN sudo apt-get install -y -qq valgrind
---> Using cache
---> 7784fcadee71
Step 8 : RUN cd /tmp && wget https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz && tar -xvf cmocka-1.1.0.tar.xz && cd cmocka-1.1.0 && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. && make && sudo make install
---> Using cache
---> 123cf0a7b725
Step 9 : RUN cd /tmp && wget https://github.com/fredrikwidlund/libdynamic/releases/download/v1.0.0/libdynamic-1.0.0.tar.gz && tar -xvf libdynamic-1.0.0.tar.gz && cd libdynamic-1.0.0 && ./configure && make && sudo make install && make check
---> Using cache
---> d5044dd4fc0c
Step 10 : RUN cd /tmp && git clone https://github.com/fredrikwidlund/libreactor && cd libreactor && ./autogen.sh && ./configure && make && sudo make install
---> Running in c435b16de09b
Cloning into 'libreactor'...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:8: installing 'autotools/ar-lib'
configure.ac:8: installing 'autotools/compile'
configure.ac:9: installing 'autotools/config.guess'
configure.ac:9: installing 'autotools/config.sub'
configure.ac:4: installing 'autotools/install-sh'
configure.ac:4: installing 'autotools/missing'
Makefile.am: installing 'autotools/depcomp'
parallel-tests: installing 'autotools/test-driver'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... 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... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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 that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating libreactor.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Entering directory '/tmp/libreactor'
depbase=`echo src/picohttpparser/picohttpparser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/picohttpparser/picohttpparser.lo -MD -MP -MF $depbase.Tpo -c -o src/picohttpparser/picohttpparser.lo src/picohttpparser/picohttpparser.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/picohttpparser/picohttpparser.lo -MD -MP -MF src/picohttpparser/.deps/picohttpparser.Tpo -c src/picohttpparser/picohttpparser.c -fPIC -DPIC -o src/picohttpparser/.libs/picohttpparser.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/picohttpparser/picohttpparser.lo -MD -MP -MF src/picohttpparser/.deps/picohttpparser.Tpo -c src/picohttpparser/picohttpparser.c -o src/picohttpparser/picohttpparser.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_memory.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_memory.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_memory.lo src/reactor/reactor_memory.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_memory.lo -MD -MP -MF src/reactor/.deps/reactor_memory.Tpo -c src/reactor/reactor_memory.c -fPIC -DPIC -o src/reactor/.libs/reactor_memory.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_memory.lo -MD -MP -MF src/reactor/.deps/reactor_memory.Tpo -c src/reactor/reactor_memory.c -o src/reactor/reactor_memory.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_user.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_user.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_user.lo src/reactor/reactor_user.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_user.lo -MD -MP -MF src/reactor/.deps/reactor_user.Tpo -c src/reactor/reactor_user.c -fPIC -DPIC -o src/reactor/.libs/reactor_user.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_user.lo -MD -MP -MF src/reactor/.deps/reactor_user.Tpo -c src/reactor/reactor_user.c -o src/reactor/reactor_user.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_pool.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_pool.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_pool.lo src/reactor/reactor_pool.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_pool.lo -MD -MP -MF src/reactor/.deps/reactor_pool.Tpo -c src/reactor/reactor_pool.c -fPIC -DPIC -o src/reactor/.libs/reactor_pool.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_pool.lo -MD -MP -MF src/reactor/.deps/reactor_pool.Tpo -c src/reactor/reactor_pool.c -o src/reactor/reactor_pool.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_core.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_core.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_core.lo src/reactor/reactor_core.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_core.lo -MD -MP -MF src/reactor/.deps/reactor_core.Tpo -c src/reactor/reactor_core.c -fPIC -DPIC -o src/reactor/.libs/reactor_core.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_core.lo -MD -MP -MF src/reactor/.deps/reactor_core.Tpo -c src/reactor/reactor_core.c -o src/reactor/reactor_core.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_timer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_timer.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_timer.lo src/reactor/reactor_timer.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_timer.lo -MD -MP -MF src/reactor/.deps/reactor_timer.Tpo -c src/reactor/reactor_timer.c -fPIC -DPIC -o src/reactor/.libs/reactor_timer.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_timer.lo -MD -MP -MF src/reactor/.deps/reactor_timer.Tpo -c src/reactor/reactor_timer.c -o src/reactor/reactor_timer.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_stream.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_stream.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_stream.lo src/reactor/reactor_stream.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_stream.lo -MD -MP -MF src/reactor/.deps/reactor_stream.Tpo -c src/reactor/reactor_stream.c -fPIC -DPIC -o src/reactor/.libs/reactor_stream.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_stream.lo -MD -MP -MF src/reactor/.deps/reactor_stream.Tpo -c src/reactor/reactor_stream.c -o src/reactor/reactor_stream.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_resolver.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_resolver.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_resolver.lo src/reactor/reactor_resolver.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_resolver.lo -MD -MP -MF src/reactor/.deps/reactor_resolver.Tpo -c src/reactor/reactor_resolver.c -fPIC -DPIC -o src/reactor/.libs/reactor_resolver.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_resolver.lo -MD -MP -MF src/reactor/.deps/reactor_resolver.Tpo -c src/reactor/reactor_resolver.c -o src/reactor/reactor_resolver.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_tcp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_tcp.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_tcp.lo src/reactor/reactor_tcp.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_tcp.lo -MD -MP -MF src/reactor/.deps/reactor_tcp.Tpo -c src/reactor/reactor_tcp.c -fPIC -DPIC -o src/reactor/.libs/reactor_tcp.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_tcp.lo -MD -MP -MF src/reactor/.deps/reactor_tcp.Tpo -c src/reactor/reactor_tcp.c -o src/reactor/reactor_tcp.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_http_parser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_parser.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_http_parser.lo src/reactor/reactor_http_parser.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_parser.lo -MD -MP -MF src/reactor/.deps/reactor_http_parser.Tpo -c src/reactor/reactor_http_parser.c -fPIC -DPIC -o src/reactor/.libs/reactor_http_parser.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_parser.lo -MD -MP -MF src/reactor/.deps/reactor_http_parser.Tpo -c src/reactor/reactor_http_parser.c -o src/reactor/reactor_http_parser.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_http.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_http.lo src/reactor/reactor_http.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http.lo -MD -MP -MF src/reactor/.deps/reactor_http.Tpo -c src/reactor/reactor_http.c -fPIC -DPIC -o src/reactor/.libs/reactor_http.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http.lo -MD -MP -MF src/reactor/.deps/reactor_http.Tpo -c src/reactor/reactor_http.c -o src/reactor/reactor_http.o >/dev/null 2>&1
depbase=`echo src/reactor/reactor_http_server.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_server.lo -MD -MP -MF $depbase.Tpo -c -o src/reactor/reactor_http_server.lo src/reactor/reactor_http_server.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_server.lo -MD -MP -MF src/reactor/.deps/reactor_http_server.Tpo -c src/reactor/reactor_http_server.c -fPIC -DPIC -o src/reactor/.libs/reactor_http_server.o
libtool: compile: gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"libreactor 1.0.0\"" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT src/reactor/reactor_http_server.lo -MD -MP -MF src/reactor/.deps/reactor_http_server.Tpo -c src/reactor/reactor_http_server.c -o src/reactor/reactor_http_server.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -static -o libreactor.la -rpath /usr/local/lib src/picohttpparser/picohttpparser.lo src/reactor/reactor_memory.lo src/reactor/reactor_user.lo src/reactor/reactor_pool.lo src/reactor/reactor_core.lo src/reactor/reactor_timer.lo src/reactor/reactor_stream.lo src/reactor/reactor_resolver.lo src/reactor/reactor_tcp.lo src/reactor/reactor_http_parser.lo src/reactor/reactor_http.lo src/reactor/reactor_http_server.lo
libtool: link: ar cru .libs/libreactor.a src/picohttpparser/picohttpparser.o src/reactor/reactor_memory.o src/reactor/reactor_user.o src/reactor/reactor_pool.o src/reactor/reactor_core.o src/reactor/reactor_timer.o src/reactor/reactor_stream.o src/reactor/reactor_resolver.o src/reactor/reactor_tcp.o src/reactor/reactor_http_parser.o src/reactor/reactor_http.o src/reactor/reactor_http_server.o
ar: `u' modifier ignored since `D' is the default (see `U')
ar: src/picohttpparser/picohttpparser.o: plugin needed to handle lto object
ar: src/reactor/reactor_memory.o: plugin needed to handle lto object
ar: src/reactor/reactor_user.o: plugin needed to handle lto object
ar: src/reactor/reactor_pool.o: plugin needed to handle lto object
ar: src/reactor/reactor_core.o: plugin needed to handle lto object
ar: src/reactor/reactor_timer.o: plugin needed to handle lto object
ar: src/reactor/reactor_stream.o: plugin needed to handle lto object
ar: src/reactor/reactor_resolver.o: plugin needed to handle lto object
ar: src/reactor/reactor_tcp.o: plugin needed to handle lto object
ar: src/reactor/reactor_http_parser.o: plugin needed to handle lto object
ar: src/reactor/reactor_http.o: plugin needed to handle lto object
ar: src/reactor/reactor_http_server.o: plugin needed to handle lto object
libtool: link: ranlib .libs/libreactor.a
ranlib: picohttpparser.o: plugin needed to handle lto object
ranlib: reactor_memory.o: plugin needed to handle lto object
ranlib: reactor_user.o: plugin needed to handle lto object
ranlib: reactor_pool.o: plugin needed to handle lto object
ranlib: reactor_core.o: plugin needed to handle lto object
ranlib: reactor_timer.o: plugin needed to handle lto object
ranlib: reactor_stream.o: plugin needed to handle lto object
ranlib: reactor_resolver.o: plugin needed to handle lto object
ranlib: reactor_tcp.o: plugin needed to handle lto object
ranlib: reactor_http_parser.o: plugin needed to handle lto object
ranlib: reactor_http.o: plugin needed to handle lto object
ranlib: reactor_http_server.o: plugin needed to handle lto object
libtool: link: ( cd ".libs" && rm -f "libreactor.la" && ln -s "../libreactor.la" "libreactor.la" )
depbase=`echo example/pool.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"libreactor\" -DPACKAGE_TARNAME=\"libreactor\" -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"libreactor\ 1.0.0\" -DPACKAGE_BUGREPORT=\"fredrik.widlund@gmail.com\" -DPACKAGE_URL=\"\" -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 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -MT example/pool.o -MD -MP -MF $depbase.Tpo -c -o example/pool.o example/pool.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -lreactor -ldynamic -o example/pool example/pool.o
libtool: link: gcc -std=gnu11 -g -O3 -flto -fuse-linker-plugin -I./src -Wall -Wextra -Wpedantic -o example/pool example/pool.o /tmp/libreactor/.libs/libreactor.a -ldynamic
/tmp/ccYjRsKu.ltrans0.ltrans.o: In function `main':
/tmp/libreactor/example/pool.c:35: undefined reference to `reactor_core_construct'
/tmp/libreactor/example/pool.c:36: undefined reference to `reactor_pool_construct'
/tmp/libreactor/example/pool.c:38: undefined reference to `reactor_pool_enqueue'
/tmp/libreactor/example/pool.c:39: undefined reference to `reactor_core_run'
/tmp/libreactor/example/pool.c:40: undefined reference to `reactor_pool_destruct'
/tmp/libreactor/example/pool.c:41: undefined reference to `reactor_core_destruct'
collect2: error: ld returned 1 exit status
Makefile:1020: recipe for target 'example/pool' failed
make[1]: *** [example/pool] Error 1
make[1]: Leaving directory '/tmp/libreactor'
Makefile:1511: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
The command '/bin/sh -c cd /tmp && git clone https://github.com/fredrikwidlund/libreactor && cd libreactor && ./autogen.sh && ./configure && make && sudo make install' returned a non-zero code: 2
@travisbrady
Copy link
Author

Dockerfile:

FROM ocaml/opam:ubuntu

RUN sudo apt-get update -qq
RUN sudo apt-get install -y software-properties-common
RUN sudo apt-get install -y -qq valgrind
RUN sudo apt-get -y install wget libuv1-dev libffi-dev
RUN sudo apt-get -y install git gcc make cmake automake autoconf libssl-dev libtool
RUN sudo apt-get install -y -qq valgrind
RUN cd /tmp \
    && wget https://cmocka.org/files/1.1/cmocka-1.1.0.tar.xz \
    && tar -xvf cmocka-1.1.0.tar.xz \
    && cd cmocka-1.1.0 \
    && mkdir build \
    && cd build \
    && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. \
    && make \
    && sudo make install

RUN cd /tmp \
    && wget https://github.com/fredrikwidlund/libdynamic/releases/download/v1.0.0/libdynamic-1.0.0.tar.gz \
    && tar -xvf libdynamic-1.0.0.tar.gz \
    && cd libdynamic-1.0.0 \
    && ./configure \
    && make \
    && sudo make install \
    && make check
RUN cd /tmp \
    && git clone https://github.com/fredrikwidlund/libreactor \
    && cd libreactor \
    && ./autogen.sh \
    && ./configure \
    && make \
    && sudo make install

RUN eval `opam config env`
RUN opam install utop oasis ctypes ctypes-foreign

ENTRYPOINT [ "opam", "config", "exec", "--" ]
CMD [ "bash" ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment