+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kore-4.2.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/kore-4.2.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for kore-4.2.3 /usr/bin/mkdir -p /home/pbulk/build/www/kore/work/kore-4.2.3/obj gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/buf.c -o obj/buf.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/config.c -o obj/config.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/connection.c -o obj/connection.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/domain.c -o obj/domain.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/filemap.c -o obj/filemap.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/fileref.c -o obj/fileref.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/json.c -o obj/json.o gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/opt/pkg"' -fstack-protector-all -DTLS_BACKEND_OPENSSL -I/opt/pkg/include -DKORE_USE_TASKS -c src/log.c -o obj/log.o In file included from src/connection.c:25: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t In file included from src/buf.c:24: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t In file included from src/json.c:26: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ In file included from src/config.c:29: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ In file included from src/filemap.c:25: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ In file included from src/fileref.c:24: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ In file included from src/domain.c:22: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ In file included from src/log.c:22: include/kore/kore.h:140:2: error: unknown type name 'u_int64_t' 140 | u_int64_t mtime; | ^~~~~~~~~ include/kore/kore.h:142:2: error: unknown type name 'u_int64_t' 142 | u_int64_t expiration; | ^~~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:149:2: error: unknown type name 'u_int8_t' 149 | u_int8_t *buf; | ^~~~~~~~ include/kore/kore.h:153:2: error: unknown type name 'u_int8_t' 153 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:154:2: error: unknown type name 'u_int8_t' 154 | u_int8_t flags; | ^~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:226:2: error: unknown type name 'u_int8_t' 226 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:227:2: error: unknown type name 'u_int8_t' 227 | u_int8_t proto; | ^~~~~~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:234:2: error: unknown type name 'u_int16_t' 234 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:250:3: error: unknown type name 'u_int64_t' 250 | u_int64_t length; | ^~~~~~~~~ include/kore/kore.h:251:3: error: unknown type name 'u_int64_t' 251 | u_int64_t start; | ^~~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:259:2: error: unknown type name 'u_int64_t' 259 | u_int64_t http_start; | ^~~~~~~~~ include/kore/kore.h:260:2: error: unknown type name 'u_int64_t' 260 | u_int64_t http_timeout; | ^~~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:288:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 288 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t method; | ^~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:334:2: error: unknown type name 'u_int16_t' 334 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:336:2: error: unknown type name 'u_int64_t' 336 | u_int64_t logwarn; | ^~~~~~~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:397:2: error: unknown type name 'u_int8_t' 397 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:449:2: error: unknown type name 'u_int16_t' 449 | u_int16_t domain; | ^~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:450:2: error: unknown type name 'u_int16_t' 450 | u_int16_t loglen; | ^~~~~~~~~ include/kore/kore.h:461:2: error: unknown type name 'u_int16_t' 461 | u_int16_t id; | ^~~~~~~~~ include/kore/kore.h:462:2: error: unknown type name 'u_int16_t' 462 | u_int16_t cpu; | ^~~~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:471:2: error: unknown type name 'u_int8_t' 471 | u_int8_t has_lock; | ^~~~~~~~ include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:473:2: error: unknown type name 'u_int64_t' 473 | u_int64_t time_locked; | ^~~~~~~~~ include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:491:2: error: unknown type name 'u_int8_t' 491 | u_int8_t type; | ^~~~~~~~ include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:504:2: error: unknown type name 'u_int8_t' 504 | u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:581:8: error: unknown type name 'u_int8_t' 581 | const u_int8_t *data; | ^~~~~~~~ include/kore/kore.h:591:2: error: unknown type name 'u_int32_t' 591 | u_int32_t type; | ^~~~~~~~~ include/kore/kore.h:601:3: error: unknown type name 'u_int64_t' 601 | u_int64_t u64; | ^~~~~~~~~ include/kore/kore.h:617:2: error: unknown type name 'u_int8_t' 617 | u_int8_t state; | ^~~~~~~~ include/kore/kore.h:636:2: error: unknown type name 'u_int64_t' 636 | u_int64_t nextrun; | ^~~~~~~~~ include/kore/kore.h:637:2: error: unknown type name 'u_int64_t' 637 | u_int64_t interval; | ^~~~~~~~~ include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:640:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 640 | void (*cb)(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:683:2: error: unknown type name 'u_int8_t' 683 | u_int8_t id; | ^~~~~~~~ include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:684:2: error: unknown type name 'u_int16_t' 684 | u_int16_t src; | ^~~~~~~~~ include/kore/kore.h:685:2: error: unknown type name 'u_int16_t' 685 | u_int16_t dst; | ^~~~~~~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:693:2: error: unknown type name 'u_int8_t' 693 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:699:2: error: unknown type name 'u_int8_t' 699 | u_int8_t data[]; | ^~~~~~~~ include/kore/kore.h:724:8: error: unknown type name 'u_int8_t' 724 | extern u_int8_t nlisteners; | ^~~~~~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:725:8: error: unknown type name 'u_int16_t' 725 | extern u_int16_t cpu_count; | ^~~~~~~~~ include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:726:8: error: unknown type name 'u_int8_t' 726 | extern u_int8_t worker_count; | ^~~~~~~~ include/kore/kore.h:730:8: error: unknown type name 'u_int8_t' 730 | extern u_int8_t worker_set_affinity; | ^~~~~~~~ include/kore/kore.h:731:8: error: unknown type name 'u_int32_t' 731 | extern u_int32_t worker_rlimit_nofiles; | ^~~~~~~~~ include/kore/kore.h:732:8: error: unknown type name 'u_int32_t' 732 | extern u_int32_t worker_max_connections; | ^~~~~~~~~ include/kore/kore.h:733:8: error: unknown type name 'u_int32_t' 733 | extern u_int32_t worker_active_connections; | ^~~~~~~~~ include/kore/kore.h:734:8: error: unknown type name 'u_int32_t' 734 | extern u_int32_t worker_accept_threshold; | ^~~~~~~~~ include/kore/kore.h:735:8: error: unknown type name 'u_int64_t' 735 | extern u_int64_t kore_websocket_maxframe; | ^~~~~~~~~ include/kore/kore.h:736:8: error: unknown type name 'u_int64_t' 736 | extern u_int64_t kore_websocket_timeout; | ^~~~~~~~~ include/kore/kore.h:737:8: error: unknown type name 'u_int32_t' 737 | extern u_int32_t kore_socket_backlog; | ^~~~~~~~~ include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:779:1: error: parameter names (without types) in function declaration [-Werror] 779 | int kore_worker_spawn(u_int16_t, u_int16_t, u_int16_t); | ^~~ include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:785:8: error: parameter names (without types) in function declaration [-Werror] 785 | struct kore_worker *kore_worker_data(u_int8_t); | ^~~~~~~~~~~ include/kore/kore.h:786:8: error: parameter names (without types) in function declaration [-Werror] 786 | struct kore_worker *kore_worker_data_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:797:1: error: parameter names (without types) in function declaration [-Werror] 797 | void kore_platform_event_wait(u_int64_t); | ^~~~ include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:840:46: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 840 | int kore_tls_x509_data(struct connection *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:847:1: error: parameter names (without types) in function declaration [-Werror] 847 | void kore_accesslog_init(u_int16_t); | ^~~~ include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:849:34: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 849 | void kore_accesslog_run(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:850:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 850 | void kore_accesslog_gather(void *, u_int64_t, int); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:865:1: error: parameter names (without types) in function declaration [-Werror] 865 | void kore_timer_run(u_int64_t); | ^~~~ include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:866:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 866 | u_int64_t kore_timer_next_run(u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:866:1: error: parameter names (without types) in function declaration [-Werror] include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:868:54: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 868 | struct kore_timer *kore_timer_add(void (*cb)(void *, u_int64_t), | ^~~~~~~~~ | uint64_t include/kore/kore.h:869:8: error: expected ';', ',' or ')' before 'u_int64_t' 869 | u_int64_t, void *, int); | ^~~~~~~~~ include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:878:1: error: parameter names (without types) in function declaration [-Werror] 878 | void kore_connection_check_timeout(u_int64_t); | ^~~~ include/kore/kore.h:884:50: error: expected ')' before 'struct' 884 | void kore_connection_check_idletimer(u_int64_t, | ^ | ) 885 | struct connection *); | ~~~~~~ include/kore/kore.h:908:1: error: parameter names (without types) in function declaration [-Werror] 908 | void *kore_mem_lookup(u_int32_t); | ^~~~ include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:910:28: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 910 | void kore_mem_tag(void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:911:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 911 | void *kore_malloc_tagged(size_t, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ In file included from include/kore/http.h:25, from src/connection.c:26: include/kore/sha2.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t st32[8]; | ^~~~~~~~~ include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/sha2.h:57:3: error: unknown type name 'u_int64_t' 57 | u_int64_t st64[8]; | ^~~~~~~~~ include/kore/sha2.h:59:2: error: unknown type name 'u_int64_t' 59 | u_int64_t bitcount[2]; | ^~~~~~~~~ include/kore/sha2.h:60:2: error: unknown type name 'u_int8_t' 60 | u_int8_t buffer[SHA512_BLOCK_LENGTH]; | ^~~~~~~~ include/kore/kore.h:926:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 926 | u_int64_t kore_time_ms(void); | ^~~~~~~~~ | uint64_t include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:64:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:64:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:65:37: error: unknown type name 'u_int8_t' 65 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:932:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 932 | u_int64_t kore_strtonum64(const char *, int, int *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/sha2.h:67:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 67 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:942:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 942 | int kore_base64_decode(const char *, u_int8_t **, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/sha2.h:71:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:71:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:72:37: error: unknown type name 'u_int8_t' 72 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:944:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 944 | int kore_base64url_decode(const char *, u_int8_t **, size_t *, int); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:74:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 74 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/sha2.h:78:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:78:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:79:37: error: unknown type name 'u_int8_t' 79 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:958:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 958 | u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/sha2.h:81:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 81 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t In file included from src/connection.c:26: include/kore/http.h:99:2: error: unknown type name 'u_int32_t' 99 | u_int32_t maxage; | ^~~~~~~~~ include/kore/http.h:101:2: error: unknown type name 'u_int16_t' 101 | u_int16_t flags; | ^~~~~~~~~ include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/http.h:271:2: error: unknown type name 'u_int8_t' 271 | u_int8_t method; | ^~~~~~~~ include/kore/http.h:272:2: error: unknown type name 'u_int8_t' 272 | u_int8_t fsm_state; | ^~~~~~~~ include/kore/http.h:273:2: error: unknown type name 'u_int16_t' 273 | u_int16_t flags; | ^~~~~~~~~ include/kore/http.h:274:2: error: unknown type name 'u_int16_t' 274 | u_int16_t status; | ^~~~~~~~~ include/kore/http.h:275:2: error: unknown type name 'u_int64_t' 275 | u_int64_t ms; | ^~~~~~~~~ include/kore/http.h:276:2: error: unknown type name 'u_int64_t' 276 | u_int64_t start; | ^~~~~~~~~ include/kore/http.h:277:2: error: unknown type name 'u_int64_t' 277 | u_int64_t end; | ^~~~~~~~~ include/kore/http.h:278:2: error: unknown type name 'u_int64_t' 278 | u_int64_t total; | ^~~~~~~~~ include/kore/http.h:285:2: error: unknown type name 'u_int8_t' 285 | u_int8_t *headers; | ^~~~~~~~ include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/http.h:289:2: error: unknown type name 'u_int64_t' 289 | u_int64_t http_body_length; | ^~~~~~~~~ include/kore/http.h:290:2: error: unknown type name 'u_int64_t' 290 | u_int64_t http_body_offset; | ^~~~~~~~~ include/kore/http.h:291:2: error: unknown type name 'u_int64_t' 291 | u_int64_t content_length; | ^~~~~~~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/http.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN]; | ^~~~~~~~ include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/http.h:345:8: error: unknown type name 'u_int16_t' 345 | extern u_int16_t http_body_timeout; | ^~~~~~~~~ include/kore/http.h:346:8: error: unknown type name 'u_int16_t' 346 | extern u_int16_t http_header_max; | ^~~~~~~~~ include/kore/http.h:347:8: error: unknown type name 'u_int16_t' 347 | extern u_int16_t http_header_timeout; | ^~~~~~~~~ include/kore/http.h:348:8: error: unknown type name 'u_int32_t' 348 | extern u_int32_t http_request_ms; | ^~~~~~~~~ include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/http.h:349:8: error: unknown type name 'u_int64_t' 349 | extern u_int64_t http_hsts_enable; | ^~~~~~~~~ include/kore/http.h:350:8: error: unknown type name 'u_int16_t' 350 | extern u_int16_t http_keepalive_time; | ^~~~~~~~~ include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/http.h:351:8: error: unknown type name 'u_int32_t' 351 | extern u_int32_t http_request_limit; | ^~~~~~~~~ include/kore/http.h:352:8: error: unknown type name 'u_int32_t' 352 | extern u_int32_t http_request_count; | ^~~~~~~~~ include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:960:7: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 960 | u_int8_t, const void *, size_t, int); | ^~~~~~~~ | uint8_t include/kore/http.h:353:8: error: unknown type name 'u_int64_t' 353 | extern u_int64_t http_body_disk_offload; | ^~~~~~~~~ include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/kore.h:967:1: error: parameter names (without types) in function declaration [-Werror] 967 | void kore_msg_unregister(u_int8_t); | ^~~~ include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:970:41: error: expected ')' before 'const' 970 | void kore_msg_send(u_int16_t, u_int8_t, const void *, size_t); | ^~~~~~ | ) include/kore/kore.h:971:33: error: expected ')' before 'void' 971 | int kore_msg_register(u_int8_t, | ^ | ) 972 | void (*cb)(struct kore_msg *, const void *)); | ~~~~ include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:994:8: error: parameter names (without types) in function declaration [-Werror] 994 | struct kore_domain *kore_domain_byid(u_int16_t); | ^~~~~~~~~~~ include/kore/http.h:377:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 377 | int http_check_timeout(struct connection *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/http.h:398:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 398 | int http_state_run(struct http_state *, u_int8_t, | ^~~~~~~~ | uint8_t include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1047:27: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1047 | struct connection *, u_int8_t, const void *, size_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/http.h:403:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 403 | const char *, const char *, time_t, u_int32_t, | ^~~~~~~~~ | uint32_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t src/connection.c: In function 'kore_connection_init': src/connection.c:35:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 35 | u_int32_t elm; | ^~~~~~~~~ | uint32_t src/buf.c: In function 'kore_buf_appendv': src/buf.c:97:7: error: implicit declaration of function 'vasprintf'; did you mean 'vsprintf'? [-Werror=implicit-function-declaration] 97 | l = vasprintf(&b, fmt, copy); | ^~~~~~~~~ | vsprintf include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1054:39: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1054 | int kore_validator_add(const char *, u_int8_t, const char *); | ^~~~~~~~ | uint8_t src/buf.c: At top level: src/buf.c:135:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 135 | u_int8_t * | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t src/buf.c: In function 'kore_buf_release': src/buf.c:138:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 138 | u_int8_t *p; | ^~~~~~~~ | uint8_t src/connection.c: At top level: src/connection.c:177:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 177 | kore_connection_check_timeout(u_int64_t now) | ^~~~~~~~~ | uint64_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:1: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t src/buf.c: In function 'kore_buf_replace_string': include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t src/buf.c:178:14: error: 'u_int8_t' undeclared (first use in this function); did you mean 'uint8_t'? 178 | b->data = (u_int8_t *)tmp; | ^~~~~~~~ | uint8_t src/buf.c:178:14: note: each undeclared identifier is reported only once for each function it appears in src/buf.c:178:24: error: expected expression before ')' token 178 | b->data = (u_int8_t *)tmp; | ^ include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1064:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1064 | u_int16_t net_read16(u_int8_t *); | ^~~~~~~~ | uint8_t src/connection.c:354:33: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 354 | kore_connection_check_idletimer(u_int64_t now, struct connection *c) | ^~~~~~~~~ | uint64_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1065:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t In file included from include/kore/http.h:25, from src/config.c:30: include/kore/sha2.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t st32[8]; | ^~~~~~~~~ include/kore/sha2.h:57:3: error: unknown type name 'u_int64_t' 57 | u_int64_t st64[8]; | ^~~~~~~~~ include/kore/sha2.h:59:2: error: unknown type name 'u_int64_t' 59 | u_int64_t bitcount[2]; | ^~~~~~~~~ include/kore/sha2.h:60:2: error: unknown type name 'u_int8_t' 60 | u_int8_t buffer[SHA512_BLOCK_LENGTH]; | ^~~~~~~~ include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:64:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:64:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:65:37: error: unknown type name 'u_int8_t' 65 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:1065:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1065 | u_int32_t net_read32(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t cc1: all warnings being treated as errors include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t cc1: all warnings being treated as errors include/kore/sha2.h:67:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 67 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:1: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:71:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:71:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:72:37: error: unknown type name 'u_int8_t' 72 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t In file included from include/kore/http.h:25, from src/filemap.c:29: include/kore/sha2.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t st32[8]; | ^~~~~~~~~ include/kore/sha2.h:57:3: error: unknown type name 'u_int64_t' 57 | u_int64_t st64[8]; | ^~~~~~~~~ include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:59:2: error: unknown type name 'u_int64_t' 59 | u_int64_t bitcount[2]; | ^~~~~~~~~ include/kore/sha2.h:60:2: error: unknown type name 'u_int8_t' 60 | u_int8_t buffer[SHA512_BLOCK_LENGTH]; | ^~~~~~~~ include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/sha2.h:64:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:64:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:65:37: error: unknown type name 'u_int8_t' 65 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:74:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 74 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/sha2.h:67:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 67 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t src/fileref.c:32:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 32 | static void fileref_expiration_check(void *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/sha2.h:71:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:71:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:72:37: error: unknown type name 'u_int8_t' 72 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/sha2.h:78:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:78:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:79:37: error: unknown type name 'u_int8_t' 79 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/sha2.h:74:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 74 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/sha2.h:81:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 81 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t src/fileref.c: In function 'kore_fileref_create': src/fileref.c:64:17: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 64 | ref->mtime = ((u_int64_t)(ts->tv_sec * 1000 + (ts->tv_nsec / 1000000))); | ^~~~~~~~~ | uint64_t src/fileref.c:64:17: note: each undeclared identifier is reported only once for each function it appears in In file included from src/config.c:30: include/kore/http.h:99:2: error: unknown type name 'u_int32_t' 99 | u_int32_t maxage; | ^~~~~~~~~ include/kore/http.h:101:2: error: unknown type name 'u_int16_t' 101 | u_int16_t flags; | ^~~~~~~~~ include/kore/sha2.h:78:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:78:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:79:37: error: unknown type name 'u_int8_t' 79 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ src/fileref.c: In function 'kore_fileref_get': src/fileref.c:115:2: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 115 | u_int64_t mtime; | ^~~~~~~~~ | uint64_t include/kore/sha2.h:81:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 81 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t In file included from src/filemap.c:29: include/kore/http.h:99:2: error: unknown type name 'u_int32_t' 99 | u_int32_t maxage; | ^~~~~~~~~ include/kore/http.h:101:2: error: unknown type name 'u_int16_t' 101 | u_int16_t flags; | ^~~~~~~~~ include/kore/http.h:271:2: error: unknown type name 'u_int8_t' 271 | u_int8_t method; | ^~~~~~~~ include/kore/http.h:272:2: error: unknown type name 'u_int8_t' 272 | u_int8_t fsm_state; | ^~~~~~~~ include/kore/http.h:273:2: error: unknown type name 'u_int16_t' 273 | u_int16_t flags; | ^~~~~~~~~ include/kore/http.h:274:2: error: unknown type name 'u_int16_t' 274 | u_int16_t status; | ^~~~~~~~~ include/kore/http.h:275:2: error: unknown type name 'u_int64_t' 275 | u_int64_t ms; | ^~~~~~~~~ include/kore/http.h:276:2: error: unknown type name 'u_int64_t' 276 | u_int64_t start; | ^~~~~~~~~ include/kore/http.h:277:2: error: unknown type name 'u_int64_t' 277 | u_int64_t end; | ^~~~~~~~~ include/kore/http.h:278:2: error: unknown type name 'u_int64_t' 278 | u_int64_t total; | ^~~~~~~~~ include/kore/http.h:285:2: error: unknown type name 'u_int8_t' 285 | u_int8_t *headers; | ^~~~~~~~ include/kore/http.h:289:2: error: unknown type name 'u_int64_t' 289 | u_int64_t http_body_length; | ^~~~~~~~~ include/kore/http.h:290:2: error: unknown type name 'u_int64_t' 290 | u_int64_t http_body_offset; | ^~~~~~~~~ include/kore/http.h:291:2: error: unknown type name 'u_int64_t' 291 | u_int64_t content_length; | ^~~~~~~~~ include/kore/http.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN]; | ^~~~~~~~ include/kore/http.h:345:8: error: unknown type name 'u_int16_t' 345 | extern u_int16_t http_body_timeout; | ^~~~~~~~~ include/kore/http.h:346:8: error: unknown type name 'u_int16_t' 346 | extern u_int16_t http_header_max; | ^~~~~~~~~ include/kore/http.h:347:8: error: unknown type name 'u_int16_t' 347 | extern u_int16_t http_header_timeout; | ^~~~~~~~~ include/kore/http.h:348:8: error: unknown type name 'u_int32_t' 348 | extern u_int32_t http_request_ms; | ^~~~~~~~~ include/kore/http.h:349:8: error: unknown type name 'u_int64_t' 349 | extern u_int64_t http_hsts_enable; | ^~~~~~~~~ include/kore/http.h:350:8: error: unknown type name 'u_int16_t' 350 | extern u_int16_t http_keepalive_time; | ^~~~~~~~~ include/kore/http.h:351:8: error: unknown type name 'u_int32_t' 351 | extern u_int32_t http_request_limit; | ^~~~~~~~~ include/kore/http.h:352:8: error: unknown type name 'u_int32_t' 352 | extern u_int32_t http_request_count; | ^~~~~~~~~ include/kore/http.h:353:8: error: unknown type name 'u_int64_t' 353 | extern u_int64_t http_body_disk_offload; | ^~~~~~~~~ include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t src/fileref.c:128:14: error: 'u_int64_t' undeclared (first use in this function); did you mean 'uint64_t'? 128 | mtime = ((u_int64_t)(st.st_mtim.tv_sec * 1000 + | ^~~~~~~~~ | uint64_t include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/http.h:271:2: error: unknown type name 'u_int8_t' 271 | u_int8_t method; | ^~~~~~~~ include/kore/http.h:272:2: error: unknown type name 'u_int8_t' 272 | u_int8_t fsm_state; | ^~~~~~~~ include/kore/http.h:273:2: error: unknown type name 'u_int16_t' 273 | u_int16_t flags; | ^~~~~~~~~ include/kore/http.h:274:2: error: unknown type name 'u_int16_t' 274 | u_int16_t status; | ^~~~~~~~~ include/kore/http.h:275:2: error: unknown type name 'u_int64_t' 275 | u_int64_t ms; | ^~~~~~~~~ include/kore/http.h:276:2: error: unknown type name 'u_int64_t' 276 | u_int64_t start; | ^~~~~~~~~ include/kore/http.h:277:2: error: unknown type name 'u_int64_t' 277 | u_int64_t end; | ^~~~~~~~~ include/kore/http.h:278:2: error: unknown type name 'u_int64_t' 278 | u_int64_t total; | ^~~~~~~~~ include/kore/http.h:285:2: error: unknown type name 'u_int8_t' 285 | u_int8_t *headers; | ^~~~~~~~ include/kore/http.h:377:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 377 | int http_check_timeout(struct connection *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/http.h:289:2: error: unknown type name 'u_int64_t' 289 | u_int64_t http_body_length; | ^~~~~~~~~ include/kore/http.h:290:2: error: unknown type name 'u_int64_t' 290 | u_int64_t http_body_offset; | ^~~~~~~~~ include/kore/http.h:291:2: error: unknown type name 'u_int64_t' 291 | u_int64_t content_length; | ^~~~~~~~~ include/kore/http.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN]; | ^~~~~~~~ include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/http.h:345:8: error: unknown type name 'u_int16_t' 345 | extern u_int16_t http_body_timeout; | ^~~~~~~~~ include/kore/http.h:346:8: error: unknown type name 'u_int16_t' 346 | extern u_int16_t http_header_max; | ^~~~~~~~~ include/kore/http.h:347:8: error: unknown type name 'u_int16_t' 347 | extern u_int16_t http_header_timeout; | ^~~~~~~~~ include/kore/http.h:348:8: error: unknown type name 'u_int32_t' 348 | extern u_int32_t http_request_ms; | ^~~~~~~~~ include/kore/http.h:349:8: error: unknown type name 'u_int64_t' 349 | extern u_int64_t http_hsts_enable; | ^~~~~~~~~ include/kore/http.h:350:8: error: unknown type name 'u_int16_t' 350 | extern u_int16_t http_keepalive_time; | ^~~~~~~~~ include/kore/http.h:351:8: error: unknown type name 'u_int32_t' 351 | extern u_int32_t http_request_limit; | ^~~~~~~~~ include/kore/http.h:352:8: error: unknown type name 'u_int32_t' 352 | extern u_int32_t http_request_count; | ^~~~~~~~~ include/kore/http.h:353:8: error: unknown type name 'u_int64_t' 353 | extern u_int64_t http_body_disk_offload; | ^~~~~~~~~ include/kore/http.h:398:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 398 | int http_state_run(struct http_state *, u_int8_t, | ^~~~~~~~ | uint8_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/http.h:403:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 403 | const char *, const char *, time_t, u_int32_t, | ^~~~~~~~~ | uint32_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/http.h:377:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 377 | int http_check_timeout(struct connection *, u_int64_t); | ^~~~~~~~~ | uint64_t src/fileref.c: In function 'fileref_timer_prime': src/fileref.c:178:14: error: implicit declaration of function 'kore_timer_add'; did you mean 'kore_timer_run'? [-Werror=implicit-function-declaration] 178 | ref_timer = kore_timer_add(fileref_expiration_check, 10000, NULL, 0); | ^~~~~~~~~~~~~~ | kore_timer_run include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t In file included from include/kore/http.h:25, from src/domain.c:25: include/kore/sha2.h:56:3: error: unknown type name 'u_int32_t' 56 | u_int32_t st32[8]; | ^~~~~~~~~ include/kore/sha2.h:57:3: error: unknown type name 'u_int64_t' 57 | u_int64_t st64[8]; | ^~~~~~~~~ include/kore/sha2.h:59:2: error: unknown type name 'u_int64_t' 59 | u_int64_t bitcount[2]; | ^~~~~~~~~ include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:60:2: error: unknown type name 'u_int8_t' 60 | u_int8_t buffer[SHA512_BLOCK_LENGTH]; | ^~~~~~~~ src/log.c:26:2: error: unknown type name 'u_int16_t' 26 | u_int16_t wid; | ^~~~~~~~~ include/kore/http.h:398:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 398 | int http_state_run(struct http_state *, u_int8_t, | ^~~~~~~~ | uint8_t src/filemap.c: In function 'kore_filemap_create': src/filemap.c:64:29: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 64 | char regex[1024], fpath[PATH_MAX]; | ^~~~~~~~ | AF_MAX src/filemap.c:64:29: note: each undeclared identifier is reported only once for each function it appears in include/kore/http.h:403:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 403 | const char *, const char *, time_t, u_int32_t, | ^~~~~~~~~ | uint32_t src/filemap.c:64:23: error: unused variable 'fpath' [-Werror=unused-variable] 64 | char regex[1024], fpath[PATH_MAX]; | ^~~~~ In file included from src/config.c:37: include/kore/tasks.h:58:2: error: unknown type name 'u_int8_t' 58 | u_int8_t idx; | ^~~~~~~~ include/kore/tasks.h:83:1: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 83 | u_int32_t kore_task_channel_read(struct kore_task *, void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/tasks.h:83:62: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 83 | u_int32_t kore_task_channel_read(struct kore_task *, void *, u_int32_t); | ^~~~~~~~~ | uint32_t src/filemap.c: In function 'kore_filemap_resolve_paths': src/filemap.c:128:15: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 128 | char rpath[PATH_MAX]; | ^~~~~~~~ | AF_MAX include/kore/tasks.h:84:59: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | void kore_task_channel_write(struct kore_task *, void *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/tasks.h:92:8: error: unknown type name 'u_int16_t' 92 | extern u_int16_t kore_task_threads; | ^~~~~~~~~ gmake: *** [Makefile:276: obj/connection.o] Error 1 gmake: *** Waiting for unfinished jobs.... include/kore/sha2.h:64:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~~ | uint32_t include/kore/sha2.h:64:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 64 | void SHA256Transform(u_int32_t state[8], const u_int8_t [SHA256_BLOCK_LENGTH]); | ^~~~~~~~ src/log.c: In function 'kore_log_init': include/kore/sha2.h:65:37: error: unknown type name 'u_int8_t' 65 | void SHA256Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ src/log.c:52:2: error: implicit declaration of function 'kore_msg_register'; did you mean 'kore_msg_unregister'? [-Werror=implicit-function-declaration] 52 | kore_msg_register(KORE_MSG_WORKER_LOG, log_from_worker); | ^~~~~~~~~~~~~~~~~ | kore_msg_unregister gmake: *** [Makefile:276: obj/buf.o] Error 1 include/kore/sha2.h:67:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 67 | void SHA256Final(u_int8_t [SHA256_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/sha2.h:71:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:71:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 71 | void SHA384Transform(u_int64_t state[8], const u_int8_t [SHA384_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:72:37: error: unknown type name 'u_int8_t' 72 | void SHA384Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/sha2.h:74:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 74 | void SHA384Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t include/kore/sha2.h:78:22: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~~ | uint64_t include/kore/sha2.h:78:48: error: type defaults to 'int' in declaration of 'u_int8_t' [-Werror=implicit-int] 78 | void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]); | ^~~~~~~~ include/kore/sha2.h:79:37: error: unknown type name 'u_int8_t' 79 | void SHA512Update(SHA2_CTX *, const u_int8_t *, size_t); | ^~~~~~~~ include/kore/sha2.h:81:18: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 81 | void SHA512Final(u_int8_t [SHA512_DIGEST_LENGTH], SHA2_CTX *); | ^~~~~~~~ | uint8_t In file included from src/domain.c:25: include/kore/http.h:99:2: error: unknown type name 'u_int32_t' 99 | u_int32_t maxage; | ^~~~~~~~~ include/kore/http.h:101:2: error: unknown type name 'u_int16_t' 101 | u_int16_t flags; | ^~~~~~~~~ src/filemap.c:131:7: error: implicit declaration of function 'realpath' [-Werror=implicit-function-declaration] 131 | if (realpath(entry->ondisk, rpath) == NULL) | ^~~~~~~~ include/kore/http.h:271:2: error: unknown type name 'u_int8_t' 271 | u_int8_t method; | ^~~~~~~~ include/kore/http.h:272:2: error: unknown type name 'u_int8_t' 272 | u_int8_t fsm_state; | ^~~~~~~~ src/filemap.c:128:9: error: unused variable 'rpath' [-Werror=unused-variable] 128 | char rpath[PATH_MAX]; | ^~~~~ include/kore/http.h:273:2: error: unknown type name 'u_int16_t' 273 | u_int16_t flags; | ^~~~~~~~~ include/kore/http.h:274:2: error: unknown type name 'u_int16_t' 274 | u_int16_t status; | ^~~~~~~~~ include/kore/http.h:275:2: error: unknown type name 'u_int64_t' 275 | u_int64_t ms; | ^~~~~~~~~ include/kore/http.h:276:2: error: unknown type name 'u_int64_t' 276 | u_int64_t start; | ^~~~~~~~~ include/kore/http.h:277:2: error: unknown type name 'u_int64_t' 277 | u_int64_t end; | ^~~~~~~~~ include/kore/http.h:278:2: error: unknown type name 'u_int64_t' 278 | u_int64_t total; | ^~~~~~~~~ include/kore/http.h:285:2: error: unknown type name 'u_int8_t' 285 | u_int8_t *headers; | ^~~~~~~~ include/kore/http.h:289:2: error: unknown type name 'u_int64_t' 289 | u_int64_t http_body_length; | ^~~~~~~~~ include/kore/http.h:290:2: error: unknown type name 'u_int64_t' 290 | u_int64_t http_body_offset; | ^~~~~~~~~ include/kore/http.h:291:2: error: unknown type name 'u_int64_t' 291 | u_int64_t content_length; | ^~~~~~~~~ include/kore/http.h:307:2: error: unknown type name 'u_int8_t' 307 | u_int8_t http_body_digest[HTTP_BODY_DIGEST_LEN]; | ^~~~~~~~ include/kore/http.h:345:8: error: unknown type name 'u_int16_t' 345 | extern u_int16_t http_body_timeout; | ^~~~~~~~~ include/kore/http.h:346:8: error: unknown type name 'u_int16_t' 346 | extern u_int16_t http_header_max; | ^~~~~~~~~ include/kore/http.h:347:8: error: unknown type name 'u_int16_t' 347 | extern u_int16_t http_header_timeout; | ^~~~~~~~~ include/kore/http.h:348:8: error: unknown type name 'u_int32_t' 348 | extern u_int32_t http_request_ms; | ^~~~~~~~~ include/kore/http.h:349:8: error: unknown type name 'u_int64_t' 349 | extern u_int64_t http_hsts_enable; | ^~~~~~~~~ include/kore/http.h:350:8: error: unknown type name 'u_int16_t' 350 | extern u_int16_t http_keepalive_time; | ^~~~~~~~~ include/kore/http.h:351:8: error: unknown type name 'u_int32_t' 351 | extern u_int32_t http_request_limit; | ^~~~~~~~~ include/kore/http.h:352:8: error: unknown type name 'u_int32_t' 352 | extern u_int32_t http_request_count; | ^~~~~~~~~ include/kore/http.h:353:8: error: unknown type name 'u_int64_t' 353 | extern u_int64_t http_body_disk_offload; | ^~~~~~~~~ src/config.c: In function 'kore_parse_config': src/log.c: In function 'kore_log': src/log.c:90:3: error: implicit declaration of function 'kore_msg_send'; did you mean 'kore_msg_init'? [-Werror=implicit-function-declaration] 90 | kore_msg_send(KORE_MSG_PARENT, KORE_MSG_WORKER_LOG, | ^~~~~~~~~~~~~ | kore_msg_init src/config.c:313:13: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 313 | char path[PATH_MAX]; | ^~~~~~~~ | AF_MAX src/config.c:313:13: note: each undeclared identifier is reported only once for each function it appears in include/kore/http.h:377:46: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 377 | int http_check_timeout(struct connection *, u_int64_t); | ^~~~~~~~~ | uint64_t src/config.c:313:8: error: unused variable 'path' [-Werror=unused-variable] 313 | char path[PATH_MAX]; | ^~~~ include/kore/http.h:398:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 398 | int http_state_run(struct http_state *, u_int8_t, | ^~~~~~~~ | uint8_t src/filemap.c: In function 'filemap_serve': src/filemap.c:188:15: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 188 | char fpath[PATH_MAX], rpath[PATH_MAX]; | ^~~~~~~~ | AF_MAX include/kore/http.h:403:43: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 403 | const char *, const char *, time_t, u_int32_t, | ^~~~~~~~~ | uint32_t include/kore/kore.h:1066:22: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1066 | u_int64_t net_read64(u_int8_t *); | ^~~~~~~~ | uint8_t src/domain.c:34:8: error: unknown type name 'u_int16_t' 34 | static u_int16_t domain_id = 0; | ^~~~~~~~~ src/filemap.c:188:26: error: unused variable 'rpath' [-Werror=unused-variable] 188 | char fpath[PATH_MAX], rpath[PATH_MAX]; | ^~~~~ src/filemap.c:188:9: error: unused variable 'fpath' [-Werror=unused-variable] 188 | char fpath[PATH_MAX], rpath[PATH_MAX]; | ^~~~~ src/domain.c:176:18: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 176 | kore_domain_byid(u_int16_t id) | ^~~~~~~~~ | uint16_t cc1: all warnings being treated as errors cc1: all warnings being treated as errors src/log.c: In function 'log_print': src/log.c:150:8: error: implicit declaration of function 'clock_gettime' [-Werror=implicit-function-declaration] 150 | (void)clock_gettime(CLOCK_REALTIME, &ts); | ^~~~~~~~~~~~~ src/config.c: In function 'configure_route_methods': src/config.c:1250:8: error: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Werror=implicit-function-declaration] 1250 | if (!strcasecmp(argv[i], "post")) { | ^~~~~~~~~~ | strncmp cc1: all warnings being treated as errors src/config.c: In function 'configure_validator': src/config.c:1601:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1601 | u_int8_t type; | ^~~~~~~~ | uint8_t src/config.c:1629:7: error: implicit declaration of function 'kore_validator_add'; did you mean 'kore_validator_run'? [-Werror=implicit-function-declaration] 1629 | if (!kore_validator_add(name, type, value)) { | ^~~~~~~~~~~~~~~~~~ | kore_validator_run gmake: *** [Makefile:276: obj/filemap.o] Error 1 gmake: *** [Makefile:276: obj/domain.o] Error 1 gmake: *** [Makefile:276: obj/log.o] Error 1 include/kore/kore.h:1067:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~ | uint8_t cc1: all warnings being treated as errors gmake: *** [Makefile:276: obj/config.o] Error 1 include/kore/kore.h:1067:31: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 1067 | void net_write16(u_int8_t *, u_int16_t); | ^~~~~~~~~ | uint16_t include/kore/kore.h:1068:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1068:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1068 | void net_write32(u_int8_t *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1069:19: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~ | uint8_t include/kore/kore.h:1069:31: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 1069 | void net_write64(u_int8_t *, u_int64_t); | ^~~~~~~~~ | uint64_t include/kore/kore.h:1096:1: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 1096 | u_int8_t *kore_buf_release(struct kore_buf *, size_t *); | ^~~~~~~~ | uint8_t include/kore/kore.h:1119:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1119 | const char *, u_int32_t); | ^~~~~~~~~ | uint32_t include/kore/kore.h:1121:22: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1121 | const char *, u_int32_t, ...); | ^~~~~~~~~ | uint32_t src/json.c:28:47: error: expected ')' before '*' token 28 | static int json_guess_type(u_int8_t, u_int32_t *); | ^~ | ) src/fileref.c:178:29: error: 'fileref_expiration_check' undeclared (first use in this function) 178 | ref_timer = kore_timer_add(fileref_expiration_check, 10000, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/json.c:29:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 29 | static int json_next(struct kore_json *, u_int8_t *); | ^~~~~~~~ | uint8_t src/fileref.c: At top level: src/fileref.c:199:37: error: unknown type name 'u_int64_t'; did you mean 'uint64_t'? 199 | fileref_expiration_check(void *arg, u_int64_t now) | ^~~~~~~~~ | uint64_t src/json.c:30:42: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 30 | static int json_peek(struct kore_json *, u_int8_t *); | ^~~~~~~~ | uint8_t src/json.c:33:47: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 33 | static int json_next_byte(struct kore_json *, u_int8_t *, int); | ^~~~~~~~ | uint8_t src/json.c:46:18: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 46 | char **, u_int32_t, int); | ^~~~~~~~~ | uint32_t src/json.c:48:8: error: unknown type name 'u_int8_t' 48 | static u_int8_t json_null_literal[] = { 'n', 'u', 'l', 'l' }; | ^~~~~~~~ src/json.c:49:8: error: unknown type name 'u_int8_t' 49 | static u_int8_t json_true_literal[] = { 't', 'r', 'u', 'e' }; | ^~~~~~~~ src/json.c:50:8: error: unknown type name 'u_int8_t' 50 | static u_int8_t json_false_literal[] = { 'f', 'a', 'l', 's', 'e' }; | ^~~~~~~~ cc1: all warnings being treated as errors gmake: *** [Makefile:276: obj/fileref.o] Error 1 src/json.c: In function 'kore_json_parse': src/json.c:83:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 83 | u_int8_t ch; | ^~~~~~~~ | uint8_t src/json.c:84:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 84 | u_int32_t type; | ^~~~~~~~~ | uint32_t src/json.c:96:7: error: implicit declaration of function 'json_peek' [-Werror=implicit-function-declaration] 96 | if (!json_peek(json, &ch)) | ^~~~~~~~~ src/json.c:99:7: error: implicit declaration of function 'json_guess_type' [-Werror=implicit-function-declaration] 99 | if (!json_guess_type(ch, &type)) { | ^~~~~~~~~~~~~~~ src/json.c: At top level: src/json.c:123:63: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 123 | kore_json_find(struct kore_json_item *root, const char *path, u_int32_t type) | ^~~~~~~~~ | uint32_t src/json.c:174:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 174 | u_int32_t type, ...) | ^~~~~~~~~ | uint32_t src/json.c: In function 'kore_json_item_tobuf': src/json.c:269:25: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Werror=format=] 269 | kore_buf_appendf(buf, "%" PRIu64, item->data.u64); | ^~~ ~~~~~~~~~~~~~~ | | | int In file included from /usr/include/sys/inttypes.h:45, from /usr/include/inttypes.h:42, from src/json.c:20: /usr/include/sys/int_fmtio.h:174:20: note: format string is defined here 174 | #define PRIu64 "lu" src/json.c: At top level: src/json.c:315:5: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 315 | u_int32_t type, int pos) | ^~~~~~~~~ | uint32_t src/json.c:485:35: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 485 | json_peek(struct kore_json *json, u_int8_t *ch) | ^~~~~~~~ | uint8_t src/json.c:491:35: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 491 | json_next(struct kore_json *json, u_int8_t *ch) | ^~~~~~~~ | uint8_t src/json.c:497:40: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 497 | json_next_byte(struct kore_json *json, u_int8_t *ch, int peek) | ^~~~~~~~ | uint8_t src/json.c: In function 'json_consume_whitespace': src/json.c:515:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 515 | u_int8_t ch; | ^~~~~~~~ | uint8_t src/json.c: At top level: src/json.c:531:17: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 531 | json_guess_type(u_int8_t ch, u_int32_t *type) | ^~~~~~~~ | uint8_t src/json.c:531:30: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 531 | json_guess_type(u_int8_t ch, u_int32_t *type) | ^~~~~~~~~ | uint32_t src/json.c: In function 'json_parse_object': src/json.c:563:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 563 | u_int8_t ch; | ^~~~~~~~ | uint8_t src/json.c:564:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 564 | u_int32_t type; | ^~~~~~~~~ | uint32_t src/json.c:578:7: error: implicit declaration of function 'json_next' [-Werror=implicit-function-declaration] 578 | if (!json_next(json, &ch)) | ^~~~~~~~~ src/json.c: In function 'json_parse_array': src/json.c:664:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 664 | u_int8_t ch; | ^~~~~~~~ | uint8_t src/json.c:665:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 665 | u_int32_t type; | ^~~~~~~~~ | uint32_t src/json.c: In function 'json_parse_number': src/json.c:757:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 757 | u_int8_t ch; | ^~~~~~~~ | uint8_t src/json.c:760:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 760 | u_int32_t type; | ^~~~~~~~~ | uint32_t src/json.c:823:24: error: comparison is always true due to limited range of data type [-Werror=type-limits] 823 | if (number->data.u64 <= INT64_MAX) { | ^~ src/json.c: In function 'json_parse_literal': src/json.c:846:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 846 | u_int8_t ch, *tmpl; | ^~~~~~~~ | uint8_t src/json.c: In function 'json_get_string': src/json.c:896:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 896 | u_int8_t ch; | ^~~~~~~~ | uint8_t cc1: all warnings being treated as errors gmake: *** [Makefile:276: obj/json.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/kore *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/kore