=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for socks5-1.0.2nb6
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./daemon.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./socket.c
./socket.c:477:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            afd = accept(in, &source.sa, &len);
                                         ^~~~
/usr/include/sys/socket.h:604:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
1 warning generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./proxy.c
./proxy.c:255:48: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getpeername(iio.fd, (ss *)&li.srcAddr, &len) < 0) {
                                               ^~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./proxy.c:262:48: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockname(iio.fd, (ss *)&li.bndAddr, &len) < 0) {
                                               ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
2 warnings generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./tcp.c
./tcp.c:120:57: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockname(tcpinfo->oio.fd, &pri->intAddr.sa, &len) < 0) {
                                                           ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./tcp.c:154:77: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!pri->nextVersion && getsockname(tcpinfo->oio.fd, &pri->intAddr.sa, &len) < 0) {
                                                                            ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./tcp.c:207:61: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            while ((fd = accept(tcpinfo->oio.fd, &pri->dstAddr.sa, &len)) == S5InvalidIOHandle) {
                                                                   ^~~~
/usr/include/sys/socket.h:604:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
3 warnings generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./flow.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./info.c
./info.c:107:62: warning: array index 128 is past the end of the array (which contains 128 elements) [-Warray-bounds]
        if (strlen(pri->dstAddr.sn.sn_name) + 1 > S5_HOSTNAME_SIZE) pri->retName[S5_HOSTNAME_SIZE] = '\0';
                                                                    ^            ~~~~~~~~~~~~~~~~
../include/socks5api.h:89:5: note: array 'retName' declared here
    char retName[S5_HOSTNAME_SIZE];
    ^
1 warning generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./validate.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./sema.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./udp.c
./udp.c:399:78: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            while ((u->obuflen = recvfrom(i, u->obuf, u->obuflen, 0, (ss *)&sender, &fromlen)) < 0 && ISSOCKETERROR(EINTR));
                                                                                    ^~~~~~~~
/usr/include/sys/socket.h:615:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
./udp.c:587:48: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockname(u->relay, (ss *)&route.sa, &len) < 0) {
                                               ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
2 warnings generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./udputil.c
./udputil.c:82:47: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (getsockname(ar->sd, (ss *)&route.sa, &len) < 0) {
                                                 ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
1 warning generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./tracer.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/msg.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/protocol.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/log.c
./../lib/log.c:144:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        syslog(slfac, fmt_cpy + offset);
                      ^~~~~~~~~~~~~~~~
1 warning generated.
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/confutil.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/buffer.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/null.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/addr.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./s2s.c
./s2s.c:55:68: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        getsockopt(oiop->fd, SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen);
                                                                   ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
1 warning generated.
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./sident.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/shim.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./monSocksClient.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/dpin.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/dpinutil.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/upwd.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/gss.c
gcc  -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./../lib/cram.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -c ./packet.c
gcc -I. -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__    -DIN_SERVER -DHAVE_CONFIG_H  -o socks5 daemon.o socket.o proxy.o tcp.o flow.o info.o validate.o sema.o udp.o udputil.o tracer.o       msg.o protocol.o log.o confutil.o buffer.o null.o addr.o s2s.o sident.o   shim.o monSocksClient.o dpin.o dpinutil.o upwd.o gss.o cram.o packet.o -Wl,-rpath,/usr/pkg/lib  -lcrypt  
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./msg.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./protocol.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./log.c
./log.c:144:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        syslog(slfac, fmt_cpy + offset);
                      ^~~~~~~~~~~~~~~~
1 warning generated.
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./hostname.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./confutil.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./buffer.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./cache.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./wrap.c
./wrap.c:37:39: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (REAL(getsockname)(fd, &na.sa, &slen) < 0) return -1;
                                      ^~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:41:62: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen) < 0) return -1;
                                                             ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
./wrap.c:111:82: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (lsInRLDFunctions || lsInWrapFunction) return REAL(getsockname)(sd, name, namelen);
                                                                                 ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:112:69: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!lsConnectionCached(sd)) return REAL(getsockname)(sd, name, namelen);
                                                                    ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:126:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        DLRETURN(lsInWrapFunction, rval, REAL(getsockname)(sd, name, namelen));
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
./wrap.c:29:44: note: expanded from macro 'DLRETURN'
#define DLRETURN(var, rval, exp) (rval) = (exp); (var) = 0; return (rval)
                                           ^
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:134:82: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (lsInRLDFunctions || lsInWrapFunction) return REAL(getpeername)(sd, name, namelen);
                                                                                 ^~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:135:69: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!lsConnectionCached(sd)) return REAL(getpeername)(sd, name, namelen);
                                                                    ^~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:149:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        DLRETURN(lsInWrapFunction, rval, REAL(getpeername)(sd, name, namelen));
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
./wrap.c:29:44: note: expanded from macro 'DLRETURN'
#define DLRETURN(var, rval, exp) (rval) = (exp); (var) = 0; return (rval)
                                           ^
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap.c:223:96: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (lsInRLDFunctions || lsInWrapFunction) return REAL(recvfrom)(sd, msg, len, flags, from, fromlen);
                                                                                               ^~~~~~~
/usr/include/sys/socket.h:615:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
./wrap.c:478:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockopt(fileno(fp), SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen) < 0)
                                                                     ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
./wrap.c:495:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockopt(fileno(fp), SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen) < 0)
                                                                     ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
./wrap.c:509:70: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockopt(fileno(fp), SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen) < 0)
                                                                     ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
12 warnings generated.
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./wrap_tcp.c
./wrap_tcp.c:155:58: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                    if (REAL(getsockname)(sd, (ss *)&sa, &ssasize) < 0) {
                                                         ^~~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:350:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getsockname)(sd, name, namelen);
                                           ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:355:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getsockname)(sd, name, namelen);    
                                           ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:360:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getsockname)(sd, name, namelen);    
                                           ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:365:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getsockname)(sd, name, namelen);    
                                           ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:386:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getpeername)(sd, name, namelen);
                                           ^~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_tcp.c:414:32: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(accept)(sd, name, namelen);
                                      ^~~~~~~
/usr/include/sys/socket.h:604:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./wrap_tcp.c:425:32: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(accept)(sd, name, namelen);
                                      ^~~~~~~
/usr/include/sys/socket.h:604:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
8 warnings generated.
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./wrap_udp.c
./wrap_udp.c:317:50: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(recvfrom)(s, msg, len, flags, from, fromlen);
                                                        ^~~~~~~
/usr/include/sys/socket.h:615:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
./wrap_udp.c:335:61: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            REAL(recvfrom)(s, recvbuf, len, flags&~MSG_PEEK, from, fromlen);
                                                                   ^~~~~~~
/usr/include/sys/socket.h:615:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
./wrap_udp.c:339:71: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((olen = REAL(recvfrom)(s, recvbuf, UDP_MAX_PAYLOAD, flags, from, fromlen)) < 0) {
                                                                             ^~~~~~~
/usr/include/sys/socket.h:615:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
./wrap_udp.c:407:37: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        return REAL(getpeername)(sd, name, namelen);
                                           ^~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./wrap_udp.c:425:40: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    rval = REAL(getsockname)(sd, name, namelen);
                                       ^~~~~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
5 warnings generated.
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./conf.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./select.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./libproto.c
./libproto.c:176:38: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (REAL(getsockname)(fd, &junk.sa, &len) == 0) port = lsAddr2Port(&junk);
                                            ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./libproto.c:213:39: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                if (REAL(getpeername)(cfd, &sna.sa, &snalen) < 0) {
                                                    ^~~~~~~
/usr/include/sys/socket.h:607:74: note: passing argument to parameter here
int     getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./libproto.c:259:45: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if (REAL(getsockname)(fd, &junk.sa, &len) < 0 || lsAddr2Port(&junk) == 0) {
                                            ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./libproto.c:262:38: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
            REAL(getsockname)(fd, &junk.sa, &len);
                                            ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
./libproto.c:265:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        REAL(getsockname)(cfd, &dest.sa, &len);
                                         ^~~~
/usr/include/sys/socket.h:608:74: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                             ^
5 warnings generated.
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./rld.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./null.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./addr.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./shim.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./dpin.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./dpinutil.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./upwd.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./gss.c
gcc -DIN_LIBRARY -I../include -I. -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -c ./cram.c
ar rv libsocks5.a msg.o protocol.o log.o hostname.o confutil.o buffer.o cache.o wrap.o wrap_tcp.o wrap_udp.o conf.o  select.o libproto.o rld.o null.o addr.o shim.o dpin.o dpinutil.o upwd.o gss.o cram.o
ar: creating libsocks5.a
a - msg.o
a - protocol.o
a - log.o
a - hostname.o
a - confutil.o
a - buffer.o
a - cache.o
a - wrap.o
a - wrap_tcp.o
a - wrap_udp.o
a - conf.o
a - select.o
a - libproto.o
a - rld.o
a - null.o
a - addr.o
a - shim.o
a - dpin.o
a - dpinutil.o
a - upwd.o
a - gss.o
a - cram.o
ranlib libsocks5.a
ar rv libs5util.a log.o msg.o buffer.o
ar: creating libs5util.a
a - log.o
a - msg.o
a - buffer.o
ranlib libs5util.a
gcc -I../../include -I./../../lib -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__      -c ./rping.c
gcc -I../../include -I./../../lib -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__      -c ./share.c
gcc -I../../include -I./../../lib -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__      -o rping rping.o share.o -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt
gcc -I../../include -I./../../lib -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__      -c ./rtrace.c
gcc -I../../include -I./../../lib -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__      -o rtraceroute rtrace.o share.o -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./cmds.c
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./cmdtab.c
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./ftp.c
./ftp.c:890:33: warning: '/*' within block comment [-Wcomment]
                /*              (void)  putc('\0', dout);  /* this violates rfc */
                                                           ^
1 warning generated.
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./glob.c
./glob.c:339:8: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                            else p--;
                            ^
./glob.c:380:10: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                            } else
                              ^
./glob.c:514:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                    else p--;
                    ^
./glob.c:547:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else if (eq(p, "{") || eq(p, "{}"))
            ^
4 warnings generated.
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./main.c
./main.c:147:17: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat]
            printf("%-*s\t%s\n", HELPINDENT,
                    ~~~^         ~~~~~~~~~~
1 warning generated.
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./ruserpass.c
./ruserpass.c:183:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                                } else {
                                  ^
1 warning generated.
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -c ./domacro.c
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DINCLUDE_PROTOTYPES    -o ftp cmds.o cmdtab.o ftp.o glob.o main.o ruserpass.o domacro.o -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt
cmds.o: In function `remglob':
./cmds.c:(.text+0x1bac): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
gcc -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DORIG_FINGER=\"/usr/bin/finger\" -DINCLUDE_PROTOTYPES  -o finger ./finger.c -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt
gcc -DWHOIS_SERVER'="rs.internic.net"' -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DSOCKS  -DORIG_FINGER=\"/usr/bin/finger\" -DINCLUDE_PROTOTYPES  -o whois ./finger.c -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./aquery.c
In file included from ./aquery.c:10:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./archie.c
In file included from ./archie.c:14:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
./archie.c:56:1: error: 'main' must return 'int'
void
^
2 warnings and 4 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./atalloc.c
In file included from ./atalloc.c:8:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./dirsend.c
In file included from ./dirsend.c:22:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
./dirsend.c:427:15: warning: '/*' within block comment [-Wcomment]
/*      pkt= NULL;      /* added by NEC NWSL */
                        ^
3 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./get_pauth.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./get_vdir.c
In file included from ./get_vdir.c:10:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./getopt.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./getopt1.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./perrmesg.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./procquery.c
In file included from ./procquery.c:17:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./ptalloc.c
In file included from ./ptalloc.c:8:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./regex.c
./regex.c:269:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                else
                ^
1 warning generated.
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./stcopy.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./support.c
In file included from ./support.c:12:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./vlalloc.c
In file included from ./vlalloc.c:9:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
2 warnings and 3 errors generated.
*** Error code 1 (continuing)
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__   -DDEBUG -DSOCKS -DINCLUDE_PROTOTYPES -DARCHIE_HOST=\"archie.ans.net\"  -c ./vl_comp.c
In file included from ./vl_comp.c:7:
./pfs.h:197:5: error: declaration of anonymous struct must be a definition
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^
./pfs.h:197:38: error: type name requires a specifier or qualifier
    struct restrict     *restrictions;    /* Restrictions on use            */
                                     ^
./pfs.h:197:5: warning: declaration does not declare anything [-Wmissing-declarations]
    struct restrict     *restrictions;    /* Restrictions on use            */
    ^~~~~~
./pfs.h:219:1: error: declaration of anonymous struct must be a definition
struct restrict {
^
./pfs.h:219:1: warning: declaration does not declare anything [-Wmissing-declarations]
struct restrict {
^~~~~~
./vl_comp.c:34:13: warning: implicitly declaring C library function 'strcmp' with type 'int (const char *, const char *)'
            return(strcmp(vl1->name,vl2->name));
                   ^
./vl_comp.c:34:13: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
3 warnings and 3 errors generated.
*** Error code 1 (continuing)
`all' not remade because of errors.
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./auth.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./encrypt.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./misc.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./forward.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./kerberos.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./kerberos5.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./spx.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./enc_des.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./rsaencpwd.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./krb4encpwd.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./read_password.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./mem.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./herror.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./genget.c
gcc -I. -I../../../include -I./../../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP   -c ./getopt.c
/bin/rm -f libtelnet.a
ar cruv libtelnet.a auth.o encrypt.o misc.o forward.o kerberos.o kerberos5.o spx.o enc_des.o      rsaencpwd.o krb4encpwd.o read_password.o mem.o herror.o genget.o getopt.o
a - auth.o
a - encrypt.o
a - misc.o
a - forward.o
a - kerberos.o
a - kerberos5.o
a - spx.o
a - enc_des.o
a - rsaencpwd.o
a - krb4encpwd.o
a - read_password.o
a - mem.o
a - herror.o
a - genget.o
a - getopt.o
ranlib libtelnet.a
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./authenc.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./commands.c
./commands.c:1517:24: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((ep = env_find("DISPLAY")) && ((*ep->value == ':') || (strncmp((char *)ep->value, "unix:", 5) == 0))) {
                       ^~~~~~~~~
./commands.c:1490:41: note: passing argument to parameter 'var' here
struct env_lst *env_find(unsigned char *var) {
                                        ^
./commands.c:1531:19: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) {
                  ^~~~~~
./commands.c:1490:41: note: passing argument to parameter 'var' here
struct env_lst *env_find(unsigned char *var) {
                                        ^
./commands.c:1531:54: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) {
                                                     ^~~~~~~~~
./commands.c:1490:41: note: passing argument to parameter 'var' here
struct env_lst *env_find(unsigned char *var) {
                                        ^
3 warnings generated.
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./main.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./network.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./ring.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./sys_bsd.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./telnet.c
./telnet.c:632:66: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration]
        if ((tname = (char *)env_getvalue((unsigned char *)"TERM")) && (setupterm(tname, 1, &err) == 0)) {
                                                                        ^
1 warning generated.
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./terminal.c
./terminal.c:125:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            n = TerminalWrite((char *)ttyoring.consume, n);
                              ^~~~~~~~~~~~~~~~~~~~~~~~
./externs.h:295:37: note: passing argument to parameter here
    TerminalWrite P((unsigned char *, int)),
                                    ^
./ring.h:41:15: note: expanded from macro 'P'
# define        P(x)    x
                        ^
./terminal.c:140:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        n1 = TerminalWrite((char *)ttyoring.bottom, n1);
                                           ^~~~~~~~~~~~~~~~~~~~~~~
./externs.h:295:37: note: passing argument to parameter here
    TerminalWrite P((unsigned char *, int)),
                                    ^
./ring.h:41:15: note: expanded from macro 'P'
# define        P(x)    x
                        ^
2 warnings generated.
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./tn3270.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -c ./utilities.c
gcc -I. -I../../include -I./../../include -O2 -D__USE_FIXED_PROTOTYPES__  -DTERMCAP  -DSOCKS -DINCLUDE_PROTOTYPES -DKLUDGELINEMODE  -DSOCKS -DINCLUDE_PROTOTYPES -o telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o -L../../lib -lsocks5 -Wl,-rpath,/usr/pkg/lib  -lcrypt   -ltermcap -Llibtelnet -ltelnet
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/msg.c -o msg.so
ld -x -r msg.so -o msg.o
rm -f msg.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/protocol.c -o protocol.so
ld -x -r protocol.so -o protocol.o
rm -f protocol.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/log.c -o log.so
./../lib/log.c:144:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        syslog(slfac, fmt_cpy + offset);
                      ^~~~~~~~~~~~~~~~
1 warning generated.
ld -x -r log.so -o log.o
rm -f log.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/hostname.c -o hostname.so
ld -x -r hostname.so -o hostname.o
rm -f hostname.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/confutil.c -o confutil.so
ld -x -r confutil.so -o confutil.o
rm -f confutil.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/buffer.c -o buffer.so
ld -x -r buffer.so -o buffer.o
rm -f buffer.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/cache.c -o cache.so
ld -x -r cache.so -o cache.o
rm -f cache.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/wrap.c -o wrap.so
./../lib/wrap.c:41:62: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&optval, &optlen) < 0) return -1;
                                                             ^~~~~~~
/usr/include/sys/socket.h:609:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
1 warning generated.
ld -x -r wrap.so -o wrap.o
rm -f wrap.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/wrap_tcp.c -o wrap_tcp.so
ld -x -r wrap_tcp.so -o wrap_tcp.o
rm -f wrap_tcp.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/wrap_udp.c -o wrap_udp.so
ld -x -r wrap_udp.so -o wrap_udp.o
rm -f wrap_udp.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/conf.c -o conf.so
ld -x -r conf.so -o conf.o
rm -f conf.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/libproto.c -o libproto.so
ld -x -r libproto.so -o libproto.o
rm -f libproto.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/select.c -o select.so
ld -x -r select.so -o select.o
rm -f select.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/rld.c -o rld.so
./../lib/rld.c:131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    GETSYMHANDLE(TRY_LIBRESOLV, libresolv_handle, LIBRESOLV_NAME,  "LIBRESOLV_NAME", RTLD_LAZY);
    ^
./../lib/rld.c:77:20: note: expanded from macro 'GETSYMHANDLE'
        if (lname) GETSYM((handle), lname, (flags));                         \
                   ^
./../lib/rld.c:60:8: note: expanded from macro 'GETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:132:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    GETSYMHANDLE(TRY_LIBNSL,    libnsl_handle,    LIBNSL_NAME,     "LIBNSL_NAME",    RTLD_LAZY);
    ^
./../lib/rld.c:77:20: note: expanded from macro 'GETSYMHANDLE'
        if (lname) GETSYM((handle), lname, (flags));                         \
                   ^
./../lib/rld.c:60:8: note: expanded from macro 'GETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:133:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    GETSYMHANDLE(TRY_LIBSOCKET, libsocket_handle, LIBSOCKET_NAME,  "LIBSOCKET_NAME", RTLD_LAZY);
    ^
./../lib/rld.c:77:20: note: expanded from macro 'GETSYMHANDLE'
        if (lname) GETSYM((handle), lname, (flags));                         \
                   ^
./../lib/rld.c:60:8: note: expanded from macro 'GETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:134:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    GETSYMHANDLE(TRY_LIBSOCKET, libdgc_handle,    LIBDGC_NAME,     "LIBDGC_NAME",    RTLD_LAZY);
    ^
./../lib/rld.c:77:20: note: expanded from macro 'GETSYMHANDLE'
        if (lname) GETSYM((handle), lname, (flags));                         \
                   ^
./../lib/rld.c:60:8: note: expanded from macro 'GETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:135:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    GETSYMHANDLE(TRY_LIBC,      libc_handle,      LIBC_NAME,       "LIBC_NAME",      RTLD_LAZY);
    ^
./../lib/rld.c:77:20: note: expanded from macro 'GETSYMHANDLE'
        if (lname) GETSYM((handle), lname, (flags));                         \
                   ^
./../lib/rld.c:60:8: note: expanded from macro 'GETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:159:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    DGETSYMHANDLE(TRY_LIBRESOLV, libresolv_handle, LIBRESOLV_NAME,  "LIBRESOLV_NAME", RTLD_LAZY);
    ^
./../lib/rld.c:85:20: note: expanded from macro 'DGETSYMHANDLE'
        if (lname) DGETSYM((handle), lname, (flags));                        \
                   ^
./../lib/rld.c:67:8: note: expanded from macro 'DGETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:160:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    DGETSYMHANDLE(TRY_LIBNSL,    libnsl_handle,    LIBNSL_NAME,     "LIBNSL_NAME",    RTLD_LAZY);
    ^
./../lib/rld.c:85:20: note: expanded from macro 'DGETSYMHANDLE'
        if (lname) DGETSYM((handle), lname, (flags));                        \
                   ^
./../lib/rld.c:67:8: note: expanded from macro 'DGETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:161:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    DGETSYMHANDLE(TRY_LIBSOCKET, libsocket_handle, LIBSOCKET_NAME,  "LIBSOCKET_NAME", RTLD_LAZY);
    ^
./../lib/rld.c:85:20: note: expanded from macro 'DGETSYMHANDLE'
        if (lname) DGETSYM((handle), lname, (flags));                        \
                   ^
./../lib/rld.c:67:8: note: expanded from macro 'DGETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:162:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    DGETSYMHANDLE(TRY_LIBSOCKET, libdgc_handle,    LIBDGC_NAME,     "LIBDGC_NAME",    RTLD_LAZY);
    ^
./../lib/rld.c:85:20: note: expanded from macro 'DGETSYMHANDLE'
        if (lname) DGETSYM((handle), lname, (flags));                        \
                   ^
./../lib/rld.c:67:8: note: expanded from macro 'DGETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
./../lib/rld.c:163:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    DGETSYMHANDLE(TRY_LIBC,      libc_handle,      LIBC_NAME,       "LIBC_NAME",      RTLD_LAZY);
    ^
./../lib/rld.c:85:20: note: expanded from macro 'DGETSYMHANDLE'
        if (lname) DGETSYM((handle), lname, (flags));                        \
                   ^
./../lib/rld.c:67:8: note: expanded from macro 'DGETSYM'
     } else if ((*fptr = dlsym((handle), name)) != NULL) {                   \
       ^
10 warnings generated.
ld -x -r rld.so -o rld.o
rm -f rld.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/null.c -o null.so
ld -x -r null.so -o null.o
rm -f null.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/addr.c -o addr.so
ld -x -r addr.so -o addr.o
rm -f addr.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/shim.c -o shim.so
ld -x -r shim.so -o shim.o
rm -f shim.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/dpin.c -o dpin.so
ld -x -r dpin.so -o dpin.o
rm -f dpin.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/dpinutil.c -o dpinutil.so
ld -x -r dpinutil.so -o dpinutil.o
rm -f dpinutil.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/upwd.c -o upwd.so
ld -x -r upwd.so -o upwd.o
rm -f upwd.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/gss.c -o gss.so
ld -x -r gss.so -o gss.o
rm -f gss.so
gcc  -I../include -I./../lib -I./../include -O2 -D__USE_FIXED_PROTOTYPES__  -DHAVE_CONFIG_H  -fpic -DFOR_SHARED_LIBRARY -DIN_LIBRARY -c ./../lib/cram.c -o cram.so
ld -x -r cram.so -o cram.o
rm -f cram.so
ld -o libsocks5_sh.so -Bshareable -R/usr/pkg/lib msg.o protocol.o log.o hostname.o confutil.o buffer.o cache.o wrap.o wrap_tcp.o wrap_udp.o     conf.o libproto.o select.o rld.o null.o addr.o shim.o dpin.o dpinutil.o upwd.o gss.o cram.o -lcrypt 
=> Unwrapping files-to-be-installed.
=> Creating /scratch/net/socks5/work/socks5
