Created
May 24, 2019 10:53
-
-
Save Micrified/920670728f5102487be0d5c74335bf00 to your computer and use it in GitHub Desktop.
DNSPerf build output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from dnsperf.c:92: | |
net.h:68:56: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
unsigned int offset, int bufsize, int sock_type, isc_boolean_t debug); | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
In file included from dnsperf.c:93: | |
datafile.h:39:6: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
isc_boolean_t is_update); | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
In file included from dnsperf.c:94: | |
dns.h:55:20: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
perf_dns_createctx(isc_boolean_t updates); | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
dns.h:62:9: error: unknown type name 'isc_uint16_t'; did you mean 'u_int16_t'? | |
isc_uint16_t qid, | |
^~~~~~~~~~~~ | |
u_int16_t | |
dns.h:63:9: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
isc_boolean_t edns, isc_boolean_t dnssec, | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
dns.h:63:29: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
isc_boolean_t edns, isc_boolean_t dnssec, | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
In file included from dnsperf.c:97: | |
os.h:39:30: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
perf_os_blocksignal(int sig, isc_boolean_t block); | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
os.h:45:36: error: unknown type name 'isc_int64_t'; did you mean 'u_int64_t'? | |
perf_os_waituntilwriteable(int fd, isc_int64_t timeout); | |
^~~~~~~~~~~ | |
u_int64_t | |
os.h:48:48: error: unknown type name 'isc_int64_t'; did you mean 'u_int64_t'? | |
perf_os_waituntilreadable(int fd, int pipe_fd, isc_int64_t timeout); | |
^~~~~~~~~~~ | |
u_int64_t | |
os.h:52:9: error: unknown type name 'isc_int64_t'; did you mean 'u_int64_t'? | |
isc_int64_t timeout); | |
^~~~~~~~~~~ | |
u_int64_t | |
In file included from dnsperf.c:98: | |
util.h:118:19: error: unknown type name 'isc_uint64_t' | |
static __inline__ isc_uint64_t | |
^~~~~~~~~~~~ | |
util.h: In function 'get_time': | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
util.h:123:21: note: in expansion of macro 'MILLION' | |
return tv.tv_sec * MILLION + tv.tv_usec; | |
^~~~~~~ | |
util.h:30:19: note: each undeclared identifier is reported only once for each function it appears in | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
util.h:123:21: note: in expansion of macro 'MILLION' | |
return tv.tv_sec * MILLION + tv.tv_usec; | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
util.h:123:21: note: in expansion of macro 'MILLION' | |
return tv.tv_sec * MILLION + tv.tv_usec; | |
^~~~~~~ | |
dnsperf.c: At top level: | |
dnsperf.c:120:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t clients; | |
^~~~~~~~~~~~ | |
dnsperf.c:121:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t threads; | |
^~~~~~~~~~~~ | |
dnsperf.c:122:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t maxruns; | |
^~~~~~~~~~~~ | |
dnsperf.c:123:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t timelimit; | |
^~~~~~~~~~~~ | |
dnsperf.c:126:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t timeout; | |
^~~~~~~~~~~~ | |
dnsperf.c:127:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t bufsize; | |
^~~~~~~~~~~~ | |
dnsperf.c:128:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t edns; | |
^~~~~~~~~~~~~ | |
dnsperf.c:129:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t dnssec; | |
^~~~~~~~~~~~~ | |
dnsperf.c:131:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t max_outstanding; | |
^~~~~~~~~~~~ | |
dnsperf.c:132:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t max_qps; | |
^~~~~~~~~~~~ | |
dnsperf.c:133:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t stats_interval; | |
^~~~~~~~~~~~ | |
dnsperf.c:134:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t updates; | |
^~~~~~~~~~~~~ | |
dnsperf.c:135:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t verbose; | |
^~~~~~~~~~~~~ | |
dnsperf.c:136:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t debug; | |
^~~~~~~~~~~~~ | |
dnsperf.c:137:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t usetcp; | |
^~~~~~~~~~~~~ | |
dnsperf.c:138:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t usetcptls; | |
^~~~~~~~~~~~~ | |
dnsperf.c:139:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t max_tcp_q; | |
^~~~~~~~~~~~ | |
dnsperf.c:143:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t start_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:144:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t end_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:145:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t stop_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:147:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t tcp_hs_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:148:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t tls_hs_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:152:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t rcodecounts[16]; | |
^~~~~~~~~~~~ | |
dnsperf.c:154:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_sent; | |
^~~~~~~~~~~~ | |
dnsperf.c:155:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_interrupted; | |
^~~~~~~~~~~~ | |
dnsperf.c:156:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_timedout; | |
^~~~~~~~~~~~ | |
dnsperf.c:157:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_completed; | |
^~~~~~~~~~~~ | |
dnsperf.c:158:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_tcp_conns; | |
^~~~~~~~~~~~ | |
dnsperf.c:160:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t total_request_size; | |
^~~~~~~~~~~~ | |
dnsperf.c:161:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t total_response_size; | |
^~~~~~~~~~~~ | |
dnsperf.c:163:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t latency_sum; | |
^~~~~~~~~~~~ | |
dnsperf.c:164:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t latency_sum_squares; | |
^~~~~~~~~~~~ | |
dnsperf.c:165:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t latency_min; | |
^~~~~~~~~~~~ | |
dnsperf.c:166:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t latency_max; | |
^~~~~~~~~~~~ | |
dnsperf.c:190:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_recv; | |
^~~~~~~~~~~~ | |
dnsperf.c:191:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_sent; | |
^~~~~~~~~~~~ | |
dnsperf.c:192:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t num_in_flight; | |
^~~~~~~~~~~~ | |
dnsperf.c:199:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t con_start_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:200:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t tcp_hs_done_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:201:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t tls_hs_done_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:202:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t cumulative_tcp_hs_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:203:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t cumulative_tls_hs_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:209:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t timestamp; | |
^~~~~~~~~~~~ | |
dnsperf.c:239:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t done_sending; | |
^~~~~~~~~~~~~ | |
dnsperf.c:240:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t done_send_time; | |
^~~~~~~~~~~~ | |
dnsperf.c:246:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t max_outstanding; | |
^~~~~~~~~~~~ | |
dnsperf.c:247:2: error: unknown type name 'isc_uint32_t' | |
isc_uint32_t max_qps; | |
^~~~~~~~~~~~ | |
dnsperf.c:249:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t last_recv; | |
^~~~~~~~~~~~ | |
dnsperf.c:256:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t started; | |
^~~~~~~~~~~~~ | |
dnsperf.c:258:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t interrupted = ISC_FALSE; | |
^~~~~~~~~~~~~ | |
dnsperf.c:258:36: error: 'ISC_FALSE' undeclared here (not in a function); did you mean 'ISC_XML_H'? | |
static isc_boolean_t interrupted = ISC_FALSE; | |
^~~~~~~~~ | |
ISC_XML_H | |
In file included from dnsperf.c:98: | |
dnsperf.c: In function 'print_initial_status': | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:304:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(config->timelimit / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:304:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(config->timelimit / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:305:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(config->timelimit % MILLION)); | |
^~~~~~~ | |
dnsperf.c: At top level: | |
dnsperf.c:332:8: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
stddev(isc_uint64_t sum_of_squares, isc_uint64_t sum, isc_uint64_t total) | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:332:37: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
stddev(isc_uint64_t sum_of_squares, isc_uint64_t sum, isc_uint64_t total) | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:332:55: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
stddev(isc_uint64_t sum_of_squares, isc_uint64_t sum, isc_uint64_t total) | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c: In function 'print_statistics': | |
dnsperf.c:344:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t run_time; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:345:2: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
isc_boolean_t first_rcode; | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
dnsperf.c:346:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t latency_avg; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:347:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t connection_time; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:356:31: error: expected ')' before 'ISC_PRINT_QUADFORMAT' | |
printf(" %s sent: %" ISC_PRINT_QUADFORMAT "u\n", | |
^~~~~~~~~~~~~~~~~~~~~ | |
) | |
dnsperf.c:358:31: error: expected ')' before 'ISC_PRINT_QUADFORMAT' | |
printf(" %s completed: %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)\n", | |
^~~~~~~~~~~~~~~~~~~~~ | |
) | |
dnsperf.c:361:31: error: expected ')' before 'ISC_PRINT_QUADFORMAT' | |
printf(" %s lost: %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)\n", | |
^~~~~~~~~~~~~~~~~~~~~ | |
) | |
dnsperf.c:365:32: error: expected ')' before 'ISC_PRINT_QUADFORMAT' | |
printf(" %s interrupted: %" ISC_PRINT_QUADFORMAT "u " | |
^~~~~~~~~~~~~~~~~~~~~ | |
) | |
dnsperf.c:373:16: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
first_rcode = ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c:381:16: error: expected ')' before 'ISC_PRINT_QUADFORMAT' | |
printf("%s %" ISC_PRINT_QUADFORMAT "u (%.2lf%%)", | |
^~~~~~~~~~~~~~~~~~~~~ | |
) | |
In file included from dnsperf.c:98: | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:393:35: note: in expansion of macro 'MILLION' | |
(unsigned int)(run_time / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:393:35: note: in expansion of macro 'MILLION' | |
(unsigned int)(run_time / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:394:35: note: in expansion of macro 'MILLION' | |
(unsigned int)(run_time % MILLION)); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
util.h:126:27: note: in definition of macro 'SAFE_DIV' | |
#define SAFE_DIV(n, d) ( (d) == 0 ? 0 : (n) / (d) ) | |
^ | |
dnsperf.c:396:62: note: in expansion of macro 'MILLION' | |
SAFE_DIV(stats->num_completed, (((double)run_time) / MILLION))); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
util.h:126:48: note: in definition of macro 'SAFE_DIV' | |
#define SAFE_DIV(n, d) ( (d) == 0 ? 0 : (n) / (d) ) | |
^ | |
dnsperf.c:396:62: note: in expansion of macro 'MILLION' | |
SAFE_DIV(stats->num_completed, (((double)run_time) / MILLION))); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:404:69: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tcp_hs_time / config->clients) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:405:69: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tcp_hs_time / config->clients) % MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:408:69: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tls_hs_time / config->clients) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:409:69: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tls_hs_time / config->clients) % MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:412:90: note: in expansion of macro 'MILLION' | |
(unsigned int)(((times->tcp_hs_time+times->tls_hs_time) / config->clients) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:413:90: note: in expansion of macro 'MILLION' | |
(unsigned int)(((times->tcp_hs_time+times->tls_hs_time) / config->clients) % MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:416:74: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tcp_hs_time / stats->num_tcp_conns) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:417:74: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tcp_hs_time / stats->num_tcp_conns) % MILLION)); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:419:74: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tls_hs_time / stats->num_tcp_conns) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:420:74: note: in expansion of macro 'MILLION' | |
(unsigned int)((times->tls_hs_time / stats->num_tcp_conns) % MILLION)); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:422:95: note: in expansion of macro 'MILLION' | |
(unsigned int)(((times->tcp_hs_time+times->tls_hs_time) / stats->num_tcp_conns) / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:423:95: note: in expansion of macro 'MILLION' | |
(unsigned int)(((times->tcp_hs_time+times->tls_hs_time) / stats->num_tcp_conns) % MILLION)); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
util.h:126:27: note: in definition of macro 'SAFE_DIV' | |
#define SAFE_DIV(n, d) ( (d) == 0 ? 0 : (n) / (d) ) | |
^ | |
dnsperf.c:427:70: note: in expansion of macro 'MILLION' | |
SAFE_DIV(stats->num_completed, (((double)connection_time) / MILLION))); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
util.h:126:48: note: in definition of macro 'SAFE_DIV' | |
#define SAFE_DIV(n, d) ( (d) == 0 ? 0 : (n) / (d) ) | |
^ | |
dnsperf.c:427:70: note: in expansion of macro 'MILLION' | |
SAFE_DIV(stats->num_completed, (((double)connection_time) / MILLION))); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:433:38: note: in expansion of macro 'MILLION' | |
(unsigned int)(latency_avg / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:434:38: note: in expansion of macro 'MILLION' | |
(unsigned int)(latency_avg % MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:435:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(stats->latency_min / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:436:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(stats->latency_min % MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:437:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(stats->latency_max / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:438:45: note: in expansion of macro 'MILLION' | |
(unsigned int)(stats->latency_max % MILLION)); | |
^~~~~~~ | |
dnsperf.c:441:10: warning: implicit declaration of function 'stddev'; did you mean 'strsep'? [-Wimplicit-function-declaration] | |
stddev(stats->latency_sum_squares, stats->latency_sum, | |
^~~~~~ | |
strsep | |
In file included from dnsperf.c:98: | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:442:34: note: in expansion of macro 'MILLION' | |
stats->num_completed) / MILLION); | |
^~~~~~~ | |
dnsperf.c: In function 'setup': | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:506:38: note: in expansion of macro 'MILLION' | |
config->timeout = DEFAULT_TIMEOUT * MILLION; | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:506:38: note: in expansion of macro 'MILLION' | |
config->timeout = DEFAULT_TIMEOUT * MILLION; | |
^~~~~~~ | |
dnsperf.c:600:18: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
config->edns = ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: At top level: | |
dnsperf.c:664:15: error: unknown type name 'isc_uint64_t' | |
static inline isc_uint64_t | |
^~~~~~~~~~~~ | |
dnsperf.c:731:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t | |
^~~~~~~~~~~~~ | |
dnsperf.c: In function 'find_sending_tcp_connection': | |
dnsperf.c:761:8: warning: implicit declaration of function 'perf_os_waituntilwriteable'; did you mean 'perf_os_handlesignal'? [-Wimplicit-function-declaration] | |
if (perf_os_waituntilwriteable(sock->fd, 0) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
perf_os_handlesignal | |
dnsperf.c:771:6: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now = get_time(); | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:778:5: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now = get_time(); | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:800:6: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now = get_time(); | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:813:10: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
return ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: In function 'do_send': | |
dnsperf.c:826:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now, run_time, req_time; | |
^~~~~~~~~~~~ | |
u_int64_t | |
In file included from dnsperf.c:98: | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:862:16: note: in expansion of macro 'MILLION' | |
req_time = (MILLION * stats->num_sent) / | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:862:16: note: in expansion of macro 'MILLION' | |
req_time = (MILLION * stats->num_sent) / | |
^~~~~~~ | |
util.h:110:2: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
isc_boolean_t *res = (timedout); \ | |
^~~~~~~~~~~~~ | |
dnsperf.c:875:4: note: in expansion of macro 'TIMEDWAIT' | |
TIMEDWAIT(&tinfo->cond, &tinfo->lock, | |
^~~~~~~~~ | |
util.h:115:10: warning: implicit declaration of function 'ISC_TF'; did you mean 'IOC_IN'? [-Wimplicit-function-declaration] | |
*res = ISC_TF(__n != 0); \ | |
^~~~~~ | |
dnsperf.c:875:4: note: in expansion of macro 'TIMEDWAIT' | |
TIMEDWAIT(&tinfo->cond, &tinfo->lock, | |
^~~~~~~~~ | |
dnsperf.c:900:18: error: 'ISC_UINT64_MAX' undeclared (first use in this function); did you mean 'UINT64_MAX'? | |
q->timestamp = ISC_UINT64_MAX; | |
^~~~~~~~~~~~~~ | |
UINT64_MAX | |
dnsperf.c:906:12: warning: implicit declaration of function 'perf_datafile_next'; did you mean 'perf_datafile_nruns'? [-Wimplicit-function-declaration] | |
result = perf_datafile_next(input, &lines, config->updates); | |
^~~~~~~~~~~~~~~~~~ | |
perf_datafile_nruns | |
dnsperf.c:916:12: warning: implicit declaration of function 'perf_dns_buildrequest' [-Wimplicit-function-declaration] | |
result = perf_dns_buildrequest(tinfo->dnsctx, | |
^~~~~~~~~~~~~~~~~~~~~ | |
dnsperf.c:970:24: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
tinfo->done_sending = ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: At top level: | |
dnsperf.c:977:39: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
process_timeouts(threadinfo_t *tinfo, isc_uint64_t now) | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1055:2: error: unknown type name 'isc_uint16_t' | |
isc_uint16_t qid; | |
^~~~~~~~~~~~ | |
dnsperf.c:1056:2: error: unknown type name 'isc_uint16_t' | |
isc_uint16_t rcode; | |
^~~~~~~~~~~~ | |
dnsperf.c:1058:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t when; | |
^~~~~~~~~~~~ | |
dnsperf.c:1059:2: error: unknown type name 'isc_uint64_t' | |
isc_uint64_t sent; | |
^~~~~~~~~~~~ | |
dnsperf.c:1060:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t unexpected; | |
^~~~~~~~~~~~~ | |
dnsperf.c:1061:2: error: unknown type name 'isc_boolean_t' | |
isc_boolean_t short_response; | |
^~~~~~~~~~~~~ | |
dnsperf.c:1065:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t | |
^~~~~~~~~~~~~ | |
dnsperf.c: In function 'recv_one': | |
dnsperf.c:1070:2: error: unknown type name 'isc_uint16_t'; did you mean 'u_int16_t'? | |
isc_uint16_t *packet_header; | |
^~~~~~~~~~~~ | |
u_int16_t | |
dnsperf.c:1076:19: error: 'isc_uint16_t' undeclared (first use in this function); did you mean 'u_int16_t'? | |
packet_header = (isc_uint16_t *) packet_buffer; | |
^~~~~~~~~~~~ | |
u_int16_t | |
dnsperf.c:1076:33: error: expected expression before ')' token | |
packet_header = (isc_uint16_t *) packet_buffer; | |
^ | |
dnsperf.c:1145:9: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
return ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: At top level: | |
dnsperf.c:1159:15: error: unknown type name 'isc_boolean_t' | |
static inline isc_boolean_t | |
^~~~~~~~~~~~~ | |
dnsperf.c: In function 'bit_check': | |
dnsperf.c:1167:10: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
return ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: In function 'close_socket': | |
dnsperf.c:1175:3: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now = get_time(); | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c: At top level: | |
dnsperf.c:1197:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t | |
^~~~~~~~~~~~~ | |
dnsperf.c:1198:52: error: unknown type name 'isc_boolean_t'; did you mean 'isc_socket_t'? | |
open_socket(threadinfo_t *tinfo, sockinfo_t *sock, isc_boolean_t reopen) | |
^~~~~~~~~~~~~ | |
isc_socket_t | |
dnsperf.c:1259:8: error: unknown type name 'isc_boolean_t' | |
static isc_boolean_t | |
^~~~~~~~~~~~~ | |
dnsperf.c: In function 'check_tcp_connection': | |
dnsperf.c:1270:3: warning: implicit declaration of function 'open_socket'; did you mean 'close_socket'? [-Wimplicit-function-declaration] | |
open_socket(tinfo, sock, ISC_TRUE); | |
^~~~~~~~~~~ | |
close_socket | |
dnsperf.c:1270:28: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
open_socket(tinfo, sock, ISC_TRUE); | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c: In function 'do_recv': | |
dnsperf.c:1286:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now, latency; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1298:3: warning: implicit declaration of function 'process_timeouts'; did you mean 'SSL_get_timeout'? [-Wimplicit-function-declaration] | |
process_timeouts(tinfo, now); | |
^~~~~~~~~~~~~~~~ | |
SSL_get_timeout | |
dnsperf.c:1347:24: error: 'ISC_UINT64_MAX' undeclared (first use in this function); did you mean 'UINT64_MAX'? | |
q->timestamp == ISC_UINT64_MAX || | |
^~~~~~~~~~~~~~ | |
UINT64_MAX | |
dnsperf.c:1350:27: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
recvd[i].unexpected = ISC_TRUE; | |
^~~~~~~~ | |
SO_TYPE | |
In file included from dnsperf.c:98: | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:1380:31: note: in expansion of macro 'MILLION' | |
(unsigned int)(latency / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1380:31: note: in expansion of macro 'MILLION' | |
(unsigned int)(latency / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1381:31: note: in expansion of macro 'MILLION' | |
(unsigned int)(latency % MILLION)); | |
^~~~~~~ | |
dnsperf.c:1411:5: warning: implicit declaration of function 'perf_os_waituntilanyreadable' [-Wimplicit-function-declaration] | |
perf_os_waituntilanyreadable( | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
dnsperf.c: In function 'do_interval_stats': | |
dnsperf.c:1433:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t now; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1434:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t last_interval_time; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1435:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t last_completed; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1436:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t interval_time; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1437:2: error: unknown type name 'isc_uint64_t'; did you mean 'u_int64_t'? | |
isc_uint64_t num_completed; | |
^~~~~~~~~~~~ | |
u_int64_t | |
dnsperf.c:1445:9: warning: implicit declaration of function 'perf_os_waituntilreadable' [-Wimplicit-function-declaration] | |
while (perf_os_waituntilreadable(threadpipe[0], threadpipe[0], | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from dnsperf.c:98: | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:1453:52: note: in expansion of macro 'MILLION' | |
qps = num_completed / (((double)interval_time) / MILLION); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1453:52: note: in expansion of macro 'MILLION' | |
qps = num_completed / (((double)interval_time) / MILLION); | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1455:26: note: in expansion of macro 'MILLION' | |
(unsigned int)(now / MILLION), | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1456:26: note: in expansion of macro 'MILLION' | |
(unsigned int)(now % MILLION), qps); | |
^~~~~~~ | |
dnsperf.c: In function 'cancel_queries': | |
dnsperf.c:1469:9: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
while (ISC_TRUE) { | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c:1475:23: error: 'ISC_UINT64_MAX' undeclared (first use in this function); did you mean 'UINT64_MAX'? | |
if (q->timestamp == ISC_UINT64_MAX) | |
^~~~~~~~~~~~~~ | |
UINT64_MAX | |
dnsperf.c: At top level: | |
dnsperf.c:1487:8: error: unknown type name 'isc_uint32_t' | |
static isc_uint32_t | |
^~~~~~~~~~~~ | |
dnsperf.c:1488:12: error: unknown type name 'isc_uint32_t'; did you mean 'u_int32_t'? | |
per_thread(isc_uint32_t total, isc_uint32_t nthreads, unsigned int offset) | |
^~~~~~~~~~~~ | |
u_int32_t | |
dnsperf.c:1488:32: error: unknown type name 'isc_uint32_t'; did you mean 'u_int32_t'? | |
per_thread(isc_uint32_t total, isc_uint32_t nthreads, unsigned int offset) | |
^~~~~~~~~~~~ | |
u_int32_t | |
dnsperf.c: In function 'threadinfo_init': | |
dnsperf.c:1519:18: warning: implicit declaration of function 'perf_dns_createctx'; did you mean 'perf_dns_destroyctx'? [-Wimplicit-function-declaration] | |
tinfo->dnsctx = perf_dns_createctx(config->updates); | |
^~~~~~~~~~~~~~~~~~ | |
perf_dns_destroyctx | |
dnsperf.c:1519:16: warning: assignment to 'perf_dnsctx_t *' {aka 'struct perf_dnsctx *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] | |
tinfo->dnsctx = perf_dns_createctx(config->updates); | |
^ | |
dnsperf.c:1527:27: warning: implicit declaration of function 'per_thread'; did you mean 'SSL_read'? [-Wimplicit-function-declaration] | |
tinfo->max_outstanding = per_thread(config->max_outstanding, | |
^~~~~~~~~~ | |
SSL_read | |
dnsperf.c: In function 'main': | |
dnsperf.c:1628:2: warning: implicit declaration of function 'perf_os_blocksignal'; did you mean 'perf_os_handlesignal'? [-Wimplicit-function-declaration] | |
perf_os_blocksignal(SIGINT, ISC_TRUE); | |
^~~~~~~~~~~~~~~~~~~ | |
perf_os_handlesignal | |
dnsperf.c:1628:30: error: 'ISC_TRUE' undeclared (first use in this function); did you mean 'SO_TYPE'? | |
perf_os_blocksignal(SIGINT, ISC_TRUE); | |
^~~~~~~~ | |
SO_TYPE | |
dnsperf.c:1650:21: error: 'ISC_UINT64_MAX' undeclared (first use in this function); did you mean 'UINT64_MAX'? | |
times.stop_time = ISC_UINT64_MAX; | |
^~~~~~~~~~~~~~ | |
UINT64_MAX | |
In file included from dnsperf.c:98: | |
util.h:30:19: error: 'isc_uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? | |
#define MILLION ((isc_uint64_t) 1000000) | |
^~~~~~~~~~~~ | |
dnsperf.c:1651:48: note: in expansion of macro 'MILLION' | |
times.stop_time_ns.tv_sec = times.stop_time / MILLION; | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1651:48: note: in expansion of macro 'MILLION' | |
times.stop_time_ns.tv_sec = times.stop_time / MILLION; | |
^~~~~~~ | |
util.h:30:33: error: expected ')' before numeric constant | |
#define MILLION ((isc_uint64_t) 1000000) | |
~ ^~~~~~~ | |
dnsperf.c:1652:50: note: in expansion of macro 'MILLION' | |
times.stop_time_ns.tv_nsec = (times.stop_time % MILLION) * 1000; | |
^~~~~~~ | |
make[1]: *** [dnsperf.o] Error 1 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment