=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pchar-1.5nb7 --- main.o --- --- Kendall.o --- --- Pctest.o --- --- PctestIpv4.o --- --- PctestIpv4File.o --- --- PctestIpv4Udp.o --- --- PctestIpv4Raw.o --- --- PctestIpv4Tcp.o --- --- main.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c main.cc -o main.o --- Kendall.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c Kendall.cc -o Kendall.o --- Pctest.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c Pctest.cc -o Pctest.o --- PctestIpv4.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4.cc -o PctestIpv4.o --- PctestIpv4Udp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4Udp.cc -o PctestIpv4Udp.o --- PctestIpv4File.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4File.cc -o PctestIpv4File.o --- PctestIpv4Raw.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4Raw.cc -o PctestIpv4Raw.o --- PctestIpv4Tcp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4Tcp.cc -o PctestIpv4Tcp.o --- PctestIpv4Icmp.o --- c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I. -DSIZEOF_BOOL=1 -DHAVE_SOCKLEN_T=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IPV6=1 -DHAVE_SNMP=1 -c PctestIpv4Icmp.cc -o PctestIpv4Icmp.o --- PctestIpv4Raw.o --- In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Raw.h:40, from PctestIpv4Raw.cc:34: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ PctestIpv4Raw.cc: In member function 'virtual int PctestIpv4Raw::Test(TestRecord&)': PctestIpv4Raw.cc:249:27: error: 'malloc' was not declared in this scope icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ PctestIpv4Raw.cc:249:27: note: suggested alternative: 'tzalloc' icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ tzalloc --- main.o --- In file included from PctestIpv4Udp.h:40:0, from main.cc:50: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ --- PctestIpv4Raw.o --- PctestIpv4Raw.cc:472:5: error: 'free' was not declared in this scope free(icmpPacket); ^~~~ --- main.o --- In file included from main.cc:53:0: PctestIpv4Icmp.h: In constructor 'PctestIpv4Icmp::PctestIpv4Icmp(int)': PctestIpv4Icmp.h:49:2: error: 'exit' was not declared in this scope exit(1); ^~~~ --- PctestIpv4Raw.o --- PctestIpv4Raw.cc:472:5: note: suggested alternative: 'tzfree' free(icmpPacket); ^~~~ tzfree --- main.o --- PctestIpv4Icmp.h:49:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- Pctest.o --- Pctest.cc: In member function 'virtual char* Pctest::GeneratePayload(int)': Pctest.cc:181:11: error: 'random' was not declared in this scope buf[i] = random() & 0xff; ^~~~~~ --- main.o --- In file included from PctestIpv6Icmp.h:44:0, from main.cc:56: PctestIpv6.h: In member function 'virtual char* PctestIpv6::GetAddressFamilyString()': PctestIpv6.h:85:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET6"; } ^~~~~~~~~~ In file included from main.cc:56:0: PctestIpv6Icmp.h: In constructor 'PctestIpv6Icmp::PctestIpv6Icmp(int)': PctestIpv6Icmp.h:53:2: error: 'exit' was not declared in this scope exit(1); ^~~~ PctestIpv6Icmp.h:53:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- PctestIpv4Udp.o --- In file included from PctestIpv4Udp.h:40:0, from PctestIpv4Udp.cc:30: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ --- PctestIpv4File.o --- In file included from PctestIpv4File.h:40:0, from PctestIpv4File.cc:31: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ --- PctestIpv4Tcp.o --- In file included from PctestIpv4Tcp.h:40:0, from PctestIpv4Tcp.cc:34: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ PctestIpv4Tcp.cc: In constructor 'PctestIpv4Tcp::PctestIpv4Tcp(int)': PctestIpv4Tcp.cc:60:5: error: 'exit' was not declared in this scope exit(1); ^~~~ --- PctestIpv4Udp.o --- PctestIpv4Udp.cc: In member function 'virtual int PctestIpv4Udp::Test(TestRecord&)': PctestIpv4Udp.cc:149:27: error: 'malloc' was not declared in this scope icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ --- PctestIpv4Tcp.o --- PctestIpv4Tcp.cc:60:5: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- Pctest.o --- *** [Pctest.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 --- PctestIpv4Raw.o --- *** [PctestIpv4Raw.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 --- PctestIpv4.o --- In file included from PctestIpv4.cc:31:0: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ --- PctestIpv4Udp.o --- PctestIpv4Udp.cc:149:27: note: suggested alternative: 'tzalloc' icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ tzalloc --- main.o --- main.cc: In function 'char* GetAddressFamily()': main.cc:264:3: error: 'exit' was not declared in this scope exit(1); ^~~~ --- PctestIpv4Tcp.o --- PctestIpv4Tcp.cc: In member function 'virtual int PctestIpv4Tcp::Test(TestRecord&)': PctestIpv4Tcp.cc:419:5: error: 'exit' was not declared in this scope exit(1); ^~~~ --- main.o --- main.cc:264:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- PctestIpv4Tcp.o --- PctestIpv4Tcp.cc:419:5: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- main.o --- main.cc: In function 'char* GetPrintableNetworkProtocol(NetworkProtocolType)': main.cc:299:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("UDP/IPv4"); ^ main.cc:302:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("UDP/IPv4 (raw sockets)"); ^ main.cc:305:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("TCP/IPv4 (raw sockets)"); ^ main.cc:308:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("ICMP/IPv4 (raw sockets)"); ^ main.cc:311:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("IPv4 save file"); ^ main.cc:315:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("ICMPv6/IPv6"); ^ main.cc:318:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("TCP/IPv6"); ^ main.cc:321:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("UDP/IPv6"); ^ main.cc:324:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("IPv6 save file"); ^ main.cc:328:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("unknown network protocol"); ^ main.cc: In function 'int main(int, char**)': main.cc:365:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:365:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:372:14: error: 'atoi' was not declared in this scope Burst = atoi(optarg); ^~~~ main.cc:372:14: note: suggested alternative: 'atof' Burst = atoi(optarg); ^~~~ atof main.cc:394:6: error: 'exit' was not declared in this scope exit(1); ^~~~ --- PctestIpv4Udp.o --- PctestIpv4Udp.cc:321:5: error: 'free' was not declared in this scope free(icmpPacket); ^~~~ --- main.o --- main.cc:394:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:400:19: error: 'atoi' was not declared in this scope DebugLevel = atoi(optarg); ^~~~ --- PctestIpv4Udp.o --- PctestIpv4Udp.cc:321:5: note: suggested alternative: 'tzfree' free(icmpPacket); ^~~~ tzfree --- main.o --- main.cc:400:19: note: suggested alternative: 'atof' DebugLevel = atoi(optarg); ^~~~ atof main.cc:421:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:421:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:429:6: error: 'exit' was not declared in this scope exit(0); ^~~~ main.cc:429:6: note: suggested alternative: '_exit' exit(0); ^~~~ _exit main.cc:435:13: error: 'atoi' was not declared in this scope Hops = atoi(optarg); ^~~~ main.cc:435:13: note: suggested alternative: 'atof' Hops = atoi(optarg); ^~~~ atof main.cc:454:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:454:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:460:18: error: 'atoi' was not declared in this scope Increment = atoi(optarg); ^~~~ main.cc:460:18: note: suggested alternative: 'atof' Increment = atoi(optarg); ^~~~ atof main.cc:469:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:469:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:476:12: error: 'atoi' was not declared in this scope Mtu = atoi(optarg); ^~~~ --- PctestIpv4Tcp.o --- *** [PctestIpv4Tcp.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 --- main.o --- main.cc:476:12: note: suggested alternative: 'atof' Mtu = atoi(optarg); ^~~~ atof main.cc:479:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:479:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:495:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:495:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:536:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:536:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:543:13: error: 'atoi' was not declared in this scope Port = atoi(optarg); ^~~~ main.cc:543:13: note: suggested alternative: 'atof' Port = atoi(optarg); ^~~~ atof main.cc:559:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:559:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:569:20: error: 'atoi' was not declared in this scope Repetitions = atoi(optarg); ^~~~ main.cc:569:20: note: suggested alternative: 'atof' Repetitions = atoi(optarg); ^~~~ atof main.cc:575:17: error: 'atoi' was not declared in this scope StartHop = atoi(optarg); ^~~~ main.cc:575:17: note: suggested alternative: 'atof' StartHop = atoi(optarg); ^~~~ atof main.cc:597:16: error: 'atoi' was not declared in this scope Timeout = atoi(optarg); ^~~~ main.cc:597:16: note: suggested alternative: 'atof' Timeout = atoi(optarg); ^~~~ atof main.cc:607:12: error: 'atoi' was not declared in this scope Tos = atoi(optarg); ^~~~ main.cc:607:12: note: suggested alternative: 'atof' Tos = atoi(optarg); ^~~~ atof main.cc:621:6: error: 'exit' was not declared in this scope exit(0); ^~~~ main.cc:621:6: note: suggested alternative: '_exit' exit(0); ^~~~ _exit main.cc:629:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:629:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:640:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:640:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:647:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:647:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:659:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:659:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:667:5: error: 'srandom' was not declared in this scope srandom(time(NULL)); ^~~~~~~ --- PctestIpv4Udp.o --- *** [PctestIpv4Udp.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 --- main.o --- main.cc:667:5: note: suggested alternative: 'random' srandom(time(NULL)); ^~~~~~~ random main.cc:689:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:689:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:704:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:704:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:706:6: error: 'free' was not declared in this scope free(af); ^~~~ main.cc:706:6: note: suggested alternative: 'tzfree' free(af); ^~~~ tzfree main.cc:734:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:734:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:765:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:765:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:806:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:806:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:814:2: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:814:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:817:2: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:817:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:822:2: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:822:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:825:2: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:825:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:851:2: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:851:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:855:5: error: 'exit' was not declared in this scope exit(0); ^~~~ main.cc:855:5: note: suggested alternative: '_exit' exit(0); ^~~~ _exit main.cc: In function 'void DoPchar(Pctest*)': main.cc:900:39: error: 'calloc' was not declared in this scope PartialResults = (ResultTable **) calloc(Hops, sizeof(ResultTable *)); ^~~~~~ main.cc:900:39: note: suggested alternative: 'tzalloc' PartialResults = (ResultTable **) calloc(Hops, sizeof(ResultTable *)); ^~~~~~ tzalloc main.cc:952:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:952:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1009:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1009:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1050:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1050:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1104:7: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1104:7: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1161:8: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1161:8: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1187:4: error: 'abort' was not declared in this scope abort(); ^~~~~ main.cc:1187:4: note: suggested alternative: 'Port' abort(); ^~~~~ Port main.cc:1249:4: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1249:4: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1299:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1299:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1366:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1366:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1459:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1459:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1478:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1478:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc: In function 'void DoTrout(Pctest*)': main.cc:1579:3: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1579:3: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1642:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1642:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit main.cc:1690:6: error: 'abort' was not declared in this scope abort(); ^~~~~ main.cc:1690:6: note: suggested alternative: 'Port' abort(); ^~~~~ Port main.cc:1730:6: error: 'exit' was not declared in this scope exit(1); ^~~~ main.cc:1730:6: note: suggested alternative: '_exit' exit(1); ^~~~ _exit --- PctestIpv4Icmp.o --- In file included from PctestIpv4Icmp.h:40:0, from PctestIpv4Icmp.cc:33: PctestIpv4.h: In member function 'virtual char* PctestIpv4::GetAddressFamilyString()': PctestIpv4.h:80:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] virtual char *GetAddressFamilyString() { return "AF_INET"; }; ^~~~~~~~~ In file included from PctestIpv4Icmp.cc:33:0: PctestIpv4Icmp.h: In constructor 'PctestIpv4Icmp::PctestIpv4Icmp(int)': PctestIpv4Icmp.h:49:2: error: 'exit' was not declared in this scope exit(1); ^~~~ PctestIpv4Icmp.h:49:2: note: suggested alternative: '_exit' exit(1); ^~~~ _exit PctestIpv4Icmp.cc: In member function 'virtual int PctestIpv4Icmp::Test(TestRecord&)': PctestIpv4Icmp.cc:223:27: error: 'malloc' was not declared in this scope icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ PctestIpv4Icmp.cc:223:27: note: suggested alternative: 'tzalloc' icmpPacket = (char *) malloc(IP_MAXPACKET); ^~~~~~ tzalloc --- main.o --- *** [main.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 --- PctestIpv4Icmp.o --- PctestIpv4Icmp.cc:463:5: error: 'free' was not declared in this scope free(icmpPacket); ^~~~ PctestIpv4Icmp.cc:463:5: note: suggested alternative: 'tzfree' free(icmpPacket); ^~~~ tzfree *** [PctestIpv4Icmp.o] Error code 1 make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 6 errors make: stopped in /pbulk/work/net/pchar/work/pchar-1.5 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/pchar *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/pchar