=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> 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 nocol-4.3.1nb8
BUILDING NOCOL revision 4.3.1 for NetBSD 6.99.15 

MAKING IN lib
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\"  -DDATADIR=\"/var/run/data\"  -DPIDDIR=\"/var/run\"	-DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  bsdsignal.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\"  -DDATADIR=\"/var/run/data\"  -DPIDDIR=\"/var/run\"	-DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  eventlog.c
In file included from eventlog.c:66:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/noclogd.h:18:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
eventlog.c:196:4: warning: implicit declaration of function 'closeeventlog' is invalid in C99 [-Wimplicit-function-declaration]
          closeeventlog();      /* no point keeping it open */
          ^
3 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\"  -DDATADIR=\"/var/run/data\"  -DPIDDIR=\"/var/run\"	-DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  event_utils.c
In file included from event_utils.c:34:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
event_utils.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_event(v, status, value, maxsev)
^~~~~~~~~~~~
event_utils.c:103:6: warning: implicit declaration of function 'eventlog' is invalid in C99 [-Wimplicit-function-declaration]
            eventlog(v);
            ^
event_utils.c:123:1: warning: control reaches end of non-void function [-Wreturn-type]
}       /* update_event() */
^
event_utils.c:196:76: warning: '/*' within block comment [-Wcomment]
/*   sprintf(datestr,"%02d/%02d %02d:%02d\0",v->mon,v->day,v->hour,v->min);/* */
                                                                           ^
event_utils.c:288:62: warning: '/*' within block comment [-Wcomment]
/*  sscanf(tstr, "%*s %d %d:%d", v.day, (v.hour), (v.min) ); /* skip month */
                                                             ^
event_utils.c:305:19: warning: implicit declaration of function 'atol' is invalid in C99 [-Wimplicit-function-declaration]
    v.var.value = atol (strtok(NULL, " \t"));
                  ^
event_utils.c:311:41: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
    for (a=E_CRITICAL ; severity_txt[a] != "" ; ++a)
                                        ^  ~~
event_utils.c:318:41: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
    for (a=E_CRITICAL ; severity_txt[a] != "" ; ++a)
                                        ^  ~~
event_utils.c:327:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register i = 0;
        ~~~~~~~~ ^
event_utils.c:328:26: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare]
        while (nocop_txt[i].str != "")
                                ^  ~~
12 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\"  -DDATADIR=\"/var/run/data\"  -DPIDDIR=\"/var/run\"	-DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  misc.c
In file included from misc.c:49:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
misc.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nocol_startup(pconfigfile, pdatafile)
^~~~~~~~~~~~~
misc.c:79:26: warning: format string contains '\0' within the string body [-Wformat]
    sprintf(s, "%s/%s.pid\0", PIDDIR, prognm) ;
               ~~~~~~~~~~^~~
misc.c:80:9: warning: implicit declaration of function 'standalone' is invalid in C99 [-Wimplicit-function-declaration]
    if (standalone(s) == -1)    /* Kill prev running process    */
        ^
misc.c:95:38: warning: format string contains '\0' within the string body [-Wformat]
          sprintf(*pconfigfile, "%s/%s-confg\0", ETCDIR, prognm);
                                ~~~~~~~~~~~~^~~
misc.c:106:33: warning: format string contains '\0' within the string body [-Wformat]
          sprintf(*pdatafile,  "%s/%s%s\0", DATADIR,  prognm, OUTPUTEXT); 
                               ~~~~~~~~^~~
misc.c:130:1: warning: control may reach end of non-void function [-Wreturn-type]
}       /* end nocol_startup() */
^
misc.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nocol_restore_sigusr1()
^~~~~~~~~~~~~~~~~~~~~
misc.c:143:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
misc.c:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
standalone(pidfile)
^~~~~~~~~~
misc.c:195:22: warning: '/*' within block comment [-Wcomment]
            /* return (-1);     /* Lets not return,,, */
                                ^
misc.c:256:5: warning: implicit declaration of function 'closeeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    closeeventlog() ;
    ^
misc.c:260:33: warning: format string contains '\0' within the string body [-Wformat]
    sprintf (pidfile, "%s/%s.pid\0", PIDDIR, prognm);
                      ~~~~~~~~~~^~~
14 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\"  -DDATADIR=\"/var/run/data\"  -DPIDDIR=\"/var/run\"	-DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  fgetline.c
Expect 13 shift/reduce conflicts from yacc : 
yacc getdate.y
yacc: 13 shift/reduce conflicts.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -c y.tab.c -o getdate.o
getdate.y:60:26: warning: '/*' within block comment [-Wcomment]
/* #include "getdate.h"         /* commented out  vikas@navya.com */
                                ^
1 warning generated.
/bin/rm -f libnocol.a
ar r libnocol.a  bsdsignal.o eventlog.o event_utils.o misc.o  fgetline.o getdate.o
ar: creating libnocol.a
ranlib  libnocol.a
Created libnocol.a in /scratch/net/nocol/work/nocol-4.3.1/lib
Making the new CMU SNMP library under /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp
creating cache ./config.cache
-r
netbsd6.99.15 ld.so
creating libtool
updating cache ./config.cache
creating ./config.status
creating Makefile
creating cmu-snmp-spec
creating config.h
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c mibii.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_error.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_extra.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_dump.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c asn1.c
asn1.c:386:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
  memcpy((char *)string, (char *)bufp, (int)asn_length);
  ^
asn1.c:386:3: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
1 warning generated.
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c coexistance.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_msg.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_pdu.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_vars.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_api_error.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_client.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_api.c
snmp_api.c:271:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
          tmpcp = DEFAULT_COMMUNITY;
                ^ ~~~~~~~~~~~~~~~~~
snmp_api.c:272:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          tmplen = strlen(tmpcp);
                          ^~~~~
/usr/include/string.h:61:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
snmp_api.c:715:35: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                      (struct sockaddr *)&from, &fromlength);
                                                ^~~~~~~~~~~
/usr/include/sys/socket.h:623:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
3 warnings generated.
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c mini-client.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c mib.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c parse.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c new-parse.c
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -DCMU_SNMP_VERSION="\"`head -1 VERSION`\"" -c version.c -o version.o
cc -O2 -I/usr/include -I.  -DHAVE_CONFIG_H -DMIBDIR="\"/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/etc\"" -I/usr/include -c snmp_api_util.c
ar crv libsnmp.a mibii.o snmp_error.o snmp_extra.o snmp_dump.o asn1.o coexistance.o snmp_msg.o snmp_pdu.o snmp_vars.o 		snmp_api_error.o snmp_client.o snmp_api.o mini-client.o 		mib.o parse.o new-parse.o version.o snmp_api_util.o
a - mibii.o
a - snmp_error.o
a - snmp_extra.o
a - snmp_dump.o
a - asn1.o
a - coexistance.o
a - snmp_msg.o
a - snmp_pdu.o
a - snmp_vars.o
a - snmp_api_error.o
a - snmp_client.o
a - snmp_api.o
a - mini-client.o
a - mib.o
a - parse.o
a - new-parse.o
a - version.o
a - snmp_api_util.o
ranlib libsnmp.a
/scratch/net/nocol/work/.tools/bin/mkdirhier /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 asn1.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 mib.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 parse.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_dump.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_extra.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_api.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_api_util.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_client.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_impl.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_pdu.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_vars.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_error.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_session.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_api_error.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp-internal.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_msg.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 mibii.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_coexist.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 mib.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 version.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 mini-client.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/install -c -m 644 snmp_compat.h /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp
/scratch/net/nocol/work/.tools/bin/mkdirhier /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib
./libtool /scratch/net/nocol/work/.tools/bin/install -c -m 755 libsnmp.a /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib
/scratch/net/nocol/work/.tools/bin/install -c -m 755 libsnmp.a /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib/libsnmp.a
chmod 644 /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib/libsnmp.a
ranlib /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib/libsnmp.a

MAKING IN eventselect
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  proc_datafile.c
In file included from proc_datafile.c:50:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
proc_datafile.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
proc_datafile (fd)
^~~~~~~~~~~~~
proc_datafile.c:88:10: warning: implicit declaration of function 'check_strlist' is invalid in C99 [-Wimplicit-function-declaration]
            if (check_strlist(&senderlist, v.sender))
                ^
proc_datafile.c:90:7: warning: implicit declaration of function 'check_event_time' is invalid in C99 [-Wimplicit-function-declaration]
                if (check_event_time(&v))
                    ^
proc_datafile.c:93:9: warning: implicit declaration of function 'eventlog' is invalid in C99 [-Wimplicit-function-declaration]
                      eventlog(&v);
                      ^
proc_datafile.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_strlist(slist, S)
^~~~~~~~~~~~~
proc_datafile.c:116:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register i = 0 ; 
    ~~~~~~~~ ^
proc_datafile.c:123:22: warning: implicit declaration of function 'tolower' is invalid in C99 [-Wimplicit-function-declaration]
    while ( (s[i] =  tolower(S[i]) )  )         /* lowercase the string */
                     ^
proc_datafile.c:136:64: warning: '/*' within block comment [-Wcomment]
/*      if (strncasecmp(s, slist[i], strlen(slist[i]))  == 0 ) /* */
                                                               ^
proc_datafile.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_event_time(pv)
^~~~~~~~~~~~~~~~
proc_datafile.c:173:36: warning: '/*' within block comment [-Wcomment]
/*    eventtime = timelocal(&tm) ;      /* Only on SunOS ? */
                                        ^
proc_datafile.c:174:17: warning: implicit declaration of function 'get_date' is invalid in C99 [-Wimplicit-function-declaration]
    eventtime = get_date(asctime(&tm), NULL); /* convert to secs since 1970 */
                ^
13 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  eventselect.c
In file included from eventselect.c:46:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
eventselect.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
eventselect.c:78:11: warning: implicit declaration of function 'tolower' is invalid in C99 [-Wimplicit-function-declaration]
          switch(tolower(optarg[0]))
                 ^
eventselect.c:96:23: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
              fromtime = t - atoi(++optarg) ;
                             ^
eventselect.c:99:17: warning: implicit declaration of function 'get_date' is invalid in C99 [-Wimplicit-function-declaration]
            fromtime = get_date(optarg, NULL) ;
                       ^
eventselect.c:114:61: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                             ~~             ^~~~~~
                                             %s
eventselect.c:121:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
          exit (1);
          ^
eventselect.c:121:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
eventselect.c:159:7: warning: implicit declaration of function 'proc_datafile' is invalid in C99 [-Wimplicit-function-declaration]
      proc_datafile (fileno(stdin));    /* process STDIN */
      ^
9 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include proc_datafile.o eventselect.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o eventselect

MAKING IN etherload
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  bpf.c
bpf.c:50:28: warning: '/*' within block comment [-Wcomment]
/* #include <netinet/in.h>      /* */
                                ^
bpf.c:51:34: warning: '/*' within block comment [-Wcomment]
/* #include <netinet/if_ether.h>        /* */
                                        ^
bpf.c:86:27: warning: comparison between pointer and integer ('int' and 'void *')
  if (!device  || *device == NULL) {
                  ~~~~~~~ ^  ~~~~
bpf.c:101:23: warning: '/*' within block comment [-Wcomment]
    /* error(bpfdev);   /* */
                        ^
bpf.c:239:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if ((cc = read(fd, buf, bufsize)) <= 0)
              ^
5 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  etherload.c
etherload.c:68:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
etherload(secs)
^~~~~~~~~
etherload.c:71:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  register i, cc;
  ~~~~~~~~ ^
etherload.c:71:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  register i, cc;
  ~~~~~~~~    ^
etherload.c:109:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
  if (alarm (secs) < 0) {
      ~~~~~~~~~~~~ ^ ~
etherload.c:161:18: warning: implicit declaration of function 'getpkt' is invalid in C99 [-Wimplicit-function-declaration]
      while ( (c=getpkt(if_stats[i].fd, if_stats[i].typei,
                 ^
etherload.c:185:9: warning: implicit declaration of function 'pkt_process' is invalid in C99 [-Wimplicit-function-declaration]
        (void) pkt_process(pkt, pktlen, if_stats[i].typei);
               ^
etherload.c:220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pkt_process(pkt, pktlen, itype)
^~~~~~~~~~~
etherload.c:240:41: warning: '/*' within block comment [-Wcomment]
  /*    pkt_process_ether(pkt, pktlen); /* */
                                        ^
8 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  dlpi.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:73:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
main.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
main.c:152:57: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
      fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                         ~~             ^~~~~~
                                         %s
main.c:166:3: warning: implicit declaration of function 'nocol_begin' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_begin(argv[optind]);            /* config file as the args */
  ^
main.c:229:32: warning: implicit declaration of function 'setup_device' is invalid in C99 [-Wimplicit-function-declaration]
    if_stats[ninterfaces].fd = setup_device(devlist[i]);
                               ^
main.c:235:2: warning: implicit declaration of function 'get_devtype' is invalid in C99 [-Wimplicit-function-declaration]
        get_devtype(devlist[i], if_stats[ninterfaces].fd);
        ^
main.c:238:7: warning: passing 'u_long *' (aka 'unsigned long *') to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           &(if_stats[ninterfaces].bw)) ;
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./externs.h:47:33: note: passing argument to parameter 'bw' here
char *ndt_namebw(int ndt, long *bw);
                                ^
main.c:286:45: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
               if_stats[i].name, if_stats[i].type, if_stats[i].bw) ;
                                                   ^~~~~~~~~~~~~~
main.c:295:3: warning: implicit declaration of function 'nocol_prep' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_prep();
  ^
main.c:300:5: warning: implicit declaration of function 'etherload' is invalid in C99 [-Wimplicit-function-declaration]
    etherload(scansecs);
    ^
main.c:302:5: warning: implicit declaration of function 'nocol_printstats' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_printstats();
    ^
12 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  nit.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  pfilt.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  snoop.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  linux.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  util.c
util.c:69:3: warning: implicit declaration of function 'nocol_wrapup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_wrapup();                       /* exits  also */
  ^
util.c:95:12: warning: implicit declaration of function 'dostats' is invalid in C99 [-Wimplicit-function-declaration]
    (void) dostats (&if_stats[i]);
           ^
util.c:111:7: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    if_stats[i].readpkts, if_stats[i].readbytes,
                    ^~~~~~~~~~~~~~~~~~~~
util.c:111:29: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    if_stats[i].readpkts, if_stats[i].readbytes,
                                          ^~~~~~~~~~~~~~~~~~~~~
util.c:112:7: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    totaltime, avg_pkt_sz, dropspct, est_total_bytes,
                    ^~~~~~~~~
util.c:112:18: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    totaltime, avg_pkt_sz, dropspct, est_total_bytes,
                               ^~~~~~~~~~
util.c:112:30: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    totaltime, avg_pkt_sz, dropspct, est_total_bytes,
                                           ^~~~~~~~
util.c:112:40: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    totaltime, avg_pkt_sz, dropspct, est_total_bytes,
                                                     ^~~~~~~~~~~~~~~
util.c:113:7: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    pps, kbps, bw);
                    ^~~
util.c:113:12: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    pps, kbps, bw);
                         ^~~~
util.c:113:18: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
                    pps, kbps, bw);
                               ^~
util.c:118:26: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
              if_stats[i].name, totalpkts, dropspct , pps, bw);
                                ^~~~~~~~~
util.c:118:37: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
              if_stats[i].name, totalpkts, dropspct , pps, bw);
                                           ^~~~~~~~
util.c:118:48: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
              if_stats[i].name, totalpkts, dropspct , pps, bw);
                                                      ^~~
util.c:118:53: warning: format specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
              if_stats[i].name, totalpkts, dropspct , pps, bw);
                                                           ^~
util.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dostats(p)
^~~~~~~
util.c:155:42: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
            ctime((time_t *)&(endtime.tv_sec)), bw);
                                                ^~
util.c:185:7: warning: expression result unused [-Wunused-value]
      (char *)strcpy(t, s);
      ^       ~~~~~~~~~~~~
18 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  nocol_specific.c
In file included from nocol_specific.c:40:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
nocol_specific.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nocol_begin(cf_file)
^~~~~~~~~~~
nocol_specific.c:80:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
nocol_specific.c:89:7: warning: implicit declaration of function 'readconfig' is invalid in C99 [-Wimplicit-function-declaration]
  if (readconfig(configfile) == -1)
      ^
nocol_specific.c:92:1: warning: control reaches end of non-void function [-Wreturn-type]
}       /* end nocol_begin() */
^
nocol_specific.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nocol_prep()
^~~~~~~~~~
nocol_specific.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nocol_wrapup()
^~~~~~~~~~~~
nocol_specific.c:205:3: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_done(); /* delete the pid and data files and exit */
  ^
nocol_specific.c:206:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
nocol_specific.c:228:5: warning: implicit declaration of function 'dostats' is invalid in C99 [-Wimplicit-function-declaration]
    dostats (&if_stats[nif]);
    ^
nocol_specific.c:230:42: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
      fprintf(stderr, "BW= %d PPS=%d\n", bw, pps);
                           ~~            ^~
                           %ld
nocol_specific.c:230:46: warning: format specifies type 'int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
      fprintf(stderr, "BW= %d PPS=%d\n", bw, pps);
                                  ~~         ^~~
                                  %ld
nocol_specific.c:249:16: warning: implicit declaration of function 'calc_status' is invalid in C99 [-Wimplicit-function-declaration]
      status = calc_status(value, nif, nvar);
               ^
nocol_specific.c:250:21: warning: implicit declaration of function 'calc_maxseverity' is invalid in C99 [-Wimplicit-function-declaration]
      maxseverity = calc_maxseverity(value, nif, nvar);
                    ^
nocol_specific.c:253:7: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
      update_event(&v, /* up or down */status, value, maxseverity) ;
      ^
nocol_specific.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calc_status(value, nif, nvar)
^~~~~~~~~~~
nocol_specific.c:288:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calc_maxseverity(value, nif, nvar)
^~~~~~~~~~~~~~~~
nocol_specific.c:298:15: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
              value, pnocol_if[nif]->thres[i][nvar]);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nocol_specific.c:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readconfig(cfgfile)
^~~~~~~~~~
nocol_specific.c:475:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
#endif NOCOL
       ^
       //
21 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  get_devlist.c
get_devlist.c:103:15: warning: equality comparison result unused [-Wunused-comparison]
  sdevlist[i] == NULL;  /* terminating NULL */
  ~~~~~~~~~~~~^~~~~~~
get_devlist.c:103:15: note: use '=' to turn this equality comparison into an assignment
  sdevlist[i] == NULL;  /* terminating NULL */
              ^~
              =
1 warning generated.
cc -o etherload -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include bpf.o etherload.o dlpi.o main.o nit.o pfilt.o snoop.o  linux.o util.o nocol_specific.o get_devlist.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol

MAKING IN genmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  genmon.c
In file included from genmon.c:55:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
genmon.c:72:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
genmon.c:96:61: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                             ~~             ^~~~~~
                                             %s
genmon.c:100:11: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
          exit (1);
          ^
genmon.c:100:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
genmon.c:125:7: warning: implicit declaration of function 'mastermode' is invalid in C99 [-Wimplicit-function-declaration]
      mastermode();
      ^
genmon.c:127:7: warning: implicit declaration of function 'slavemode' is invalid in C99 [-Wimplicit-function-declaration]
      slavemode() ;
      ^
genmon.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mastermode()
^~~~~~~~~~
genmon.c:155:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
genmon.c:158:7: warning: implicit declaration of function 'daemonize' is invalid in C99 [-Wimplicit-function-declaration]
      daemonize() ;
      ^
genmon.c:165:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration]
        fatal ("Open failed, exiting...");
        ^
genmon.c:168:26: warning: format string contains '\0' within the string body [-Wformat]
      sprintf(cmd, "%s %s\0", execprogpath, execargs);
                   ~~~~~~^~~
genmon.c:175:7: warning: implicit declaration of function 'dostream' is invalid in C99 [-Wimplicit-function-declaration]
      dostream(cmdf, fd);
      ^
genmon.c:196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
slavemode()
^~~~~~~~~
genmon.c:206:1: warning: control reaches end of non-void function [-Wreturn-type]
}       /* end:  slavemode()  */
^
genmon.c:213:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dostream(fptr, fd)
^~~~~~~~
genmon.c:267:4: warning: implicit declaration of function 'eventlog' is invalid in C99 [-Wimplicit-function-declaration]
          eventlog(pv);
          ^
genmon.c:278:1: warning: control may reach end of non-void function [-Wreturn-type]
}  /* end:  dostream()  */
^
genmon.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
daemonize()
^~~~~~~~~
genmon.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fatal(s)        
^~~~~
genmon.c:322:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();       /* does an exit for us */
    ^
genmon.c:324:1: warning: control reaches end of non-void function [-Wreturn-type]
}               /* fatal()  */
^
22 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include genmon.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o genmon

MAKING IN netconsole
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  build_display.c
In file included from build_display.c:59:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from build_display.c:59:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
build_display.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
build_display ()
^~~~~~~~~~~~~
build_display.c:68:2: warning: implicit declaration of function 'hdr_dpy' is invalid in C99 [-Wimplicit-function-declaration]
        hdr_dpy(aw.whdr);                       /* display header       */
        ^
build_display.c:69:2: warning: implicit declaration of function 'msgtitle_dpy' is invalid in C99 [-Wimplicit-function-declaration]
        msgtitle_dpy(aw.wmsgtitle);             /* display msg title    */
        ^
build_display.c:70:6: warning: implicit declaration of function 'event_dpy' is invalid in C99 [-Wimplicit-function-declaration]
        if (event_dpy() == -1)                  /* resets page number   */
            ^
build_display.c:72:2: warning: implicit declaration of function 'title_dpy' is invalid in C99 [-Wimplicit-function-declaration]
        title_dpy (aw.wtitle, page);            /* variable page number */
        ^
build_display.c:76:10: warning: implicit declaration of function 'msg_dpy' is invalid in C99 [-Wimplicit-function-declaration]
            if (msg_dpy() == -1)
                ^
build_display.c:82:6: warning: implicit declaration of function 'display_screenful' is invalid in C99 [-Wimplicit-function-declaration]
        if (display_screenful() == -1)               /* display */
            ^
build_display.c:85:2: warning: implicit declaration of function 'parse_input' is invalid in C99 [-Wimplicit-function-declaration]
        parse_input(poll_input());              /* process user input   */
        ^
build_display.c:85:14: warning: implicit declaration of function 'poll_input' is invalid in C99 [-Wimplicit-function-declaration]
        parse_input(poll_input());              /* process user input   */
                    ^
build_display.c:97:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
title_dpy(wtitle,screen)                        /* Main title           */
^~~~~~~~~
build_display.c:105:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
    strncpy (ptime, ctime ((long *)&stamp), 26);
    ^
build_display.c:105:5: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
build_display.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hdr_dpy(whdr)                                   /* field headers        */
^~~~~~~
build_display.c:124:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
msgtitle_dpy(wmsgtitle)                         /* Messages title       */
^~~~~~~~~~~~
build_display.c:150:5: warning: implicit declaration of function 'show_display_level' is invalid in C99 [-Wimplicit-function-declaration]
    show_display_level(wmsgtitle, level);       /* on first line of win */
    ^
build_display.c:161:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_display_level(wmsgtitle,level)             /* on first line of win */
^~~~~~~~~~~~~~~~~~
build_display.c:183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
aprompt_dpy (wprompt)           /* Prompt at end of a full screen       */
^~~~~~~~~~~
build_display.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bprompt_dpy (wprompt)      /* Prompt after displaying all files         */
^~~~~~~~~~~
build_display.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
display_screenful ()
^~~~~~~~~~~~~~~~~
21 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  event_dpy.c
In file included from event_dpy.c:48:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from event_dpy.c:48:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
event_dpy.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
event_dpy ()
^~~~~~~~~
event_dpy.c:72:9: warning: implicit declaration of function 'fill_window' is invalid in C99 [-Wimplicit-function-declaration]
    if (fill_window(aw.wevent, datadirp, datadir, &datafd, display_one_event))
        ^
event_dpy.c:79:6: warning: implicit declaration of function 'Beep' is invalid in C99 [-Wimplicit-function-declaration]
            Beep() ;                            /* Beep once at end     */
            ^
event_dpy.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
display_one_event(fd, wevent)
^~~~~~~~~~~~~~~~~
event_dpy.c:140:6: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration]
        if (bcmp(&v, &null_event, sizeof(v)) != 0)      /* not null 'v' */
            ^
event_dpy.c:142:10: warning: implicit declaration of function 'nocolfilter' is invalid in C99 [-Wimplicit-function-declaration]
            if (nocolfilter(&v))
                ^
event_dpy.c:167:40: warning: '/*' within block comment [-Wcomment]
/*                  wprintw (wevent, "%s", bolds);      /* bold string */
                                                        ^
event_dpy.c:173:9: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
                      tputs(bolde, 1, outchar) ;
                      ^
event_dpy.c:174:40: warning: '/*' within block comment [-Wcomment]
/*                  wprintw (wevent, "%s", bolde);      /* turn off bolding */
                                                        ^
event_dpy.c:195:30: warning: '/*' within block comment [-Wcomment]
/*              if (wevent->_curx > 10)         /* else wrapped line */
                                                ^
event_dpy.c:210:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Beep()
^~~~
event_dpy.c:215:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
15 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  fill_window.c
In file included from fill_window.c:39:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from fill_window.c:39:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
fill_window.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fill_window(win, dirp, dir, pcurfd, dpy_func)
^~~~~~~~~~~
fill_window.c:72:8: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
          if (strcmp(direntry->d_name, "core") == 0)
              ^
fill_window.c:72:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
5 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  filter.c
In file included from filter.c:73:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from filter.c:73:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
3 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  help_page.c
In file included from help_page.c:34:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from help_page.c:34:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
help_page.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help_page()
^~~~~~~~~
help_page.c:53:5: warning: implicit declaration of function 'help_title' is invalid in C99 [-Wimplicit-function-declaration]
    help_title(hwin, i) ;                       /* display fancy title  */
    ^
help_page.c:67:27: warning: implicit declaration of function 'fdgets' is invalid in C99 [-Wimplicit-function-declaration]
        while (!(WFULL(hwin)) && fdgets(buffer, MAXLINE, fd) != 0)
                                 ^
help_page.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help_title(hwin, hpage)
^~~~~~~~~~
help_page.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fdgets(buf, bufsiz, fd)
^~~~~~
help_page.c:116:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register n, i = 0;
    ~~~~~~~~ ^
help_page.c:116:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    register n, i = 0;
    ~~~~~~~~    ^
10 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  msg_dpy.c
In file included from msg_dpy.c:50:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from msg_dpy.c:50:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
msg_dpy.c:52:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
msg_dpy ()
^~~~~~~
msg_dpy.c:71:9: warning: implicit declaration of function 'fill_window' is invalid in C99 [-Wimplicit-function-declaration]
    if (fill_window(aw.wmsg, msgdirp, MSGSDIR, &msgfd, display_one_msg))
        ^
msg_dpy.c:97:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
display_one_msg(fd, wmsg)
^~~~~~~~~~~~~~~
6 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  netconsole.c
In file included from netconsole.c:84:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from netconsole.c:84:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
netconsole.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
netconsole.c:156:3: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
         strncpy(term, optarg, sizeof(term));   /* cmd line term type */
         ^
netconsole.c:156:3: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
netconsole.c:182:9: warning: implicit declaration of function 'setuserenviron' is invalid in C99 [-Wimplicit-function-declaration]
    if (setuserenviron(term) == -1)     /* check the user environment   */
        ^
netconsole.c:188:5: warning: implicit declaration of function 'all_doer' is invalid in C99 [-Wimplicit-function-declaration]
    all_doer();                         /* the main do'er       */
    ^
netconsole.c:196:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
    usage ();                                   /* No 'endwin' here */
    ^
netconsole.c:210:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^~~~~
netconsole.c:239:9: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration]
    if (ioctl(1, TIOCGWINSZ, (char *) &win) == 0 )
        ^
netconsole.c:251:2: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration]
        tputs(clscr, 1, outchar);       /* clear the screen */
        ^
netconsole.c:260:5: warning: implicit declaration of function 'setup_display' is invalid in C99 [-Wimplicit-function-declaration]
    setup_display() ;
    ^
netconsole.c:261:5: warning: implicit declaration of function 'display_screenful' is invalid in C99 [-Wimplicit-function-declaration]
    display_screenful() ;               /* put stuff back on screen */
    ^
netconsole.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
all_doer()
^~~~~~~~
netconsole.c:289:13: warning: implicit declaration of function 'build_display' is invalid in C99 [-Wimplicit-function-declaration]
    return (build_display());           /* Display all files forever    */
            ^
15 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  parse_input.c
In file included from parse_input.c:37:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from parse_input.c:37:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
parse_input.c:40:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
parse_input(response)
^~~~~~~~~~~
parse_input.c:54:2: warning: implicit declaration of function 'all_doer' is invalid in C99 [-Wimplicit-function-declaration]
        all_doer();
        ^
parse_input.c:64:2: warning: implicit declaration of function 'display_screenful' is invalid in C99 [-Wimplicit-function-declaration]
        display_screenful() ;
        ^
parse_input.c:77:2: warning: implicit declaration of function 'msgtitle_dpy' is invalid in C99 [-Wimplicit-function-declaration]
        msgtitle_dpy(aw.wmsgtitle);             /* To indicate frozen   */
        ^
parse_input.c:93:2: warning: implicit declaration of function 'done' is invalid in C99 [-Wimplicit-function-declaration]
        done ();
        ^
parse_input.c:97:2: warning: implicit declaration of function 'help_page' is invalid in C99 [-Wimplicit-function-declaration]
        help_page();
        ^
parse_input.c:116:2: warning: implicit declaration of function 'read_filter' is invalid in C99 [-Wimplicit-function-declaration]
        read_filter();
        ^
10 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  poll_input.c
In file included from poll_input.c:41:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from poll_input.c:41:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
poll_input.c:47:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_input ()
^~~~~~~~~~
4 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  read_filter.c
In file included from read_filter.c:34:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from read_filter.c:34:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
read_filter.c:45:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
read_filter()
^~~~~~~~~~~
read_filter.c:66:5: warning: implicit declaration of function 'get_filter' is invalid in C99 [-Wimplicit-function-declaration]
    get_filter(npatwin, pattern, strlen(pattern));
    ^
read_filter.c:87:3: warning: implicit declaration of function 'compile_pattern' is invalid in C99 [-Wimplicit-function-declaration]
  compile_pattern(pattern);                     /* Defined in filter.c */
  ^
read_filter.c:89:1: warning: control reaches end of non-void function [-Wreturn-type]
}                       /* end:   read_filter */
^
read_filter.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_filter(w, pat, patlen)
^~~~~~~~~~
read_filter.c:140:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
9 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  setup_display.c
In file included from setup_display.c:34:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from setup_display.c:34:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
setup_display.c:36:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setup_display()
^~~~~~~~~~~~~
setup_display.c:50:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit (1);
        ^
setup_display.c:50:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
setup_display.c:53:9: warning: implicit declaration of function 'compute_window_sizes' is invalid in C99 [-Wimplicit-function-declaration]
    if (compute_window_sizes() == -1)
        ^
setup_display.c:59:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
    bzero(&aw, sizeof(aw));
    ^
setup_display.c:59:5: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
setup_display.c:61:5: warning: implicit declaration of function 'create_sub_windows' is invalid in C99 [-Wimplicit-function-declaration]
    create_sub_windows (aw.wmain) ;             /* create all sub-wins  */
    ^
setup_display.c:66:1: warning: control may reach end of non-void function [-Wreturn-type]
}                                               /* end: setup_display() */
^
setup_display.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
compute_window_sizes()
^~~~~~~~~~~~~~~~~~~~
setup_display.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
create_sub_windows (wmain)
^~~~~~~~~~~~~~~~~~
11 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -DMSGSDIR=\"/var/run/msgs\"  -DHELPFILE=\"/usr/pkg/etc/netconsole-help\" -c  utils.c
In file included from utils.c:20:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:11:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from utils.c:20:
/scratch/net/nocol/work/nocol-4.3.1/include/netconsole.h:94:19: warning: '/*' within block comment [-Wcomment]
/* #define NETLOG       /* */
                        ^
utils.c:60:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
    if (strlen(prompt) > 70)                            /* long string  */
        ^
utils.c:60:9: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
utils.c:77:6: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
            strncpy(reply, deflt, sizeof(reply) - 1) ;
            ^
utils.c:77:6: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
utils.c:91:25: warning: implicit declaration of function 'classify' is invalid in C99 [-Wimplicit-function-declaration]
        register int ch_type = classify(*r) ;
                               ^
utils.c:114:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
classify (c)
^~~~~~~~
utils.c:152:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setuserenviron (term)
^~~~~~~~~~~~~~
utils.c:159:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
    bzero(termtype, sizeof (termtype)) ;
    ^
utils.c:159:5: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
utils.c:161:7: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
      strcpy (termtype, (char *)getenv("TERM"));       /* retrieve TERM type */
      ^
utils.c:161:7: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
utils.c:165:9: warning: implicit declaration of function 'check_terminal' is invalid in C99 [-Wimplicit-function-declaration]
    if (check_terminal(termtype) == -1)         /* Extract terminal type */
        ^
utils.c:168:30: warning: format string contains '\0' within the string body [-Wformat]
    sprintf (newvar, "TERM=%s\0",(char *)termtype);
                     ~~~~~~~~^~~
utils.c:175:10: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration]
    if ( tgetent(bp, termtype) != 1 )           /* some error   */
         ^
utils.c:193:1: warning: control may reach end of non-void function [-Wreturn-type]
}       /* end setuserenviron   */
^
utils.c:202:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_terminal(ptermtype)
^~~~~~~~~~~~~~
utils.c:211:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
      if (strcmp (*p, ptermtype) == 0)
          ^
utils.c:211:11: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
utils.c:289:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outchar(c)
^~~~~~~
utils.c:293:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
18 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include build_display.o event_dpy.o fill_window.o filter.o  help_page.o  msg_dpy.o netconsole.o parse_input.o  poll_input.o read_filter.o setup_display.o utils.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -lcurses -ltermcap -o netconsole

MAKING IN noclog
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/usr/pkg/etc\" -DPIDDIR=\"/var/run\"   -DNLOG_HOST=\"build-nb51-i386.bec.de\" -c  noclogd.c
In file included from noclogd.c:46:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/noclogd.h:18:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
noclogd.c:107:54: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                             ~~             ^~~~~~
                                             %s
noclogd.c:129:7: warning: implicit declaration of function 'daemonize' is invalid in C99 [-Wimplicit-function-declaration]
      daemonize();                      /* this opens the error file also */
      ^
noclogd.c:133:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, NULL);   /* datafile not really needed */
    ^
noclogd.c:140:5: warning: implicit declaration of function 'openlogfiles' is invalid in C99 [-Wimplicit-function-declaration]
    openlogfiles();
    ^
noclogd.c:147:5: warning: implicit declaration of function 'serve' is invalid in C99 [-Wimplicit-function-declaration]
    serve();
    ^
noclogd.c:158:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
serve()
^~~~~
noclogd.c:169:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration]
        fatal("serve(): network socket() failed");
        ^
noclogd.c:173:32: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
               (char *)&sockbuffsize, &optlen);
                                      ^~~~~~~
/usr/include/sys/socket.h:617:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
noclogd.c:188:6: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                   &optlen);
                   ^~~~~~~
/usr/include/sys/socket.h:617:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
noclogd.c:214:6: warning: implicit declaration of function 'rereadconfig' is invalid in C99 [-Wimplicit-function-declaration]
            rereadconfig();
            ^
noclogd.c:236:4: warning: implicit declaration of function 'readevent' is invalid in C99 [-Wimplicit-function-declaration]
          readevent(inetfd);
          ^
noclogd.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readevent(fd)
^~~~~~~~~
noclogd.c:266:34: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                 (struct sockaddr *)&frominet, &len );
                                               ^~~~
/usr/include/sys/socket.h:623:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
noclogd.c:290:11: warning: implicit declaration of function 'authenticate_host' is invalid in C99 [-Wimplicit-function-declaration]
    if (! authenticate_host(&frominet))
          ^
noclogd.c:353:1: warning: control may reach end of non-void function [-Wreturn-type]
}       /* end readevent() */
^
noclogd.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
authenticate_host(peer)
^~~~~~~~~~~~~~~~~
noclogd.c:437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
openlogfiles()
^~~~~~~~~~~~
noclogd.c:478:6: warning: implicit declaration of function 'warning_int' is invalid in C99 [-Wimplicit-function-declaration]
            warning_int("config line %d: no severity string, ignoring...\n",
            ^
noclogd.c:506:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
noclogd.c:511:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rereadconfig()
^~~~~~~~~~~~
noclogd.c:541:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
noclogd.c:549:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
daemonize()
^~~~~~~~~
noclogd.c:588:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fatal(msg)
^~~~~
noclogd.c:613:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
warning_int(format, num)
^~~~~~~~~~~
noclogd.c:626:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
27 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include noclogd.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o noclogd

MAKING IN nsmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:79:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from main.c:82:
/scratch/net/nocol/work/nocol-4.3.1/include/nsmon.h:22:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "nsmon"                         /* */
                                                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/nsmon.h:23:48: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/nsmon-confg"         /* */
                                                        ^
main.c:116:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
main.c:151:28: warning: format string contains '\0' within the string body [-Wformat]
      sprintf(datafile, "%s\0", optarg) ;
                        ~~~^~~
main.c:155:58: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
      fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                          ~~             ^~~~~~
                                          %s
main.c:156:7: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
      help() ;
      ^
main.c:168:25: warning: format string contains '\0' within the string body [-Wformat]
        sprintf(configfile, "%s\0", av[optind]) ;
                            ~~~^~~
main.c:178:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
main.c:189:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* Event logging */
    ^
main.c:190:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
main.c:205:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
main.c:221:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
main.c:229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
main.c:264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, configfile)
^~~~~~~~~~
main.c:310:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
main.c:436:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
main.c:469:5: warning: '/*' within block comment [-Wcomment]
    /*      switch(nsmon(v.site.addr, querydata, QUERYCLASS, QUERYTYPE,
    ^
main.c:472:12: warning: implicit declaration of function 'nsmon' is invalid in C99 [-Wimplicit-function-declaration]
    switch(nsmon(v.site.addr, node->domain, 
           ^
main.c:501:7: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
      update_event(&v, status, /* VALUE */ (u_long)status, maxseverity);
      ^
21 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  nsmon.c
In file included from nsmon.c:39:
/scratch/net/nocol/work/nocol-4.3.1/include/nsmon.h:22:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "nsmon"                         /* */
                                                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/nsmon.h:23:48: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/nsmon-confg"         /* */
                                                        ^
nsmon.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nsmon (server, request, class, type, timeout, aa_only, debug)
^~~~~
nsmon.c:67:32: warning: '/*' within block comment [-Wcomment]
/*  extern struct state _res;           /* defined in resolv.h */
                                        ^
nsmon.c:71:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
  bzero(psin, sizeof (*psin));
  ^
nsmon.c:71:3: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
nsmon.c:74:7: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
  if (isdigit (*server))
      ^
nsmon.c:75:29: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
    psin->sin_addr.s_addr = inet_addr(server);
                            ^
nsmon.c:86:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
      bcopy ((char *)thp->h_addr, (char *)&(psin->sin_addr), thp->h_length) ;
      ^
nsmon.c:95:7: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
      inet_ntoa(_res.nsaddr.sin_addr), ntohs(_res.nsaddr.sin_port));
      ^
nsmon.c:95:7: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
      inet_ntoa(_res.nsaddr.sin_addr), ntohs(_res.nsaddr.sin_port));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nsmon.c:102:34: warning: '/*' within block comment [-Wcomment]
/*  _res.options |= RES_USEVC ;         /* use TCP and not UDP */
                                        ^
nsmon.c:127:5: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  (char *)NULL, 0, NULL, (char *)buf, sizeof(buf));
                  ^~~~~~~~~~~~
/usr/include/resolv.h:327:61: note: passing argument to parameter here
int             res_mkquery(int, const char *, int, int, const u_char *,
                                                                       ^
nsmon.c:127:28: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                  (char *)NULL, 0, NULL, (char *)buf, sizeof(buf));
                                         ^~~~~~~~~~~
/usr/include/resolv.h:328:35: note: passing argument to parameter here
                                 int, const u_char *, u_char *, int);
                                                              ^
nsmon.c:147:16: warning: passing 'char [1024]' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  n = res_send(buf, n, answer, sizeof(answer) ) ;
               ^~~
/usr/include/resolv.h:333:29: note: passing argument to parameter here
int             res_send(const u_char *, int, u_char *, int);
                                       ^
nsmon.c:147:24: warning: passing 'char [1024]' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  n = res_send(buf, n, answer, sizeof(answer) ) ;
                       ^~~~~~
/usr/include/resolv.h:333:44: note: passing argument to parameter here
int             res_send(const u_char *, int, u_char *, int);
                                                      ^
15 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include main.o nsmon.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o nsmon

MAKING IN ntpmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:30:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
main.c:61:27: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)'
    if ((sender = (char *)strrchr (prognm , '/')) == NULL)
                          ^
main.c:61:27: note: please include the header <string.h> or explicitly provide a declaration for 'strrchr'
main.c:80:2: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
        help() ;
        ^
main.c:98:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
main.c:109:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* Event logging */
    ^
main.c:110:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
main.c:121:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
main.c:136:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
main.c:173:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
    bzero (&v, sizeof(v)) ;
    ^
main.c:173:5: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
main.c:184:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
    strncpy (v.sender, sender, sizeof(v.sender) - 1);
    ^
main.c:184:5: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
main.c:192:9: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
  while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
        ^
main.c:204:9: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)'
    if (strncasecmp(w1, "POLLINTERVAL", 8) == 0)
        ^
main.c:204:9: note: please include the header <strings.h> or explicitly provide a declaration for 'strncasecmp'
main.c:261:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
main.c:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
main.c:295:14: warning: implicit declaration of function 'ntpmon' is invalid in C99 [-Wimplicit-function-declaration]
   stratum = ntpmon(v.site.addr);
             ^
main.c:296:13: warning: implicit declaration of function 'calc_status' is invalid in C99 [-Wimplicit-function-declaration]
   status = calc_status(stratum, curnode->wlevel, curnode->elevel, 
            ^
main.c:306:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
   update_event(&v, status, /* VALUE */ stratum, maxseverity);
   ^
main.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help()
^~~~
main.c:380:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.c:408:24: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
    t = (char *)malloc(strlen(s) + 1);
                       ^
main.c:408:24: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
main.c:410:15: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
      (char *)strcpy(t, s);
              ^
main.c:410:15: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
main.c:410:7: warning: expression result unused [-Wunused-value]
      (char *)strcpy(t, s);
      ^       ~~~~~~~~~~~~
23 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  ntpmon.c
ntpmon.c:47:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ntpmon(host)
^~~~~~
ntpmon.c:83:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(sockfd);
    ^
ntpmon.c:88:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
  if (write(sockfd, &qpkt, pktsize) == -1) {
      ^
ntpmon.c:95:17: warning: implicit declaration of function 'get_response' is invalid in C99 [-Wimplicit-function-declaration]
  if((stratum = get_response(sockfd, sequence, TIMEOUT)) < 0 )
                ^
ntpmon.c:127:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
  bzero(&rpkt, sizeof(rpkt));
  ^
ntpmon.c:127:3: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
ntpmon.c:153:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    if ( (n = read(sockfd, &rpkt, sizeof(rpkt)) ) <= 0 )
              ^
ntpmon.c:189:50: warning: '/*' within block comment [-Wcomment]
    /* write(2, rpkt.data, ntohs(rpkt.count));   /* dump pkt to stderr */
                                                 ^
ntpmon.c:195:23: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)'
  if ( (loc = (char *)strstr(rpkt.data, "stratum=")) == NULL )
                      ^
ntpmon.c:195:23: note: please include the header <string.h> or explicitly provide a declaration for 'strstr'
ntpmon.c:195:30: warning: passing 'u_char [500]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ( (loc = (char *)strstr(rpkt.data, "stratum=")) == NULL )
                             ^~~~~~~~~
ntpmon.c:198:16: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
  sscanf(loc + strlen("stratum="), "%d", &stratum);     /* */
               ^
ntpmon.c:198:16: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
ntpmon.c:199:26: warning: '/*' within block comment [-Wcomment]
  /* *(loc + 10) = '\0';        /* End string after "stratum=nn" */
                                ^
ntpmon.c:200:48: warning: '/*' within block comment [-Wcomment]
  /* stratum = atoi(loc + strlen("stratum="));  /* */
                                                ^
ntpmon.c:220:36: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
  addr->sin_addr.s_addr = (u_long) inet_addr(host);
                                   ^
ntpmon.c:227:5: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
    bcopy((char *)hp->h_addr, (char *)&(addr->sin_addr), hp->h_length);
    ^
14 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include main.o ntpmon.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o ntpmon

MAKING IN perlnocol
----------
Making snmpwalk under /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/snmpapps
creating cache ./config.cache
-r
netbsd6.99.15 ld.so
creating libtool
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -I/usr/include -c snmpwalk.c
In file included from snmpwalk.c:61:
In file included from /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp.h:60:
/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp_api.h:154:56: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
DLLEXPORT int snmp_select_info(int *, fd_set *, struct timeval *, int *);
                                                       ^
/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp_api.h:240:49: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
                                         struct timeval *, int *);
                                                ^
2 warnings generated.
cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -DCMU_SNMPAPPS_VERSION="\"`head -1 VERSION`\"" -c version.c -o version.o
/bin/sh ./libtool cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -o snmpwalk snmpwalk.o version.o -rpath /usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib -lsnmp
cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -o snmpwalk snmpwalk.o version.o -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib -lsnmp -Wl,--rpath -Wl,/usr/pkg/lib
cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -I/usr/include -c snmpget.c
In file included from snmpget.c:62:
In file included from /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp.h:60:
/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp_api.h:154:56: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
DLLEXPORT int snmp_select_info(int *, fd_set *, struct timeval *, int *);
                                                       ^
/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include/snmp/snmp_api.h:240:49: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
                                         struct timeval *, int *);
                                                ^
2 warnings generated.
/bin/sh ./libtool cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -o snmpget snmpget.o version.o -rpath /usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib -lsnmp
cc -O2 -I/usr/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -I. -DHAVE_CONFIG_H -o snmpget snmpget.o version.o -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/pkg/lib -L/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib -lsnmp -Wl,--rpath -Wl,/usr/pkg/lib
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DTEST -c  show_nocol_struct_sizes.c
In file included from show_nocol_struct_sizes.c:43:
./../include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
./../include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
show_nocol_struct_sizes.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
show_nocol_struct_sizes.c:93:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  sprintf(tstr, "a%d x ", S(v.sender) - 1);
                  ~~      ^~~~~~~~~~~~~~~
                  %ld
show_nocol_struct_sizes.c:73:14: note: expanded from macro 'S'
#define S(x)    sizeof(x)
                ^~~~~~~~~
show_nocol_struct_sizes.c:94:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
  strcat(str, tstr);
  ^
show_nocol_struct_sizes.c:94:3: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
show_nocol_struct_sizes.c:97:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  sprintf(tstr, "a%d x ", S(v.site.name) - 1); strcat(str, tstr);
                  ~~      ^~~~~~~~~~~~~~~~~~
                  %ld
show_nocol_struct_sizes.c:73:14: note: expanded from macro 'S'
#define S(x)    sizeof(x)
                ^~~~~~~~~
show_nocol_struct_sizes.c:100:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  sprintf(tstr, "a%d x ", S(v.site.addr) - 1); strcat(str, tstr);
                  ~~      ^~~~~~~~~~~~~~~~~~
                  %ld
show_nocol_struct_sizes.c:73:14: note: expanded from macro 'S'
#define S(x)    sizeof(x)
                ^~~~~~~~~
show_nocol_struct_sizes.c:103:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  sprintf(tstr, "a%d x ", S(v.var.name) - 1); strcat(str, tstr);
                  ~~      ^~~~~~~~~~~~~~~~~
                  %ld
show_nocol_struct_sizes.c:73:14: note: expanded from macro 'S'
#define S(x)    sizeof(x)
                ^~~~~~~~~
show_nocol_struct_sizes.c:112:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  sprintf(tstr, "a%d x ", S(v.var.units) - 1);  strcat(str, tstr);
                  ~~      ^~~~~~~~~~~~~~~~~~
                  %ld
show_nocol_struct_sizes.c:73:14: note: expanded from macro 'S'
#define S(x)    sizeof(x)
                ^~~~~~~~~
9 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  show_nocol_struct_sizes.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o show_nocol_struct_sizes
PERLNOCOL modules
 Doing substitutions for PERL, ROOTDIR, PIDDIR, NLOG_HOST, PING on: 
  apcmon  armon  bgpmon  bpmon  ciscomon  modemmon  novellmon  nrmon  nocollib.pl  hostmon  hostmon-osclients/hostmon-client  smbmon  sqlmon  upsmon  snmpmon  snmpmon-client  snmpgeneric  syslogmon  rcisco  testlog

MAKING IN pingmon
----------
rm -f IFCpingmon
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DIPPING='"/usr/pkg/bin/multiping"'  -c  pingmon.c
In file included from pingmon.c:39:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from pingmon.c:39:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:22:23: warning: '/*' within block comment [-Wcomment]
/* # define MULTIPING   /* define if you are using support/multiping */
                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
pingmon.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
pingmon.c:92:55: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                              ~~             ^~~~~~
                                              %s
pingmon.c:93:4: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
          help() ;
          ^
pingmon.c:113:2: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
        nocol_done();
        ^
pingmon.c:116:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
pingmon.c:123:23: warning: '/*' within block comment [-Wcomment]
/*    setjmp (env);                     /* Save the environment in case */
                                        ^
pingmon.c:128:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* for logging */
    ^
pingmon.c:136:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
pingmon.c:143:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
pingmon.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
pingmon.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, configfile)
^~~~~~~~~~
pingmon.c:231:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
pingmon.c:245:36: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
            pollinterval = (u_long)strtol(w2, &p, 0) ;
                                   ^
pingmon.c:279:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
            exit (1) ;
            ^
pingmon.c:279:6: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
19 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DIPPING='"/usr/pkg/bin/multiping"'  -c  poll_sites.c
In file included from poll_sites.c:77:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from poll_sites.c:77:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:22:23: warning: '/*' within block comment [-Wcomment]
/* # define MULTIPING   /* define if you are using support/multiping */
                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
poll_sites.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
poll_sites.c:125:8: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
              strcat(strcat(sites, " "), v[numsites].site.addr);
              ^
poll_sites.c:125:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
poll_sites.c:168:45: warning: format string contains '\0' within the string body [-Wformat]
        sprintf(pingcmd, "%s -qtnc %d -s %d %s | %s\0",
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
poll_sites.c:233:8: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
          n = fgetLine(p_cmd, line, sizeof (line));
              ^
poll_sites.c:278:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
          update_event(&(v[i]), status, /* VALUE */ (u_long)recv, maxseverity);
          ^
10 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include pingmon.o poll_sites.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -DMULTIPING -DIPPING='"/usr/pkg/bin/multiping"'  -o pingmon
 ======== Made IP version of pingmon ========

cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DOSIPING='"/usr/sunlink/bin/osiping"'  -c  pingmon.c
In file included from pingmon.c:39:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from pingmon.c:39:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
pingmon.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
pingmon.c:92:55: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                              ~~             ^~~~~~
                                              %s
pingmon.c:93:4: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
          help() ;
          ^
pingmon.c:113:2: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
        nocol_done();
        ^
pingmon.c:116:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
pingmon.c:123:23: warning: '/*' within block comment [-Wcomment]
/*    setjmp (env);                     /* Save the environment in case */
                                        ^
pingmon.c:128:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* for logging */
    ^
pingmon.c:136:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
pingmon.c:143:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
pingmon.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
pingmon.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, configfile)
^~~~~~~~~~
pingmon.c:231:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
pingmon.c:245:36: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
            pollinterval = (u_long)strtol(w2, &p, 0) ;
                                   ^
pingmon.c:279:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
            exit (1) ;
            ^
pingmon.c:279:6: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
18 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DOSIPING='"/usr/sunlink/bin/osiping"'  -c  poll_sites.c
In file included from poll_sites.c:77:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from poll_sites.c:77:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
poll_sites.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
poll_sites.c:125:8: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
              strcat(strcat(sites, " "), v[numsites].site.addr);
              ^
poll_sites.c:125:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
poll_sites.c:210:38: warning: format string contains '\0' within the string body [-Wformat]
        sprintf(pingcmd,"%s -s %s %d %d | %s\0",
                        ~~~~~~~~~~~~~~~~~~~~^~~
poll_sites.c:233:8: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
          n = fgetLine(p_cmd, line, sizeof (line));
              ^
poll_sites.c:266:5: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
                         NPACKETS, sent);
                         ^~~~~~~~
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:63:18: note: expanded from macro 'NPACKETS'
#define NPACKETS        10      /* Number of ping packets sent */
                        ^~
poll_sites.c:265:61: warning: more '%' conversions than data arguments [-Wformat]
                fprintf (stderr,"ERROR %s: (poll_sites) Sent %d != recvd %d\n",
                                                                         ~^
poll_sites.c:278:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
          update_event(&(v[i]), status, /* VALUE */ (u_long)recv, maxseverity);
          ^
11 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include pingmon.o poll_sites.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -DMULTIPING -DOSIPING='"/usr/sunlink/bin/osiping"'  -o pingmon
 ======== Made OSI version of pingmon ========

cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DRPCPING='"/usr/pkg/bin/rpcping"'  -c  pingmon.c
In file included from pingmon.c:39:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from pingmon.c:39:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
pingmon.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
pingmon.c:92:55: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                              ~~             ^~~~~~
                                              %s
pingmon.c:93:4: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
          help() ;
          ^
pingmon.c:113:2: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
        nocol_done();
        ^
pingmon.c:116:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
pingmon.c:123:23: warning: '/*' within block comment [-Wcomment]
/*    setjmp (env);                     /* Save the environment in case */
                                        ^
pingmon.c:128:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* for logging */
    ^
pingmon.c:136:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
pingmon.c:143:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
pingmon.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
pingmon.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, configfile)
^~~~~~~~~~
pingmon.c:231:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
pingmon.c:245:36: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
            pollinterval = (u_long)strtol(w2, &p, 0) ;
                                   ^
pingmon.c:279:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
            exit (1) ;
            ^
pingmon.c:279:6: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
18 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DRPCPING='"/usr/pkg/bin/rpcping"'  -c  poll_sites.c
In file included from poll_sites.c:77:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:8:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from poll_sites.c:77:
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:52:30: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "pingmon"               /* */
                                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/pingmon.h:53:43: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/ipnodes"     /* in ETCDIR */
                                                ^
poll_sites.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
poll_sites.c:125:8: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)'
              strcat(strcat(sites, " "), v[numsites].site.addr);
              ^
poll_sites.c:125:8: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
poll_sites.c:199:31: warning: format string contains '\0' within the string body [-Wformat]
        sprintf(pingcmd, "%s -t %d %s\0", ping, RPCTIMEOUT, sites);
                         ~~~~~~~~~~~~^~~
poll_sites.c:233:8: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
          n = fgetLine(p_cmd, line, sizeof (line));
              ^
poll_sites.c:235:8: warning: implicitly declaring library function 'strstr' with type 'char *(const char *, const char *)'
          if (strstr(line, "is running"))       /* output from rpcping */
              ^
poll_sites.c:235:8: note: please include the header <string.h> or explicitly provide a declaration for 'strstr'
poll_sites.c:278:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
          update_event(&(v[i]), status, /* VALUE */ (u_long)recv, maxseverity);
          ^
10 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include pingmon.o poll_sites.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -DMULTIPING -DRPCPING='"/usr/pkg/bin/rpcping"'  -o pingmon
 ======== Made RPC version of pingmon ========


MAKING IN portmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  portmon.c
portmon.c:1:19: warning: '/*' within block comment [-Wcomment]
/* #define DEBUG                /* */
                                ^
In file included from portmon.c:85:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/portmon.h:6:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from portmon.c:85:
/scratch/net/nocol/work/nocol-4.3.1/include/portmon.h:26:56: warning: '/*' within block comment [-Wcomment]
/* # define CONFIGFILE       "../../etc/portmon-confg"  /* in ETCDIR */
                                                        ^
portmon.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(ac, av)
^~~~
portmon.c:140:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
portmon.c:146:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
portmon.c:149:7: warning: implicit declaration of function 'readconfig' is invalid in C99 [-Wimplicit-function-declaration]
  if (readconfig(fdout) == -1)
      ^
portmon.c:171:11: warning: implicit declaration of function 'checkports' is invalid in C99 [-Wimplicit-function-declaration]
      if (checkports(harray, i) == -1)  /* fills status and testseverity */
          ^
portmon.c:184:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
          update_event(&v, harray[i]->status,
          ^
portmon.c:215:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
checkports(hv, nhosts)
^~~~~~~~~~
portmon.c:225:20: error: non-void function 'checkports' should return a value [-Wreturn-type]
  if (nhosts <= 0) return;
                   ^
portmon.c:251:9: warning: implicit declaration of function 'NBconnect' is invalid in C99 [-Wimplicit-function-declaration]
    if (NBconnect(sockarray[i], hv[i]->ipaddr, hv[i]->port) < 0 &&
        ^
portmon.c:324:10: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                       &len) < 0 || error != 0)
                       ^~~~
/usr/include/sys/socket.h:617:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
portmon.c:345:6: warning: implicit declaration of function 'send_hoststring' is invalid in C99 [-Wimplicit-function-declaration]
            send_hoststring(sockarray[i], hv[i]);
            ^
portmon.c:348:11: warning: implicit declaration of function 'process_host' is invalid in C99 [-Wimplicit-function-declaration]
            if ( process_host(sockarray[i], hv[i]) == 1 )
                 ^
portmon.c:383:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
send_hoststring(sock, h)
^~~~~~~~~~~~~~~
portmon.c:393:40: warning: '/*' within block comment [-Wcomment]
/*  sflags = fcntl(sock, F_GETFL, 0);           /*  */
                                                ^
portmon.c:394:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags ^ O_NONBLOCK);  /* set blocking */
                                                ^
portmon.c:395:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags | O_NONBLOCK);  /* set nonblocking */
                                                ^
portmon.c:444:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
process_host(sock, h)
^~~~~~~~~~~~
portmon.c:457:40: warning: '/*' within block comment [-Wcomment]
/*  sflags = fcntl(sock, F_GETFL, 0);           /*  */
                                                ^
portmon.c:458:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags ^ O_NONBLOCK);  /* set blocking */
                                                ^
portmon.c:459:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags | O_NONBLOCK);  /* set nonblocking */
                                                ^
portmon.c:520:12: warning: implicit declaration of function 'check_resp' is invalid in C99 [-Wimplicit-function-declaration]
  maxsev = check_resp(h->readbuf, h->responselist);
           ^
portmon.c:540:55: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
        fprintf(stderr,"  (debug) elapsed time= %ld secs\n", h->elapsedsecs);
                                                ~~~          ^~~~~~~~~~~~~~
                                                %d
portmon.c:568:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_resp(readstr, resarr)
^~~~~~~~~~
portmon.c:617:7: warning: expression result unused [-Wunused-value]
      (char *)strcpy(t, s);
      ^       ~~~~~~~~~~~~
portmon.c:692:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readconfig(fdout)
^~~~~~~~~~
portmon.c:733:9: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
  while(fgetLine(cfd, record, MAXLINE - 3) > 0 )        /* keeps the \n */
        ^
portmon.c:822:22: warning: more '%' conversions than data arguments [-Wformat]
          fprintf(stderr, "%s: missing QUIT string\n");
                           ~^
portmon.c:931:46: warning: '/*' within block comment [-Wcomment]
      /* if (*(j1 + strlen(j1) - 1) != '\n')    /* */
                                                ^
portmon.c:1020:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
NBconnect(s, host, port)
^~~~~~~~~
32 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/nocol/work/nocol-4.3.1/portmon

MAKING IN radiusmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:37:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from main.c:38:
/scratch/net/nocol/work/nocol-4.3.1/include/radiusmon.h:63:31: warning: '/*' within block comment [-Wcomment]
/* #include        <malloc.h>   /* */
                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/radiusmon.h:64:33: warning: '/*' within block comment [-Wcomment]
/* extern char * sys_errlist[]; /* */
                                ^
main.c:68:27: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)'
    if ((sender = (char *)strrchr (prognm , '/')) == NULL)
                          ^
main.c:68:27: note: please include the header <string.h> or explicitly provide a declaration for 'strrchr'
main.c:87:2: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
        help() ;
        ^
main.c:105:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
main.c:116:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* Event logging */
    ^
main.c:117:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
main.c:128:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
main.c:143:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
main.c:181:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
    bzero (&v, sizeof(v)) ;
    ^
main.c:181:5: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
main.c:192:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'
    strncpy (v.sender, sender, sizeof(v.sender) - 1);
    ^
main.c:192:5: note: please include the header <string.h> or explicitly provide a declaration for 'strncpy'
main.c:200:9: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
  while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
        ^
main.c:211:9: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)'
    if (strncasecmp(w1, "POLLINTERVAL", 8) == 0)
        ^
main.c:211:9: note: please include the header <strings.h> or explicitly provide a declaration for 'strncasecmp'
main.c:273:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
main.c:279:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
main.c:301:13: warning: implicit declaration of function 'radiusmon' is invalid in C99 [-Wimplicit-function-declaration]
   status = radiusmon(v.site.addr, curnode->port, curnode->secret,
            ^
main.c:310:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
   update_event(&v, status, /* VALUE */ status, /* max severity */E_CRITICAL);
   ^
main.c:331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help()
^~~~
main.c:334:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.c:362:24: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
    t = (char *)malloc(strlen(s) + 1);
                       ^
main.c:362:24: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
main.c:364:15: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
      (char *)strcpy(t, s);
              ^
main.c:364:15: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
main.c:364:7: warning: expression result unused [-Wunused-value]
      (char *)strcpy(t, s);
      ^       ~~~~~~~~~~~~
24 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  radiusmon.c
In file included from radiusmon.c:40:
/scratch/net/nocol/work/nocol-4.3.1/include/radiusmon.h:63:31: warning: '/*' within block comment [-Wcomment]
/* #include        <malloc.h>   /* */
                                ^
/scratch/net/nocol/work/nocol-4.3.1/include/radiusmon.h:64:33: warning: '/*' within block comment [-Wcomment]
/* extern char * sys_errlist[]; /* */
                                ^
radiusmon.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
radiusmon(host, port, secret, user, pass)
^~~~~~~~~
radiusmon.c:87:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(sockfd);
    ^
radiusmon.c:94:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
    if (write(sockfd, querybuf, querylen) == -1) {
        ^
radiusmon.c:101:16: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
              (char *)inet_ntoa(hostaddr.sin_addr));
                      ^
radiusmon.c:101:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
              (char *)inet_ntoa(hostaddr.sin_addr));
              ^
radiusmon.c:136:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
  bzero(buf, sizeof(buf));
  ^
radiusmon.c:136:3: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
radiusmon.c:140:17: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  pkthdr->id = (getpid() % 256);
                ^
radiusmon.c:143:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
  bcopy(pktvector, pkthdr->vector, sizeof(pkthdr->vector));/* unique hash id */
  ^
radiusmon.c:154:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'
    *pktdata++ = strlen(user) + 2;      /* size */
                 ^
radiusmon.c:154:18: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
radiusmon.c:176:5: warning: implicit declaration of function 'hash_password' is invalid in C99 [-Wimplicit-function-declaration]
    hash_password(pass, passLen, pktdata, secret, pkthdr->vector);
    ^
radiusmon.c:181:7: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
  if (gethostname(thishost, sizeof(thishost)) >= 0)
      ^
radiusmon.c:189:29: warning: '/*' within block comment [-Wcomment]
    /* myip = htonl(myip);              /* dont need to do it */
                                        ^
radiusmon.c:253:21: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
  if ( (*presplen = read(sockfd, (char *)buf, sizeof(buf)) ) <= 0 )
                    ^
radiusmon.c:372:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hash_password(pwd, pwdlen, result, secret, vector)
^~~~~~~~~~~~~
radiusmon.c:388:3: warning: implicit declaration of function 'md5_calc' is invalid in C99 [-Wimplicit-function-declaration]
  md5_calc(md5result, md5buf, AUTH_VECTOR_LEN + secretlen);
  ^
radiusmon.c:393:1: warning: control reaches end of non-void function [-Wreturn-type]
}    
^
radiusmon.c:411:36: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
  addr->sin_addr.s_addr = (u_long) inet_addr(host);
                                   ^
19 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  md5.c
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include main.o radiusmon.o md5.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o radiusmon

MAKING IN tknocol
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/var/run/data\" -c  ndaemon.c
ndaemon.c:1:19: warning: '/*' within block comment [-Wcomment]
/* #define DEBUG                /* */
                                ^
In file included from ndaemon.c:51:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/ndaemon.h:12:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
ndaemon.c:338:2: error: non-void function 'handle_command' should return a value [-Wreturn-type]
        return;
        ^
ndaemon.c:348:6: error: non-void function 'handle_command' should return a value [-Wreturn-type]
            return;
            ^
ndaemon.c:539: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 ((newsock = accept(sockfd, (struct sockaddr *) &addr, &addr_len)) < 0)
                                                             ^~~~~~~~~
/usr/include/sys/socket.h:612:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
4 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/nocol/work/nocol-4.3.1/tknocol

MAKING IN tpmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:44:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from main.c:51:
/scratch/net/nocol/work/nocol-4.3.1/include/tpmon.h:12:32: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "thruputmon"    /* About 16 characters possible */
                                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/tpmon.h:13:47: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/tpmon-confg" /* in ETCDIR */
                                                ^
main.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
main.c:93:55: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                              ~~             ^~~~~~
                                              %s
main.c:94:4: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
          help() ;
          ^
main.c:110:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
main.c:120:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* noclogd for logging */
    ^
main.c:128:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
main.c:139:13: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
main.c:148:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
main.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
main.c:190:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, cfigfile)
^~~~~~~~~~
main.c:230:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
main.c:247:29: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
            pollinterval = (u_long)strtol(w2, &p, 0) ;
                                   ^
16 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  poll_sites.c
In file included from poll_sites.c:44:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from poll_sites.c:45:
/scratch/net/nocol/work/nocol-4.3.1/include/tpmon.h:12:32: warning: '/*' within block comment [-Wcomment]
/* #define SENDER       "thruputmon"    /* About 16 characters possible */
                                        ^
/scratch/net/nocol/work/nocol-4.3.1/include/tpmon.h:13:47: warning: '/*' within block comment [-Wcomment]
/* #define CONFIGFILE   "../../etc/tpmon-confg" /* in ETCDIR */
                                                ^
poll_sites.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
poll_sites.c:104:5: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
    update_event(&v, status, (u_long)tp, maxseverity) ;
    ^
6 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  tpmon.c
tpmon.c:72:7: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
  if (isdigit (*addr))
      ^
tpmon.c:74:29: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
      to->sin_addr.s_addr = inet_addr(addr);
                            ^
tpmon.c:181:51: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
    printf("Connecting to %s [%s], port %d...\n", inet_ntoa(sockad.sin_addr),
                                                  ^
tpmon.c:181:51: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
    printf("Connecting to %s [%s], port %d...\n", inet_ntoa(sockad.sin_addr),
                          ~~                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
                          %d
tpmon.c:192:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
    strcat(error, inet_ntoa(sockad.sin_addr));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
tpmon.c:248:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
      (float)(bytessent) / 1024.0, secs, badwrites);
                                         ^~~~~~~~~
tpmon.c:251:19: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion]
    strcat(error, inet_ntoa(sockad.sin_addr));
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:54:56: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                                          ^
7 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include main.o poll_sites.o tpmon.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -o tpmon

MAKING IN trapmon
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -c  trapmon.c
trapmon.c:85:26: warning: '/*' within block comment [-Wcomment]
/* #include "version.h"         /* has following code */
                                ^
trapmon.c:144:47: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                 0, (struct sockaddr *)&from, &fromlen);
                                              ^~~~~~~~
/usr/include/sys/socket.h:623:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
trapmon.c:170:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free(Community);
    ^
trapmon.c:222:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        syslog(LOG_INFO, varbuf);
                         ^~~~~~
trapmon.c:240:7: warning: implicit declaration of function 'add_nocol_event' is invalid in C99 [-Wimplicit-function-declaration]
      add_nocol_event(ipaddr, hname, pdu);
      ^
trapmon.c:262:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        syslog(LOG_INFO, varbuf);
                         ^~~~~~
trapmon.c:313:69: warning: '/*' within block comment [-Wcomment]
/*  fprintf(stderr, "snmptrapd, version %s\n", snmpapps_Version()); /* */
                                                                    ^
trapmon.c:315:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
  exit(1);
  ^
trapmon.c:315:3: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
trapmon.c:333:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc, char **argv)
^~~~
trapmon.c:377:9: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
        Port = atoi(argv[++arg]);
               ^
trapmon.c:410:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(SD);
    ^
trapmon.c:417:14: warning: implicit declaration of function 'init_nocol' is invalid in C99 [-Wimplicit-function-declaration]
  if (Nocol) init_nocol();
             ^
trapmon.c:424:7: warning: implicit declaration of function 'expire_nocol_events' is invalid in C99 [-Wimplicit-function-declaration]
      expire_nocol_events();
      ^
13 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -I/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/include -c  utils.c
In file included from utils.c:18:
In file included from /scratch/net/nocol/work/nocol-4.3.1/include/trapmon.h:19:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
utils.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_nocol()
^~~~~~~~~~
utils.c:32:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
utils.c:43:5: warning: implicit declaration of function 'closeeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    closeeventlog();
    ^
utils.c:47:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
    exit(1);
    ^
utils.c:47:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
utils.c:50:3: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
  openeventlog();                       /* Logging daemon */
  ^
utils.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
add_nocol_event(addr, name, pdu)
^~~~~~~~~~~~~~~
utils.c:98:25: warning: format string contains '\0' within the string body [-Wformat]
        sprintf (spdutype, "/%d\0", pdu->specific_type) ;
                           ~~~~^~~
utils.c:130:5: warning: implicit declaration of function 'eventlog' is invalid in C99 [-Wimplicit-function-declaration]
    eventlog(&v);                               /* Log the event */
    ^
utils.c:148:21: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
            v.hour, v.min, expire_at[numtraps - 1]);
                           ^~~~~~~~~~~~~~~~~~~~~~~
utils.c:149:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
utils.c:201:15: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat]
           numtraps, clock);
                     ^~~~~
utils.c:226:1: warning: control may reach end of non-void function [-Wreturn-type]
}       /* expire_nocol_events() */
^
14 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include trapmon.o utils.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol -L/scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/lib -lsnmp -o trapmon

MAKING IN utility
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include -DTEST -c  display_nocol_datafile.c
In file included from display_nocol_datafile.c:9:
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:10:1: warning: '/*' within block comment [-Wcomment]
/***********************/
^
/scratch/net/nocol/work/nocol-4.3.1/include/nocol.h:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
display_nocol_datafile.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(ac, av)
^~~~
display_nocol_datafile.c:24:7: warning: implicit declaration of function 'display_nocol_datafile' is invalid in C99 [-Wimplicit-function-declaration]
      display_nocol_datafile(*++av) ;
      ^
display_nocol_datafile.c:28:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
display_nocol_datafile(file)
^~~~~~~~~~~~~~~~~~~~~~
display_nocol_datafile.c:48:1: warning: control may reach end of non-void function [-Wreturn-type]
}       /* end: display_nocol_datafile */
^
6 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  display_nocol_datafile.o -L/scratch/net/nocol/work/nocol-4.3.1/lib -lresolv -lcrypt -lnocol  -o display_nocol_datafile
Doing substitutions for ROOTDIR, PIDDIR, OPSMAIL, MAIL, PSFLAGS on: 
 keepalive_monitors log-maint crontab.nocol notifier logstats docrypt.pl notifier.pl

MAKING IN webnocol
----------
NOCOL Web Interface
 Doing substitutions for PERL, ROOTDIR on: 
  genweb.pl  webnocol.cgi

MAKING IN doc
----------
Building all in 'doc'

MAKING IN support/multiping
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  multiping.c
multiping.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
multiping.c:222:9: warning: implicit declaration of function 'fill' is invalid in C99 [-Wimplicit-function-declaration]
        fill((char *) datap, optarg);
        ^
multiping.c:248:9: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration]
        usage();
        ^
multiping.c:257:5: warning: implicit declaration of function 'setup_sockaddr' is invalid in C99 [-Wimplicit-function-declaration]
    setup_sockaddr(*argv++);
    ^
multiping.c:323:5: warning: implicit declaration of function 'mpinger' is invalid in C99 [-Wimplicit-function-declaration]
    mpinger();
    ^
multiping.c:350:44: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                (struct sockaddr *) &from, &fromlen)) < 0) {
                                           ^~~~~~~~
/usr/include/sys/socket.h:623:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
multiping.c:356:5: warning: implicit declaration of function 'pr_pack' is invalid in C99 [-Wimplicit-function-declaration]
    pr_pack((char *) packet, cc, &from);
    ^
multiping.c:359:53: warning: '/*' within block comment [-Wcomment]
/*  if (npackets && (nreceived >= npackets)) break;     /* */
                                                        ^
multiping.c:362:17: warning: '/*' within block comment [-Wcomment]
/*  finish();     /* NOT REACHED */
                  ^
multiping.c:413:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
real_pinger(which)
^~~~~~~~~~~
multiping.c:441:21: warning: implicit declaration of function 'in_cksum' is invalid in C99 [-Wimplicit-function-declaration]
  icp->icmp_cksum = in_cksum((u_short *) icp, cc);
                    ^
multiping.c:451:12: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
           inet_ntoa(to->sin_addr), i);
           ^
multiping.c:451:12: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
           inet_ntoa(to->sin_addr), i);
           ^~~~~~~~~~~~~~~~~~~~~~~
multiping.c:455:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
multiping.c:467:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mpinger()
^~~~~~~
multiping.c:493:44: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                (struct sockaddr *) &from, &fromlen)) < 0)
                                           ^~~~~~~~
/usr/include/sys/socket.h:623:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
multiping.c:512:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
multiping.c:521:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pr_pack(buf, cc, from)
^~~~~~~
multiping.c:546:2: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
        inet_ntoa(from->sin_addr));
        ^~~~~~~~~~~~~~~~~~~~~~~~~
multiping.c:547:5: error: non-void function 'pr_pack' should return a value [-Wreturn-type]
    return;
    ^
multiping.c:559:7: error: non-void function 'pr_pack' should return a value [-Wreturn-type]
      return;                   /* 'Twas not our ECHO */
      ^
multiping.c:576:7: error: non-void function 'pr_pack' should return a value [-Wreturn-type]
      return;
      ^
multiping.c:580:27: warning: '/*' within block comment [-Wcomment]
    /*    icp->icmp_seq;                /* ??? */
                                        ^
multiping.c:590:7: warning: implicit declaration of function 'tvsub' is invalid in C99 [-Wimplicit-function-declaration]
      tvsub(&tv, tp);
      ^
multiping.c:615:7: error: non-void function 'pr_pack' should return a value [-Wreturn-type]
      return;
      ^
multiping.c:621:2: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
        inet_ntoa(from->sin_addr),
        ^~~~~~~~~~~~~~~~~~~~~~~~~
multiping.c:651:7: error: non-void function 'pr_pack' should return a value [-Wreturn-type]
      return;
      ^
multiping.c:653:5: warning: implicit declaration of function 'pr_icmph' is invalid in C99 [-Wimplicit-function-declaration]
    pr_icmph(icp);
    ^
multiping.c:741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
in_cksum(addr, len)
^~~~~~~~
multiping.c:776:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
tvsub(out, in)
^~~~~
multiping.c:806:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
multiping.c:843:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
      (int) (((dp->ntransmitted - dp->nreceived) * 100) / dp->ntransmitted));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
multiping.c:856:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      } else        
        ^
multiping.c:864:25: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
      sent, rcvd, rpts, (int) (((sent - rcvd) * 100) / sent));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
multiping.c:925:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pr_icmph(icp)
^~~~~~~~
multiping.c:962:5: warning: implicit declaration of function 'pr_retip' is invalid in C99 [-Wimplicit-function-declaration]
    pr_retip((struct ip *) icp->icmp_data);
    ^
multiping.c:991:37: warning: format specifies type 'unsigned long' but the argument has type '__in_addr_t' (aka 'unsigned int') [-Wformat]
    printf("(New addr: 0x%08lx)\n", icp->icmp_gwaddr.s_addr);
                         ~~~~~      ^~~~~~~~~~~~~~~~~~~~~~~
                         %08x
multiping.c:1064:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pr_iph(ip)
^~~~~~
multiping.c:1079:18: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  printf(" %s ", inet_ntoa(ip->ip_src));
           ~~    ^~~~~~~~~~~~~~~~~~~~~
           %d
multiping.c:1080:18: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
  printf(" %s ", inet_ntoa(ip->ip_dst));
           ~~    ^~~~~~~~~~~~~~~~~~~~~
           %d
multiping.c:1103:24: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
    sprintf(buf, "%s", inet_ntoa(tmp_inaddr));
                  ~~   ^~~~~~~~~~~~~~~~~~~~~
                  %d
multiping.c:1105:41: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
    sprintf(buf, "%s (%s)", hp->h_name, inet_ntoa(tmp_inaddr));
                      ~~                ^~~~~~~~~~~~~~~~~~~~~
                      %d
multiping.c:1112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pr_retip(ip)
^~~~~~~~
multiping.c:1130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fill(bp, patp)
^~~~
multiping.c:1188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setup_sockaddr(addr)
^~~~~~~~~~~~~~
multiping.c:1199:25: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
  to->sin_addr.s_addr = inet_addr(addr);
                        ^
multiping.c:1215:5: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
           inet_ntoa(to->sin_addr), datalen);
           ^~~~~~~~~~~~~~~~~~~~~~~
multiping.c:1227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^~~~~
43 warnings and 5 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/nocol/work/nocol-4.3.1/support/multiping

MAKING IN support/rpcping
----------
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  rpcping.c
rpcping.c:60:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
static timed_out = 0;
~~~~~~ ^
rpcping.c:64:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
rpcping.c:81:5: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)'
    bzero ((char *)&addr, sizeof (addr));
    ^
rpcping.c:81:5: note: please include the header <strings.h> or explicitly provide a declaration for 'bzero'
rpcping.c:89:17: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
    while((ch = getopt(argc, argv, "t:")) != EOF)
                ^
rpcping.c:93:14: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
        tv.tv_sec = atoi(optarg);
                    ^
rpcping.c:98:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(1);
        ^
rpcping.c:98:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
rpcping.c:110:34: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
    if ( (addr.sin_addr.s_addr = inet_addr(host)) == (unsigned int)-1)
                                 ^
rpcping.c:119:7: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration]
      bcopy(hp->h_addr, (char *)&addr.sin_addr.s_addr, hp->h_length);
      ^
rpcping.c:127:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
    alarm(tv.tv_sec);
    ^
9 warnings generated.
cc -O -DNOCOL -DFREEBSD -I/scratch/net/nocol/work/nocol-4.3.1/include rpcping.o -lresolv -lcrypt -o rpcping
=> Unwrapping files-to-be-installed.
