=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for ndpi-1.8.0 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/usr/pkgsrc/work/net/ndpi/work/ntopng-2.4-stable/nDPI' Making all in src/lib gmake[2]: Entering directory '/usr/pkgsrc/work/net/ndpi/work/ntopng-2.4-stable/nDPI/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/ -I../../src/lib/third_party/include/ -I/usr/pkg/include -O2 -march=i586 -I/usr/pkg/include -I/usr/pkg/include/json-c -fPIC -DPIC -MT libndpi_la-ndpi_main.lo -MD -MP -MF .deps/libndpi_la-ndpi_main.Tpo -c -o libndpi_la-ndpi_main.lo `test -f 'ndpi_main.c' || echo './'`ndpi_main.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/ -I../../src/lib/third_party/include/ -I/usr/pkgsrc/work/net/ndpi/work/.buildlink/include -O2 -march=i586 -I/usr/pkgsrc/work/net/ndpi/work/.buildlink/include/json-c -fPIC -DPIC -MT libndpi_la-ndpi_main.lo -MD -MP -MF .deps/libndpi_la-ndpi_main.Tpo -c ndpi_main.c -fPIC -DPIC -o .libs/libndpi_la-ndpi_main.o In file included from ndpi_main.c:28: In file included from ../../src/include/ndpi_api.h:28: In file included from ../../src/include/ndpi_main.h:27: ../../src/include/ndpi_includes.h:40:10: fatal error: 'pthread.h' file not found #include ^ 1 error generated. Makefile:1139: recipe for target 'libndpi_la-ndpi_main.lo' failed gmake[2]: *** [libndpi_la-ndpi_main.lo] Error 1 gmake[2]: Leaving directory '/usr/pkgsrc/work/net/ndpi/work/ntopng-2.4-stable/nDPI/src/lib' Makefile:459: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/net/ndpi/work/ntopng-2.4-stable/nDPI' Makefile:368: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/ndpi *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/ndpi