=> Bootstrap dependency digest>=20010302: found digest-20080510
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'.
===> Installing for nocol-4.3.1nb5
=> Generating pre-install file lists
=> Creating installation directories
[ -d /scratch/net/nocol/work/.destdir/usr/pkg ] || mkdir  /scratch/net/nocol/work/.destdir/usr/pkg
[ -d /scratch/net/nocol/work/.destdir/var/run/data ] || mkdir /scratch/net/nocol/work/.destdir/var/run/data
[ -d /scratch/net/nocol/work/.destdir/usr/pkg/etc ] ||  mkdir /scratch/net/nocol/work/.destdir/usr/pkg/etc
[ -d /scratch/net/nocol/work/.destdir/var/run ] ||  mkdir /scratch/net/nocol/work/.destdir/var/run
[ -d /scratch/net/nocol/work/.destdir/usr/pkg/share/examples/nocol ] || mkdir /scratch/net/nocol/work/.destdir/usr/pkg/share/examples/nocol
[ -d /scratch/net/nocol/work/.destdir/usr/pkg/bin ] ||  mkdir /scratch/net/nocol/work/.destdir/usr/pkg/bin
[ -d /scratch/net/nocol/work/.destdir/var/run/msgs ] || mkdir /scratch/net/nocol/work/.destdir/var/run/msgs
[ -d /scratch/net/nocol/work/.destdir/usr/pkg/share/nocol/help ] || mkdir -p /scratch/net/nocol/work/.destdir/usr/pkg/share/nocol/help
make install

MAKING IN lib
----------
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/scratch/net/nocol/work/.destdir/usr/pkg/etc\"  -DDATADIR=\"/scratch/net/nocol/work/.destdir/var/run/data\"  -DPIDDIR=\"/scratch/net/nocol/work/.destdir/var/run\"	-DNLOG_HOST=\"build-nb5-amd64.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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
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: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 and 1 error generated.
*** Error code 1

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

MAKING IN eventselect
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from proc_datafile.c:50:
/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 and 1 error generated.
*** Error code 1

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

MAKING IN etherload
----------
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include  -c  main.c
In file included from main.c:72:
/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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from main.c:72:
/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:116:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^~~~
main.c:140:18: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
      scansecs = atoi(optarg);
                 ^
main.c:150:43: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat]
      fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                         ~^             ~~~~~~
                                         %s
main.c:158:7: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
      exit (1);
      ^
main.c:158:7: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
main.c:164: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:213:26: warning: implicit declaration of function 'get_devlist' is invalid in C99 [-Wimplicit-function-declaration]
      devlist = (char **)get_devlist();
                         ^
main.c:227: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:233: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:235:10: warning: implicit declaration of function 'ndt_namebw' is invalid in C99 [-Wimplicit-function-declaration]
        (char *)ndt_namebw(if_stats[ninterfaces].typei,
                ^
main.c:283:22: warning: conversion specifies type 'unsigned int' but the argument has type 'u_long' (aka 'unsigned long') [-Wformat]
        printf(" %d. %s %s %u\n", i+1, 
                           ~^
                           %lu
main.c:293:3: warning: implicit declaration of function 'nocol_prep' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_prep();
  ^
main.c:298:5: warning: implicit declaration of function 'etherload' is invalid in C99 [-Wimplicit-function-declaration]
    etherload(scansecs);
    ^
main.c:300:5: warning: implicit declaration of function 'nocol_printstats' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_printstats();
    ^
15 warnings and 1 error generated.
*** Error code 1

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

MAKING IN genmon
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from genmon.c:55:
/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:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
genmon.c:94:47: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                             ~^             ~~~~~~
                                             %s
genmon.c:98:11: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
          exit (1);
          ^
genmon.c:98:11: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
genmon.c:123:7: warning: implicit declaration of function 'mastermode' is invalid in C99 [-Wimplicit-function-declaration]
      mastermode();
      ^
genmon.c:125:7: warning: implicit declaration of function 'slavemode' is invalid in C99 [-Wimplicit-function-declaration]
      slavemode() ;
      ^
genmon.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mastermode()
^~~~~~~~~~
genmon.c:153:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
genmon.c:156:7: warning: implicit declaration of function 'daemonize' is invalid in C99 [-Wimplicit-function-declaration]
      daemonize() ;
      ^
genmon.c:163:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration]
        fatal ("Open failed, exiting...");
        ^
genmon.c:166:26: warning: format string contains '\0' within the string body [-Wformat]
      sprintf(cmd, "%s %s\0", execprogpath, execargs);
                   ~~~~~~^~~
genmon.c:173:7: warning: implicit declaration of function 'dostream' is invalid in C99 [-Wimplicit-function-declaration]
      dostream(cmdf, fd);
      ^
genmon.c:194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
slavemode()
^~~~~~~~~
genmon.c:211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dostream(fptr, fd)
^~~~~~~~
genmon.c:260:15: warning: implicit declaration of function 'logstr_to_event' is invalid in C99 [-Wimplicit-function-declaration]
        pv= (EVENT *)logstr_to_event(tstr) ;    /* create an event struct */
                     ^
genmon.c:265:4: warning: implicit declaration of function 'eventlog' is invalid in C99 [-Wimplicit-function-declaration]
          eventlog(pv);
          ^
genmon.c:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
daemonize()
^~~~~~~~~
genmon.c:311:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fatal(s)        
^~~~~
genmon.c:320:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();       /* does an exit for us */
    ^
20 warnings and 1 error generated.
*** Error code 1

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

MAKING IN netconsole
----------
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/scratch/net/nocol/work/.destdir/var/run/data\" -DMSGSDIR=\"/scratch/net/nocol/work/.destdir/var/run/msgs\"  -DHELPFILE=\"/scratch/net/nocol/work/.destdir/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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
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: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 C 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 and 1 error generated.
*** Error code 1

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

MAKING IN noclog
----------
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include -DETCDIR=\"/scratch/net/nocol/work/.destdir/usr/pkg/etc\" -DPIDDIR=\"/scratch/net/nocol/work/.destdir/var/run\"   -DNLOG_HOST=\"build-nb5-amd64.bec.de\" -c  noclogd.c
In file included from noclogd.c:44:
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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from noclogd.c:44:
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:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
noclogd.c:105:40: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat]
          fprintf(stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                             ~^             ~~~~~~
                                             %s
noclogd.c:108:4: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
          exit (1);
          ^
noclogd.c:108:4: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
noclogd.c:116:42: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
      NLOG_ERRORFILE( (errfile = (char *)malloc(256)) ); /* default name */
                                         ^
/scratch/net/nocol/work/nocol-4.3.1/include/noclogd.h:30:29: note: expanded from:
#define NLOG_ERRORFILE(s)  *s= '\0'; strcat(strcat(s, PIDDIR),"/noclogd.error")
                            ^
noclogd.c:116:42: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
noclogd.c:127:7: warning: implicit declaration of function 'daemonize' is invalid in C99 [-Wimplicit-function-declaration]
      daemonize();                      /* this opens the error file also */
      ^
noclogd.c:131: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:138:5: warning: implicit declaration of function 'openlogfiles' is invalid in C99 [-Wimplicit-function-declaration]
    openlogfiles();
    ^
noclogd.c:145:5: warning: implicit declaration of function 'serve' is invalid in C99 [-Wimplicit-function-declaration]
    serve();
    ^
noclogd.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
serve()
^~~~~
noclogd.c:167:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration]
        fatal("serve(): network socket() failed");
        ^
noclogd.c:171: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:612:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
noclogd.c:186: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:612:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
noclogd.c:212:6: warning: implicit declaration of function 'rereadconfig' is invalid in C99 [-Wimplicit-function-declaration]
            rereadconfig();
            ^
noclogd.c:234:4: warning: implicit declaration of function 'readevent' is invalid in C99 [-Wimplicit-function-declaration]
          readevent(inetfd);
          ^
noclogd.c:246:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readevent(fd)
^~~~~~~~~
noclogd.c:264: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:618:58: note: passing argument to parameter here
            struct sockaddr * __restrict, socklen_t * __restrict);
                                                                ^
noclogd.c:288:11: warning: implicit declaration of function 'authenticate_host' is invalid in C99 [-Wimplicit-function-declaration]
    if (! authenticate_host(&frominet))
          ^
noclogd.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
authenticate_host(peer)
^~~~~~~~~~~~~~~~~
noclogd.c:435:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
openlogfiles()
^~~~~~~~~~~~
noclogd.c:476: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:509:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rereadconfig()
^~~~~~~~~~~~
noclogd.c:530:4: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
          free(p->sender);
          ^
noclogd.c:547:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
daemonize()
^~~~~~~~~
noclogd.c:586:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fatal(msg)
^~~~~
noclogd.c:611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
warning_int(format, num)
^~~~~~~~~~~
26 warnings and 1 error generated.
*** Error code 1

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

MAKING IN nsmon
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from main.c:79:
/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:115:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (ac, av)
^~~~
main.c:146:31: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
      if(!(datafile = (char *)malloc(strlen(optarg) + 1))) {
                              ^
main.c:146:31: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
main.c:150:28: warning: format string contains '\0' within the string body [-Wformat]
      sprintf(datafile, "%s\0", optarg) ;
                        ~~~^~~
main.c:154:44: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat]
      fprintf (stderr, "%s: Unknown flag: %c\n", prognm, optarg);
                                          ~^             ~~~~~~
                                          %s
main.c:155:7: warning: implicit declaration of function 'help' is invalid in C99 [-Wimplicit-function-declaration]
      help() ;
      ^
main.c:167:25: warning: format string contains '\0' within the string body [-Wformat]
        sprintf(configfile, "%s\0", av[optind]) ;
                            ~~~^~~
main.c:177:5: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_startup(&configfile, &datafile);
    ^
main.c:188:5: warning: implicit declaration of function 'openeventlog' is invalid in C99 [-Wimplicit-function-declaration]
    openeventlog() ;                    /* Event logging */
    ^
main.c:189:9: warning: implicit declaration of function 'init_sites' is invalid in C99 [-Wimplicit-function-declaration]
    if (init_sites(fdout, configfile) == -1 )
        ^
main.c:204:6: warning: implicit declaration of function 'poll_sites' is invalid in C99 [-Wimplicit-function-declaration]
        if (poll_sites(fdout) == -1)            /* Polling error */
            ^
main.c:220:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
main.c:228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help ()
^~~~
main.c:263:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_sites(fdout, configfile)
^~~~~~~~~~
main.c:309:11: warning: implicit declaration of function 'fgetLine' is invalid in C99 [-Wimplicit-function-declaration]
    while(fgetLine(p_nodes,record,MAXLINE) > 0 ) 
          ^
main.c:323:29: warning: implicit declaration of function 'strtol' is invalid in C99 [-Wimplicit-function-declaration]
            pollinterval = (u_long)strtol(w2, &p, 0) ;
                                   ^
main.c:388:32: warning: implicitly declaring C library function 'calloc' with type 'void *(unsigned long, unsigned long)'
        newnode = (struct site_info *)calloc(1, sizeof(struct site_info));
                                      ^
main.c:388:32: note: please include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
main.c:435:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
poll_sites(fdout)
^~~~~~~~~~
main.c:468:5: warning: '/*' within block comment [-Wcomment]
    /*      switch(nsmon(v.site.addr, querydata, QUERYCLASS, QUERYTYPE,
    ^
main.c:471:12: warning: implicit declaration of function 'nsmon' is invalid in C99 [-Wimplicit-function-declaration]
    switch(nsmon(v.site.addr, node->domain, 
           ^
main.c:500:7: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
      update_event(&v, status, /* VALUE */ (u_long)status, maxseverity);
      ^
main.c:542:7: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
      free(curptr->domain);
      ^
25 warnings and 1 error generated.
*** Error code 1

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

MAKING IN ntpmon
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from main.c:30:
/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 C 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 C 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 C 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: implicit declaration of function 'strncasecmp' is invalid in C99 [-Wimplicit-function-declaration]
    if (strncasecmp(w1, "POLLINTERVAL", 8) == 0)
        ^
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:408:24: warning: implicitly declaring C 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 C 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);
      ^       ~~~~~~~~~~~~
21 warnings and 1 error generated.
*** Error code 1

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

MAKING IN perlnocol
----------
install: apcmon.seds: stat: No such file or directory
install: armon.seds: stat: No such file or directory
install: bgpmon.seds: stat: No such file or directory
install: bpmon.seds: stat: No such file or directory
install: ciscomon.seds: stat: No such file or directory
install: modemmon.seds: stat: No such file or directory
install: novellmon.seds: stat: No such file or directory
install: nrmon.seds: stat: No such file or directory
install: nocollib.pl.seds: stat: No such file or directory
install: hostmon.seds: stat: No such file or directory
install: smbmon.seds: stat: No such file or directory
install: sqlmon.seds: stat: No such file or directory
install: upsmon.seds: stat: No such file or directory
install: snmpmon.seds: stat: No such file or directory
install: snmpmon-client.seds: stat: No such file or directory
install: snmpgeneric.seds: stat: No such file or directory
install: syslogmon.seds: stat: No such file or directory
install: rcisco.seds: stat: No such file or directory
install: testlog.seds: stat: No such file or directory
install: /scratch/net/nocol/work/nocol-4.3.1/cmu-snmp/snmpapps/snmpwalk: stat: No such file or directory
*** Error code 1 (ignored)
*** Error code 1

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

MAKING IN pingmon
----------
rm -f IFCpingmon
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include -DMULTIPING -DIPPING='"/scratch/net/nocol/work/.destdir/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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
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: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:41: warning: conversion 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 C 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 and 1 error generated.
*** Error code 1

Stop.
make: stopped in /scratch/net/nocol/work/nocol-4.3.1/pingmon
*** Error code 1

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

MAKING IN portmon
----------
cc -O -DNOCOL  -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:83:
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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from portmon.c:83:
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:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
In file included from portmon.c:83:
/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:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(ac, av)
^~~~
portmon.c:135:7: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
      exit (1);
      ^
portmon.c:135:7: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
portmon.c:138:3: warning: implicit declaration of function 'nocol_startup' is invalid in C99 [-Wimplicit-function-declaration]
  nocol_startup(&configfile, &datafile);
  ^
portmon.c:144:5: warning: implicit declaration of function 'nocol_done' is invalid in C99 [-Wimplicit-function-declaration]
    nocol_done();
    ^
portmon.c:147:7: warning: implicit declaration of function 'readconfig' is invalid in C99 [-Wimplicit-function-declaration]
  if (readconfig(fdout) == -1)
      ^
portmon.c:169: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:182:4: warning: implicit declaration of function 'update_event' is invalid in C99 [-Wimplicit-function-declaration]
          update_event(&v, harray[i]->status,
          ^
portmon.c:213:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
checkports(hv, nhosts)
^~~~~~~~~~
portmon.c:223:20: error: non-void function 'checkports' should return a value [-Wreturn-type]
  if (nhosts <= 0) return;
                   ^
portmon.c:249: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:322: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:612:71: note: passing argument to parameter here
int     getsockopt(int, int, int, void *__restrict, socklen_t * __restrict);
                                                                          ^
portmon.c:343:6: warning: implicit declaration of function 'send_hoststring' is invalid in C99 [-Wimplicit-function-declaration]
            send_hoststring(sockarray[i], hv[i]);
            ^
portmon.c:346: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:381:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
send_hoststring(sock, h)
^~~~~~~~~~~~~~~
portmon.c:391:40: warning: '/*' within block comment [-Wcomment]
/*  sflags = fcntl(sock, F_GETFL, 0);           /*  */
                                                ^
portmon.c:392:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags ^ O_NONBLOCK);  /* set blocking */
                                                ^
portmon.c:393:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags | O_NONBLOCK);  /* set nonblocking */
                                                ^
portmon.c:442:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
process_host(sock, h)
^~~~~~~~~~~~
portmon.c:455:40: warning: '/*' within block comment [-Wcomment]
/*  sflags = fcntl(sock, F_GETFL, 0);           /*  */
                                                ^
portmon.c:456:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags ^ O_NONBLOCK);  /* set blocking */
                                                ^
portmon.c:457:48: warning: '/*' within block comment [-Wcomment]
/*  fcntl(sock, F_SETFL, sflags | O_NONBLOCK);  /* set nonblocking */
                                                ^
portmon.c:518:12: warning: implicit declaration of function 'check_resp' is invalid in C99 [-Wimplicit-function-declaration]
  maxsev = check_resp(h->readbuf, h->responselist);
           ^
portmon.c:538:44: warning: conversion specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
        fprintf(stderr,"  (debug) elapsed time= %ld secs\n", h->elapsedsecs);
                                                ~~^          ~~~~~~~~~~~~~~
                                                %u
portmon.c:566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_resp(readstr, resarr)
^~~~~~~~~~
portmon.c:608:17: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
    t = (char *)malloc(1);
                ^
portmon.c:608:17: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
portmon.c:615:7: warning: expression result unused [-Wunused-value]
      (char *)strcpy(t, s);
      ^       ~~~~~~~~~~~~
portmon.c:690:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
readconfig(fdout)
^~~~~~~~~~
portmon.c:731: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:747:49: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
      if (!j1 || *j1 == '\0' || (pollinterval = atoi(j1)) <= 0)
                                                ^
portmon.c:820:22: warning: more '%' conversions than data arguments [-Wformat]
          fprintf(stderr, "%s: missing QUIT string\n");
                           ~^
portmon.c:929:46: warning: '/*' within block comment [-Wcomment]
      /* if (*(j1 + strlen(j1) - 1) != '\n')    /* */
                                                ^
portmon.c:1018:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
NBconnect(s, host, port)
^~~~~~~~~
35 warnings and 2 errors generated.
*** Error code 1

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

MAKING IN radiusmon
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from main.c:37:
/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 C 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 C 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 C 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: implicit declaration of function 'strncasecmp' is invalid in C99 [-Wimplicit-function-declaration]
    if (strncasecmp(w1, "POLLINTERVAL", 8) == 0)
        ^
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:362:24: warning: implicitly declaring C 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 C 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);
      ^       ~~~~~~~~~~~~
22 warnings and 1 error generated.
*** Error code 1

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

MAKING IN tknocol
----------
cc -O -DNOCOL  -I/scratch/net/nocol/work/nocol-4.3.1/include -DDATADIR=\"/scratch/net/nocol/work/.destdir/var/run/data\" -c  ndaemon.c
ndaemon.c:1:19: warning: '/*' within block comment [-Wcomment]
/* #define DEBUG                /* */
                                ^
In file included from ndaemon.c:48:
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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from ndaemon.c:48:
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:111:29: warning: '/*' within block comment [-Wcomment]
/*    char      tag[MAXTAGLEN];         /* For tagging sites. Optional */
                                        ^
ndaemon.c:85:2: warning: implicitly declaring C library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(1);
        ^
ndaemon.c:85:2: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
ndaemon.c:132:28: warning: implicitly declaring C library function 'malloc' with type 'void *(unsigned long)'
        d->output_text = (char *) malloc(sizeof(char) *
                                  ^
ndaemon.c:132:28: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
ndaemon.c:133:8: warning: implicitly declaring C library function 'strlen' with type 'unsigned long (const char *)'
                                         (strlen(buf) + 1));
                                          ^
ndaemon.c:133:8: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
ndaemon.c:134:2: warning: implicitly declaring C library function 'strcpy' with type 'char *(char *, const char *)'
        strcpy(d->output_text, buf);
        ^
ndaemon.c:134:2: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
ndaemon.c:140:2: warning: implicitly declaring C library function 'strcat' with type 'char *(char *, const char *)'
        strcat(tstr, buf);
        ^
ndaemon.c:140:2: note: please include the header <string.h> or explicitly provide a declaration for 'strcat'
ndaemon.c:141:2: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
        free(d->output_text);
        ^
ndaemon.c:196:7: warning: implicit declaration of function 'bcmp' is invalid in C99 [-Wimplicit-function-declaration]
        if ((bcmp(&v, &null_event, sizeof(v)) != 0) &&
             ^
ndaemon.c:266:7: warning: implicit declaration of function 'strcmp' is invalid in C99 [-Wimplicit-function-declaration]
            !strcmp(direntry->d_name, "core"))
             ^
ndaemon.c:328:10: warning: implicit declaration of function 'strcasecmp' is invalid in C99 [-Wimplicit-function-declaration]
    if (!strcasecmp(cmd, "QUIT") || !strcasecmp(cmd, "EXIT")) {
         ^
ndaemon.c:333:23: warning: implicitly declaring C library function 'index' with type 'char *(const char *, int)'
    argstr = (char *) index(cmd, ' ');
                      ^
ndaemon.c:333:23: note: please include the header <strings.h> or explicitly provide a declaration for 'index'
ndaemon.c:335:2: error: non-void function 'handle_command' should return a value [-Wreturn-type]
        return;
        ^
ndaemon.c:342:11: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
        numarg = atoi(argstr);
                 ^
ndaemon.c:345:6: error: non-void function 'handle_command' should return a value [-Wreturn-type]
            return;
            ^
ndaemon.c:536: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:607:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
15 warnings and 3 errors generated.
*** Error code 1

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

MAKING IN tpmon
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from main.c:44:
/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:41: warning: conversion 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 and 1 error generated.
*** Error code 1

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

MAKING IN trapmon
----------
cc -O -DNOCOL  -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:84:10: fatal error: 'snmp/snmp.h' file not found
#include <snmp/snmp.h>
         ^
1 error generated.
*** Error code 1

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

MAKING IN utility
----------
cc -O -DNOCOL  -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:41:14: error: redefinition of 'sys_errlist' with a different type
extern char *sys_errlist[];
             ^
/usr/include/errno.h:61:27: note: previous definition is here
extern const char *const *sys_errlist __RENAME(__sys_errlist14);
                          ^
In file included from display_nocol_datafile.c:9:
/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:17:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(ac, av)
^~~~
display_nocol_datafile.c:22:7: warning: implicit declaration of function 'display_nocol_datafile' is invalid in C99 [-Wimplicit-function-declaration]
      display_nocol_datafile(*++av) ;
      ^
display_nocol_datafile.c:26:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
display_nocol_datafile(file)
^~~~~~~~~~~~~~~~~~~~~~
display_nocol_datafile.c:41:26: warning: implicit declaration of function 'event_to_logstr' is invalid in C99 [-Wimplicit-function-declaration]
    printf("%s", (char *)event_to_logstr(&v));
                         ^
6 warnings and 1 error generated.
*** Error code 1

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

MAKING IN webnocol
----------
COPY webnocol.cgi from /scratch/net/nocol/work/.destdir/usr/pkg/bin into your CGI directory.
COPY chirp.au and gif/ into your base web directory for nocol
Set values of baseurl, webdir, logfile. Create updatesfile.
 (see INSTALL instructions at top of files).

MAKING IN doc
----------
Installing in 'doc'

MAKING IN support/multiping
----------
cc -O -DNOCOL  -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:618: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:450:46: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
    fprintf(stderr, "    wrote %d chars for %s, sent=%d\n", cc,
                                            ~^
                                            %d
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:618: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:545:62: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
      fprintf(stderr, "%s: packet too short (%d bytes) from %s\n", prognm, cc,
                                                            ~^
                                                            %d
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:620:30: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
      printf("%d bytes from %s: icmp_seq=%u", cc,
                            ~^
                            %d
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:839:47: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat]
    printf("\n%-29.29s  %6ld  %6ld  %6ld%c %3ld%%",
                                           ~~~^
                                           %3d
multiping.c:863:67: warning: conversion specifies type 'long' but the argument has type 'int' [-Wformat]
    printf("\nTOTALS                         %6ld  %6ld  %6ld  %3ld%%",
                                                               ~~~^
                                                               %3d
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:30: warning: conversion 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:13: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
  printf(" %s ", inet_ntoa(ip->ip_src));
           ~^    ~~~~~~~~~~~~~~~~~~~~~
           %d
multiping.c:1080:13: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
  printf(" %s ", inet_ntoa(ip->ip_dst));
           ~^    ~~~~~~~~~~~~~~~~~~~~~
           %d
multiping.c:1103:20: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
    sprintf(buf, "%s", inet_ntoa(tmp_inaddr));
                  ~^   ~~~~~~~~~~~~~~~~~~~~~
                  %d
multiping.c:1105:24: warning: conversion 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:1214:23: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
    printf("PING %s (%s): %d data bytes\n", pr_addr(to->sin_addr.s_addr),
                     ~^
                     %d
multiping.c:1227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
usage()
^~~~~
41 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
----------
install -c -m 751 rpcping /scratch/net/nocol/work/.destdir/usr/pkg/bin/
Installing sample config files under /scratch/net/nocol/work/.destdir/usr/pkg/share/examples/nocol/...

           NOW su AND DO A make root 
PLEASE RUN  make root  AS root (currently pbulkXXX)
for f in critical.wav error.wav warning.wav ; do		 /usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/net/nocol/work/nocol-4.3.1/webnocol/$f /scratch/net/nocol/work/.destdir/usr/pkg/share/nocol;  done
for f in bluesq.gif critical.jpg empty.gif error.jpg		 greensq.gif help.jpg info.jpg redsq.gif warning.jpg	 yellowsq.gif ; do					 /usr/bin/install -c -o pbulkXXX -g users -m 644 /scratch/net/nocol/work/nocol-4.3.1/webnocol/gifs/$f			 /scratch/net/nocol/work/.destdir/usr/pkg/share/nocol/gifs;	 done
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/apcmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/armon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/bgpmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/bpmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/ciscomon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/crontab.nocol'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/display_nocol_datafile'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/docrypt.pl'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/etherload'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/eventselect'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/genmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/hostmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/ippingmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/keepalive_monitors'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/log-maint'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/logstats'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/modemmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/multiping'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/ndaemon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/netconsole'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/noclogd'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/nocollib.pl'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/notifier'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/notifier.pl'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/novellmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/nrmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/nsmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/ntpmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/osipingmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/portmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/radiusmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/rcisco'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/rpcpingmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/show_nocol_struct_sizes'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/smbmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpgeneric'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpget'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpmon-client'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpwalk'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/sqlmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/syslogmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/testlog'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/tkNocol'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/tpmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/trapmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/bin/upsmon'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/etc/mib-v2.txt'
pkg_create: can't stat `/scratch/net/nocol/work/.destdir/usr/pkg/etc/netconsole-help'
=> Checking file-check results for nocol-4.3.1nb5
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/apcmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/armon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/bgpmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/bpmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/ciscomon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/crontab.nocol
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/display_nocol_datafile
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/docrypt.pl
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/etherload
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/eventselect
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/genmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/hostmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/ippingmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/keepalive_monitors
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/log-maint
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/logstats
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/modemmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/multiping
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/ndaemon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/netconsole
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/noclogd
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/nocollib.pl
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/notifier
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/notifier.pl
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/novellmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/nrmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/nsmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/ntpmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/osipingmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/portmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/radiusmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/rcisco
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/rpcpingmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/show_nocol_struct_sizes
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/smbmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpgeneric
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpget
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpmon-client
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/snmpwalk
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/sqlmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/syslogmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/testlog
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/tkNocol
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/tpmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/trapmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/bin/upsmon
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/etc/mib-v2.txt
ERROR:         /scratch/net/nocol/work/.destdir/usr/pkg/etc/netconsole-help
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/nocol
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/nocol
