=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for lhs-0.1nb9 gcc -O2 -Wall -DDEFAULT_ROOT_DIR='"/usr/pkg/share/httpd/htdocs"' lhs.c -o lhs -L/usr/lib -Wl,-R/usr/lib -lssl -lcrypto In file included from lhs.c:27: ./lhs.h:126:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif __LHS_H ^ // lhs.c:525:9: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ lhs.c:529:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] debug("nie mona otworzy bezpiecznego kanau.\n"); ^~~~ ~~~~ ~~~~ lhs.c:32:43: note: expanded from macro 'debug' #define debug(x...) { if (verbose) printf(x); } ^ lhs.c:534:34: warning: illegal character encoding in string literal [-Winvalid-source-encoding] debug("otworzono bezpieczny kana. szyfr: %s, bitw: %d.\n", ^~~~ ~~~~ lhs.c:32:43: note: expanded from macro 'debug' #define debug(x...) { if (verbose) printf(x); } ^ lhs.c:791:61: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((sock = accept(fds[j].fd, (struct sockaddr*) &caddr, &caddr_len)) != -1) { ^~~~~~~~~~ /usr/include/sys/socket.h:642:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 5 warnings generated. /var/tmp/lhs-836821.o: In function `create_sock': lhs.c:(.text+0x58): undefined reference to `in6addr_any' lhs.c:(.text+0x61): undefined reference to `in6addr_any' lhs.c:(.text+0x6a): undefined reference to `in6addr_any' lhs.c:(.text+0x73): undefined reference to `in6addr_any' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/www/lhs/work/lhs *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/www/lhs *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/lhs