=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for netramet-4.4.20nb1 cd src/snmplib; /usr/bin/make gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/asn1.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/mib.c ../../src/snmplib/mib.c:179:8: warning: type defaults to 'int' in declaration of 'parse_subtree' [-Wimplicit-int] static parse_subtree(struct tree *subtree, ^ ../../src/snmplib/mib.c:795:8: warning: return type defaults to 'int' [-Wimplicit-int] static parse_subtree(struct tree *subtree, ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/parse.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/snmp.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/snmpapi.c ../../src/snmplib/snmpapi.c: In function 'snmp_open': ../../src/snmplib/snmpapi.c:453:19: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] if ((addr = inet_addr(session->peername)) != -1) { ^ ../../src/snmplib/snmpapi.c: In function 'snmp_close': ../../src/snmplib/snmpapi.c:553:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(slp->internal->sd); ^ ../../src/snmplib/snmpapi.c: In function 'snmp_send': ../../src/snmplib/snmpapi.c:1102:10: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] inet_ntoa(pdu->address.sin_addr)); ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/snmpagnt.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/snmpauth.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/snmplib/snmpclnt.c ar r libsnmp.a asn1.o mib.o parse.o snmp.o snmpapi.o snmpagnt.o snmpauth.o snmpclnt.o ar: creating libsnmp.a ranlib libsnmp.a cd src/apps; /usr/bin/make gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/apps/snmptest.c ../../src/apps/snmptest.c: In function 'main': ../../src/apps/snmptest.c:152:4: warning: implicit declaration of function 'init_mib' [-Wimplicit-function-declaration] init_mib(); ^ ../../src/apps/snmptest.c:244:17: warning: implicit declaration of function 'input_variable' [-Wimplicit-function-declaration] while ((ret = input_variable(vp)) == -1) ^ ../../src/apps/snmptest.c:334:29: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] printf("from %s\n", inet_ntoa(response->address.sin_addr)); ^ ../../src/apps/snmptest.c:340:8: warning: implicit declaration of function 'print_variable' [-Wimplicit-function-declaration] print_variable(vars->name, vars->name_length, vars); ^ ../../src/apps/snmptest.c:352:4: warning: implicit declaration of function 'print_objid' [-Wimplicit-function-declaration] print_objid(vars->name, vars->name_length); ^ ../../src/apps/snmptest.c: At top level: ../../src/apps/snmptest.c:428:1: warning: return type defaults to 'int' [-Wimplicit-int] input_variable(struct variable_list *vp) ^ ../../src/apps/snmptest.c: In function 'input_variable': ../../src/apps/snmptest.c:489:9: warning: implicit declaration of function 'read_objid' [-Wimplicit-function-declaration] if (!read_objid(buf, name, &vp->name_length)) ^ ../../src/apps/snmptest.c:566:22: warning: implicit declaration of function 'inet_addr' [-Wimplicit-function-declaration] *(vp->val.u_int) = inet_addr(buf); ^ gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o snmptest snmptest.o -lresolv -lm ../../src/snmplib/libsnmp.a gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/apps/snmpwalk.c ../../src/apps/snmpwalk.c: In function 'main': ../../src/apps/snmpwalk.c:136:4: warning: implicit declaration of function 'init_mib' [-Wimplicit-function-declaration] init_mib(); ^ ../../src/apps/snmpwalk.c:173:7: warning: implicit declaration of function 'read_objid' [-Wimplicit-function-declaration] if (read_objid(argv[arg], root, &rootlen)) { ^ ../../src/apps/snmpwalk.c:232:5: warning: implicit declaration of function 'print_variable' [-Wimplicit-function-declaration] print_variable(vars->name, vars->name_length, vars); ^ ../../src/apps/snmpwalk.c:268:8: warning: implicit declaration of function 'print_objid' [-Wimplicit-function-declaration] print_objid(vars->name, vars->name_length); ^ gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o snmpwalk snmpwalk.o -lresolv -lm ../../src/snmplib/libsnmp.a gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../.. -DNETBSD -DHAVE_CONFIG_H -c ../../src/apps/snmpbulkwalk.c ../../src/apps/snmpbulkwalk.c: In function 'main': ../../src/apps/snmpbulkwalk.c:137:4: warning: implicit declaration of function 'init_mib' [-Wimplicit-function-declaration] init_mib(); ^ ../../src/apps/snmpbulkwalk.c:177:7: warning: implicit declaration of function 'read_objid' [-Wimplicit-function-declaration] if (read_objid(argv[arg], root, &rootlen)) { ^ ../../src/apps/snmpbulkwalk.c:241:5: warning: implicit declaration of function 'print_variable' [-Wimplicit-function-declaration] print_variable(vars->name, vars->name_length, vars); ^ ../../src/apps/snmpbulkwalk.c:278:8: warning: implicit declaration of function 'print_objid' [-Wimplicit-function-declaration] print_objid(vars->name, vars->name_length); ^ gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o snmpbulkwalk snmpbulkwalk.o -lresolv -lm ../../src/snmplib/libsnmp.a cd src/bgp; /usr/bin/make gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DNETBSD -DHAVE_CONFIG_H -c ../../src/bgp/integrat/readbgp.c ../../src/bgp/integrat/readbgp.c:175:8: warning: type defaults to 'int' in declaration of 'mask_from_length' [-Wimplicit-int] static mask_from_length[ 33 ]; /* host byte order */ ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DNETBSD -DHAVE_CONFIG_H -c ../../src/bgp/integrat/subnet.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DNETBSD -DHAVE_CONFIG_H -c ../../src/bgp/integrat/../wattcp/unixtcp.c ar r libbgp.a readbgp.o subnet.o unixtcp.o ar: creating libbgp.a ranlib libbgp.a cd src/srl; /usr/bin/make gcc -I../../src/srl -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl.c ../../src/srl/srl.c: In function 'IF_statement': ../../src/srl/srl.c:475:7: warning: implicit declaration of function 'nextnb' [-Wimplicit-function-declaration] nextnb(); /* 1-char lookahead */ ^ ../../src/srl/srl.c: In function 'main': ../../src/srl/srl.c:1441:4: warning: implicit declaration of function 'init_symbol_table' [-Wimplicit-function-declaration] init_symbol_table(); ^ gcc -I../../src/srl -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl_scan.c gcc -I../../src/srl -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl_emit.c ../../src/srl/srl_emit.c:230:8: warning: type defaults to 'int' in declaration of 'if_grp_ix' [-Wimplicit-int] static if_grp_ix; ^ ../../src/srl/srl_emit.c: In function 'optimise_or_group': ../../src/srl/srl_emit.c:501:7: warning: implicit declaration of function 'check_mask' [-Wimplicit-function-declaration] check_mask(na[0]); ^ ../../src/srl/srl_emit.c: In function 'read_node': ../../src/srl/srl_emit.c:947:7: warning: implicit declaration of function 'lookup' [-Wimplicit-function-declaration] lookup(attrib); ^ gcc -o srl srl.o srl_scan.o srl_emit.o -lresolv -lm cd src/manager; /usr/bin/make gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc.c ../../src/manager/nmc.c: In function 'main': ../../src/manager/nmc.c:899:7: warning: implicit declaration of function 'end_of_file' [-Wimplicit-function-declaration] if (end_of_file()) break; ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_pars.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_c64.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_snmp.c ../../src/manager/nmc_snmp.c: In function 'log_snmp_err': ../../src/manager/nmc_snmp.c:482:7: warning: implicit declaration of function 'sprint_objid' [-Wimplicit-function-declaration] sprint_objid(buf, vars->name, vars->name_length); ^ gcc -o NeMaC nmc.o nmc_pars.o nmc_c64.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lm gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_rc.c gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_display.c gcc -o nm_rc nm_rc.o nm_display.o nmc_pars.o nmc_c64.o nmc_snmp.o ../../src/snmplib/libsnmp.a ../../src/snmplib/libsnmp.a -lresolv -lm gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_st.c ../../src/manager/nm_st.c: In function 'main': ../../src/manager/nm_st.c:322:4: warning: implicit declaration of function 'init_mib' [-Wimplicit-function-declaration] init_mib(); /* Initialise SNMP handler */ ^ gcc -o nm_st nm_st.o nmc_c64.o nmc_pars.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lm gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_rr.c ../../src/manager/nm_rr.c: In function 'main': ../../src/manager/nm_rr.c:319:4: warning: implicit declaration of function 'init_mib' [-Wimplicit-function-declaration] init_mib(); /* Initialise SNMP handler */ ^ gcc -o nm_rr nm_rr.o nmc_c64.o nmc_pars.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lm gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_filter.c ../../src/manager/fd_filter.c: In function 'scan_tag': ../../src/manager/fd_filter.c:178:14: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] if (isalpha(ic)) break; ^ ../../src/manager/fd_filter.c: In function 'nextrecord': ../../src/manager/fd_filter.c:258:12: warning: implicit declaration of function 'check_formats' [-Wimplicit-function-declaration] if (!check_formats(&in_set, &out_set)) return 0; ^ ../../src/manager/fd_filter.c: In function 'main': ../../src/manager/fd_filter.c:449:14: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] for (--p; isspace(*p); ) --p; ^ ../../src/manager/fd_filter.c:450:12: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] for ( ; isdigit(*p); ) --p; ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_parse.c gcc -o fd_filter fd_filter.o fd_parse.o nmc_c64.o gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/manager -I../../src/snmplib -I../.. -DNETBSD -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_extract.c gcc -o fd_extract fd_extract.o fd_parse.o nmc_c64.o cd src/meter; /usr/bin/make gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../../src/meter -I../../src/meter/tcpdump -I../.. -DNETRAMET -DNETBSD -DHAVE_CONFIG_H -c ../../src/meter/flowhash.c ../../src/meter/flowhash.c:2805:8: warning: type defaults to 'int' in declaration of 'last_ntm_LastTime' [-Wimplicit-int] static last_ntm_LastTime = 0; ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../../src/meter -I../../src/meter/tcpdump -I../.. -DNETRAMET -DNETBSD -DHAVE_CONFIG_H -c ../../src/meter/met_vars.c ../../src/meter/met_vars.c: In function 'log_msg': ../../src/meter/met_vars.c:595:17: warning: implicit declaration of function 'stop_meter' [-Wimplicit-function-declaration] if (die > 0) stop_meter(die); ^ ../../src/meter/met_vars.c: In function 'var_system': ../../src/meter/met_vars.c:821:7: warning: implicit declaration of function 'pkt_counts' [-Wimplicit-function-declaration] pkt_counts(0); ^ gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I../../src/snmplib -I../../src/meter -I../../src/meter/tcpdump -I../.. -DNETRAMET -DNETBSD -DHAVE_CONFIG_H -c ../../src/meter/meter_ux.c ../../src/meter/meter_ux.c: In function 'main': ../../src/meter/meter_ux.c:2663:4: warning: implicit declaration of function 'init_snmp' [-Wimplicit-function-declaration] init_snmp(); ^ ../../src/meter/meter_ux.c:2683:4: warning: implicit declaration of function 'receive' [-Wimplicit-function-declaration] receive(sd,n_interfaces); ^ ../../src/meter/meter_ux.c: In function 'handle_keyboard': ../../src/meter/meter_ux.c:2859:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] switch (tolower(ch)) { ^ gcc -o NeTraMet meter_ux.o flowhash.o met_vars.o -L../../src/snmplib -lsnmp -L../../src/bgp -lbgp -lresolv -lm -Wl,-R/usr/lib -lpcap meter_ux.o: In function `interface_read': meter_ux.c:(.text+0x134): undefined reference to `pcap_read' meter_ux.o: In function `receive': meter_ux.c:(.text+0x1d30): undefined reference to `pcap_read' *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/security/netramet/work/NeTraMet44/src/meter *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/security/netramet/work/NeTraMet44 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/security/netramet *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/netramet