+ 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/spegla-1.1p4nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spegla-1.1p4nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spegla-1.1p4nb1 --- jftp.o --- --- parserow.o --- --- spegla.o --- --- tgetopt.o --- --- container.o --- --- spf_util.o --- --- que_syms.o --- --- e_err.o --- --- jftp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c jftp.c --- parserow.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c parserow.c --- spegla.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c spegla.c --- tgetopt.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c tgetopt.c --- container.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c container.c --- spf_util.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c spf_util.c --- que_syms.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c que_syms.c --- e_err.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -c e_err.c --- que_syms.o --- In file included from spegla.h:48, from que_syms.c:4: container.h:210:2: error: unknown type name 'u_int16_t' 210 | u_int16_t pat_bit; | ^~~~~~~~~ container.h:211:2: error: unknown type name 'u_int16_t' 211 | u_int16_t pat_is_node; | ^~~~~~~~~ container.h:213:2: error: unknown type name 'u_int16_t' 213 | u_int16_t pat_key_len[2]; | ^~~~~~~~~ container.h:223:2: error: unknown type name 'u_int32_t' 223 | u_int32_t pat_keys; | ^~~~~~~~~ container.h:226:2: error: unknown type name 'u_int16_t' 226 | u_int16_t pat_key_len; | ^~~~~~~~~ container.h:227:2: error: unknown type name 'u_int16_t' 227 | u_int16_t pat_key_len_max; | ^~~~~~~~~ container.h:253:2: error: unknown type name 'u_int32_t' 253 | u_int32_t heap_size; | ^~~~~~~~~ container.h:254:2: error: unknown type name 'u_int32_t' 254 | u_int32_t heap_keys; | ^~~~~~~~~ container.h:274:39: error: expected ')' before 'TYPE' 274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *); | ^~~~~ | ) container.h:280:2: error: unknown type name 'u_int32_t' 280 | u_int32_t he_key; | ^~~~~~~~~ container.h:285:2: error: unknown type name 'u_int32_t' 285 | u_int32_t hash_size; | ^~~~~~~~~ container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj); | ^~~~~~~~~~ | pat_map_f container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:304:37: error: expected ')' before 'TYPE' 304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *); | ^~~~~ | ) container.h:309:2: error: unknown type name 'u_int32_t' 309 | u_int32_t sln_key; | ^~~~~~~~~ container.h:316:2: error: unknown type name 'u_int32_t' 316 | u_int32_t sl_level; /* Current level of the list */ | ^~~~~~~~~ container.h:317:2: error: unknown type name 'u_int32_t' 317 | u_int32_t sl_random_bits; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:318:2: error: unknown type name 'u_int32_t' 318 | u_int32_t sl_randoms_left; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 324 | int sl_find_pos(struct skip_list *, u_int32_t key, | ^~~~~~~~~ | uint32_t container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t In file included from que_syms.c:4: spegla.h:74:2: error: unknown type name 'u_int32_t' 74 | u_int32_t spf_opt; | ^~~~~~~~~ In file included from spegla.h:48, from que_syms.c:4: container.h:827:2: error: unknown type name 'u_int32_t' 827 | u_int32_t sln_key; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:833:2: error: unknown type name 'u_int32_t' 833 | u_int32_t sl_level; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:834:2: error: unknown type name 'u_int32_t' 834 | u_int32_t sl_random_bits; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:835:2: error: unknown type name 'u_int32_t' 835 | u_int32_t sl_randoms_left; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h:100:16: error: expected ')' before 'struct' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~ container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS' 840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *); | ^~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:853:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 853 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:857:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 857 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:873:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 873 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:877:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 877 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- In file included from container.c:36: container.h:210:2: error: unknown type name 'u_int16_t' 210 | u_int16_t pat_bit; | ^~~~~~~~~ container.h:211:2: error: unknown type name 'u_int16_t' 211 | u_int16_t pat_is_node; | ^~~~~~~~~ --- que_syms.o --- spegla.h: In function 'fifo_spf_walk': --- container.o --- container.h:213:2: error: unknown type name 'u_int16_t' 213 | u_int16_t pat_key_len[2]; | ^~~~~~~~~ container.h:223:2: error: unknown type name 'u_int32_t' 223 | u_int32_t pat_keys; | ^~~~~~~~~ container.h:226:2: error: unknown type name 'u_int16_t' 226 | u_int16_t pat_key_len; | ^~~~~~~~~ container.h:227:2: error: unknown type name 'u_int16_t' 227 | u_int16_t pat_key_len_max; | ^~~~~~~~~ --- que_syms.o --- container.h:527:26: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ --- container.o --- container.h:253:2: error: unknown type name 'u_int32_t' 253 | u_int32_t heap_size; | ^~~~~~~~~ container.h:254:2: error: unknown type name 'u_int32_t' 254 | u_int32_t heap_keys; | ^~~~~~~~~ --- que_syms.o --- spegla.h: In function 'fifo_spf_walk_back': --- container.o --- container.h:274:39: error: expected ')' before 'TYPE' 274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *); | ^~~~~ | ) container.h:280:2: error: unknown type name 'u_int32_t' 280 | u_int32_t he_key; | ^~~~~~~~~ --- que_syms.o --- container.h:531:26: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ --- container.o --- container.h:285:2: error: unknown type name 'u_int32_t' 285 | u_int32_t hash_size; | ^~~~~~~~~ --- que_syms.o --- spegla.h: At top level: container.h:734:2: error: unknown type name 'u_int32_t' 734 | u_int32_t heap_size; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:735:2: error: unknown type name 'u_int32_t' 735 | u_int32_t heap_keys; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ --- container.o --- container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj); | ^~~~~~~~~~ | pat_map_f container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:304:37: error: expected ')' before 'TYPE' 304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *); | ^~~~~ | ) container.h:309:2: error: unknown type name 'u_int32_t' 309 | u_int32_t sln_key; | ^~~~~~~~~ container.h:316:2: error: unknown type name 'u_int32_t' 316 | u_int32_t sl_level; /* Current level of the list */ | ^~~~~~~~~ container.h:317:2: error: unknown type name 'u_int32_t' 317 | u_int32_t sl_random_bits; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:318:2: error: unknown type name 'u_int32_t' 318 | u_int32_t sl_randoms_left; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 324 | int sl_find_pos(struct skip_list *, u_int32_t key, | ^~~~~~~~~ | uint32_t container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- tgetopt.o --- tgetopt.c:28:19: warning: 'cvsid' defined but not used [-Wunused-const-variable=] 28 | static char const cvsid[] = "$Id: tgetopt.c,v 1.18 2000/05/14 14:39:39 jens Exp $"; | ^~~~~ --- que_syms.o --- *** [que_syms.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 --- parserow.o --- In file included from spegla.h:48, from parserow.h:31, from parserow.c:55: container.h:210:2: error: unknown type name 'u_int16_t' 210 | u_int16_t pat_bit; | ^~~~~~~~~ container.h:211:2: error: unknown type name 'u_int16_t' 211 | u_int16_t pat_is_node; | ^~~~~~~~~ container.h:213:2: error: unknown type name 'u_int16_t' 213 | u_int16_t pat_key_len[2]; | ^~~~~~~~~ container.h:223:2: error: unknown type name 'u_int32_t' 223 | u_int32_t pat_keys; | ^~~~~~~~~ container.h:226:2: error: unknown type name 'u_int16_t' 226 | u_int16_t pat_key_len; | ^~~~~~~~~ container.h:227:2: error: unknown type name 'u_int16_t' 227 | u_int16_t pat_key_len_max; | ^~~~~~~~~ container.h:253:2: error: unknown type name 'u_int32_t' 253 | u_int32_t heap_size; | ^~~~~~~~~ container.h:254:2: error: unknown type name 'u_int32_t' 254 | u_int32_t heap_keys; | ^~~~~~~~~ container.h:274:39: error: expected ')' before 'TYPE' 274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *); | ^~~~~ | ) container.h:280:2: error: unknown type name 'u_int32_t' 280 | u_int32_t he_key; | ^~~~~~~~~ container.h:285:2: error: unknown type name 'u_int32_t' 285 | u_int32_t hash_size; | ^~~~~~~~~ container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj); | ^~~~~~~~~~ | pat_map_f container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:304:37: error: expected ')' before 'TYPE' 304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *); | ^~~~~ | ) container.h:309:2: error: unknown type name 'u_int32_t' 309 | u_int32_t sln_key; | ^~~~~~~~~ container.h:316:2: error: unknown type name 'u_int32_t' 316 | u_int32_t sl_level; /* Current level of the list */ | ^~~~~~~~~ container.h:317:2: error: unknown type name 'u_int32_t' 317 | u_int32_t sl_random_bits; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:318:2: error: unknown type name 'u_int32_t' 318 | u_int32_t sl_randoms_left; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 324 | int sl_find_pos(struct skip_list *, u_int32_t key, | ^~~~~~~~~ | uint32_t container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- e_err.o --- e_err.c: In function 'e_buf_file': e_err.c:163:12: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 163 | if ((p = alloca((size_t)(len_buf + needed_extra + 1))) == NULL) { | ^~~~~~ e_err.c:163:12: warning: incompatible implicit declaration of built-in function 'alloca' --- parserow.o --- container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t In file included from parserow.h:31, from parserow.c:55: spegla.h:74:2: error: unknown type name 'u_int32_t' 74 | u_int32_t spf_opt; | ^~~~~~~~~ In file included from spegla.h:48, from parserow.h:31, from parserow.c:55: container.h:827:2: error: unknown type name 'u_int32_t' 827 | u_int32_t sln_key; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:833:2: error: unknown type name 'u_int32_t' 833 | u_int32_t sl_level; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:834:2: error: unknown type name 'u_int32_t' 834 | u_int32_t sl_random_bits; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:835:2: error: unknown type name 'u_int32_t' 835 | u_int32_t sl_randoms_left; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h:100:16: error: expected ')' before 'struct' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~ container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS' 840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *); | ^~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c:796:30: error: unknown type name 'u_int8_t' 796 | bit_is_set(int bit_nr, const u_int8_t *bit_field) | ^~~~~~~~ container.c:811:23: error: unknown type name 'u_int8_t' 811 | lowest_diff_bit(const u_int8_t *n1, size_t l1, const u_int8_t *n2, size_t l2) | ^~~~~~~~ container.c:811:54: error: unknown type name 'u_int8_t' 811 | lowest_diff_bit(const u_int8_t *n1, size_t l1, const u_int8_t *n2, size_t l2) | ^~~~~~~~ container.c: In function 'lowest_diff_bit': container.c:815:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 815 | u_int8_t zeroes = 0; | ^~~~~~~~ | uint8_t container.c: At top level: container.c:835:22: error: unknown type name 'u_int8_t' 835 | pat_keys_match(const u_int8_t *k1, size_t l1, const u_int8_t *k2, size_t l2) | ^~~~~~~~ container.c:835:53: error: unknown type name 'u_int8_t' 835 | pat_keys_match(const u_int8_t *k1, size_t l1, const u_int8_t *k2, size_t l2) | ^~~~~~~~ --- parserow.o --- container.h:853:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 853 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c: In function 'pat_keys_match': container.c:837:2: error: unknown type name 'u_int8_t'; did you mean 'uint8_t'? 837 | u_int8_t zeroes = 0; | ^~~~~~~~ | uint8_t container.c: In function 'pat_ins': container.c:928:16: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 928 | if ((p_list = alloca((size_t)pat->pat_key_len_max * sizeof(*p_list))) | ^~~~~~ container.c:928:16: warning: incompatible implicit declaration of built-in function 'alloca' --- parserow.o --- container.h:857:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 857 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:873:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 873 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:877:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 877 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h: In function 'fifo_spf_walk': container.h:527:26: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:26: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: At top level: container.h:734:2: error: unknown type name 'u_int32_t' 734 | u_int32_t heap_size; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:735:2: error: unknown type name 'u_int32_t' 735 | u_int32_t heap_keys; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ --- spf_util.o --- In file included from spegla.h:48, from spf_util.c:53: container.h:210:2: error: unknown type name 'u_int16_t' 210 | u_int16_t pat_bit; | ^~~~~~~~~ container.h:211:2: error: unknown type name 'u_int16_t' 211 | u_int16_t pat_is_node; | ^~~~~~~~~ container.h:213:2: error: unknown type name 'u_int16_t' 213 | u_int16_t pat_key_len[2]; | ^~~~~~~~~ container.h:223:2: error: unknown type name 'u_int32_t' 223 | u_int32_t pat_keys; | ^~~~~~~~~ container.h:226:2: error: unknown type name 'u_int16_t' 226 | u_int16_t pat_key_len; | ^~~~~~~~~ container.h:227:2: error: unknown type name 'u_int16_t' 227 | u_int16_t pat_key_len_max; | ^~~~~~~~~ --- container.o --- container.c: In function 'hash_init': --- spf_util.o --- container.h:253:2: error: unknown type name 'u_int32_t' 253 | u_int32_t heap_size; | ^~~~~~~~~ container.h:254:2: error: unknown type name 'u_int32_t' 254 | u_int32_t heap_keys; | ^~~~~~~~~ container.h:274:39: error: expected ')' before 'TYPE' 274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *); | ^~~~~ | ) container.h:280:2: error: unknown type name 'u_int32_t' 280 | u_int32_t he_key; | ^~~~~~~~~ container.h:285:2: error: unknown type name 'u_int32_t' 285 | u_int32_t hash_size; | ^~~~~~~~~ --- container.o --- container.c:1562:18: error: 'u_int32_t' undeclared (first use in this function); did you mean 'uint32_t'? 1562 | p->hash_size = (u_int32_t)hash_size; | ^~~~~~~~~ | uint32_t container.c:1562:18: note: each undeclared identifier is reported only once for each function it appears in container.c:1562:28: error: expected ';' before 'hash_size' 1562 | p->hash_size = (u_int32_t)hash_size; | ^~~~~~~~~ | ; --- spf_util.o --- container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t --- container.o --- container.c: At top level: --- spf_util.o --- container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- container.o --- container.c:1567:30: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 1567 | hash_map(struct hash_buf *p, hash_map_f map_fun, TYPE *arg_obj) | ^~~~~~~~~~ | pat_map_f --- spf_util.o --- container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj); | ^~~~~~~~~~ | pat_map_f --- e_err.o --- At top level: e_err.c:28:19: warning: 'cvsid' defined but not used [-Wunused-const-variable=] 28 | static char const cvsid[] = "$Id: e_err.c,v 1.15 2000/05/14 14:39:39 jens Exp $"; | ^~~~~ --- spf_util.o --- container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:304:37: error: expected ')' before 'TYPE' 304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *); | ^~~~~ | ) container.h:309:2: error: unknown type name 'u_int32_t' 309 | u_int32_t sln_key; | ^~~~~~~~~ container.h:316:2: error: unknown type name 'u_int32_t' 316 | u_int32_t sl_level; /* Current level of the list */ | ^~~~~~~~~ container.h:317:2: error: unknown type name 'u_int32_t' 317 | u_int32_t sl_random_bits; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:318:2: error: unknown type name 'u_int32_t' 318 | u_int32_t sl_randoms_left; /* Used by sl_random_level */ | ^~~~~~~~~ --- container.o --- container.c:1589:19: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1589 | hash_clone_helper(u_int32_t key, TYPE *data, void *p) | ^~~~~~~~~ | uint32_t --- spf_util.o --- container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t --- container.o --- container.c: In function 'hash_clone': --- spf_util.o --- container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 324 | int sl_find_pos(struct skip_list *, u_int32_t key, | ^~~~~~~~~ | uint32_t container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- container.o --- container.c:1612:2: warning: implicit declaration of function 'hash_map' [-Wimplicit-function-declaration] 1612 | hash_map(p, hash_clone_helper, &hch); | ^~~~~~~~ --- spf_util.o --- container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- container.o --- container.c:1612:14: error: 'hash_clone_helper' undeclared (first use in this function) 1612 | hash_map(p, hash_clone_helper, &hch); | ^~~~~~~~~~~~~~~~~ container.c: In function 'hash_free': container.c:1626:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1626 | u_int32_t i; | ^~~~~~~~~ | uint32_t --- spf_util.o --- In file included from spf_util.c:53: spegla.h:74:2: error: unknown type name 'u_int32_t' 74 | u_int32_t spf_opt; | ^~~~~~~~~ --- container.o --- container.c: At top level: --- spf_util.o --- In file included from spegla.h:48, from spf_util.c:53: container.h:827:2: error: unknown type name 'u_int32_t' 827 | u_int32_t sln_key; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:833:2: error: unknown type name 'u_int32_t' 833 | u_int32_t sl_level; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:834:2: error: unknown type name 'u_int32_t' 834 | u_int32_t sl_random_bits; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c:1669:30: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1669 | hash_ins(struct hash_buf *p, u_int32_t key, TYPE *data) | ^~~~~~~~~ | uint32_t --- spf_util.o --- container.h:835:2: error: unknown type name 'u_int32_t' 835 | u_int32_t sl_randoms_left; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h:100:16: error: expected ')' before 'struct' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~ container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS' 840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *); | ^~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c:1694:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1694 | hash_find(struct hash_buf *p, u_int32_t key, TYPE **data) | ^~~~~~~~~ | uint32_t container.c:1716:30: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1716 | hash_rem(struct hash_buf *p, u_int32_t key, TYPE **data) | ^~~~~~~~~ | uint32_t --- spf_util.o --- container.h:853:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 853 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c:1764:24: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1764 | sl_new_node(int level, u_int32_t key, TYPE *data) | ^~~~~~~~~ | uint32_t --- spf_util.o --- container.h:857:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 857 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- container.o --- container.c: In function 'sl_init': container.c:1797:21: warning: implicit declaration of function 'sl_new_node' [-Wimplicit-function-declaration] 1797 | if ((sl->sl_head = sl_new_node(SL_MAX_LEVELS, 0, NULL)) == NULL) { | ^~~~~~~~~~~ container.c:1797:19: warning: assignment to 'struct skip_list_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1797 | if ((sl->sl_head = sl_new_node(SL_MAX_LEVELS, 0, NULL)) == NULL) { | ^ container.c: At top level: container.c:1848:35: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1848 | sl_find_pos(struct skip_list *sl, u_int32_t key, | ^~~~~~~~~ | uint32_t --- spf_util.o --- container.h:873:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 873 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:877:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 877 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h: In function 'fifo_spf_walk': container.h:527:26: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: In function 'fifo_spf_walk_back': container.h:531:26: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ spegla.h: At top level: container.h:734:2: error: unknown type name 'u_int32_t' 734 | u_int32_t heap_size; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:735:2: error: unknown type name 'u_int32_t' 735 | u_int32_t heap_keys; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ --- container.o --- container.c:1871:31: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1871 | sl_find(struct skip_list *sl, u_int32_t key, TYPE **data) | ^~~~~~~~~ | uint32_t container.c:1906:30: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1906 | sl_ins(struct skip_list *sl, u_int32_t key, TYPE *data) | ^~~~~~~~~ | uint32_t container.c:1949:30: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1949 | sl_rem(struct skip_list *sl, u_int32_t key, TYPE **data) | ^~~~~~~~~ | uint32_t --- spegla.o --- In file included from spegla.h:48, from spegla.c:70: container.h:210:2: error: unknown type name 'u_int16_t' 210 | u_int16_t pat_bit; | ^~~~~~~~~ container.h:211:2: error: unknown type name 'u_int16_t' 211 | u_int16_t pat_is_node; | ^~~~~~~~~ container.h:213:2: error: unknown type name 'u_int16_t' 213 | u_int16_t pat_key_len[2]; | ^~~~~~~~~ container.h:223:2: error: unknown type name 'u_int32_t' 223 | u_int32_t pat_keys; | ^~~~~~~~~ container.h:226:2: error: unknown type name 'u_int16_t' 226 | u_int16_t pat_key_len; | ^~~~~~~~~ container.h:227:2: error: unknown type name 'u_int16_t' 227 | u_int16_t pat_key_len_max; | ^~~~~~~~~ container.h:253:2: error: unknown type name 'u_int32_t' 253 | u_int32_t heap_size; | ^~~~~~~~~ container.h:254:2: error: unknown type name 'u_int32_t' 254 | u_int32_t heap_keys; | ^~~~~~~~~ container.h:274:39: error: expected ')' before 'TYPE' 274 | typedef void (*hash_map_f) (u_int32_t, TYPE *, TYPE *); | ^~~~~ | ) container.h:280:2: error: unknown type name 'u_int32_t' 280 | u_int32_t he_key; | ^~~~~~~~~ container.h:285:2: error: unknown type name 'u_int32_t' 285 | u_int32_t hash_size; | ^~~~~~~~~ container.h:293:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 293 | int hash_ins(struct hash_buf *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t --- spf_util.o --- spf_util.c: In function 'spf_use_tmp_name': spf_util.c:229:20: warning: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 229 | if ((str = strdup(rindex(buf2, '/') + 1)) == NULL) | ^~~~~~ spf_util.c:229:20: warning: incompatible implicit declaration of built-in function 'rindex' --- spegla.o --- container.h:294:34: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 294 | int hash_find(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:295:34: error: unknown type name 'hash_map_f'; did you mean 'pat_map_f'? 295 | void hash_map(struct hash_buf *, hash_map_f map_fun, TYPE *arg_obj); | ^~~~~~~~~~ | pat_map_f container.h:296:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 296 | int hash_rem(struct hash_buf *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:304:37: error: expected ')' before 'TYPE' 304 | typedef void (*sl_map_f) (u_int32_t, TYPE *, void *); | ^~~~~ | ) container.h:309:2: error: unknown type name 'u_int32_t' 309 | u_int32_t sln_key; | ^~~~~~~~~ container.h:316:2: error: unknown type name 'u_int32_t' 316 | u_int32_t sl_level; /* Current level of the list */ | ^~~~~~~~~ container.h:317:2: error: unknown type name 'u_int32_t' 317 | u_int32_t sl_random_bits; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:318:2: error: unknown type name 'u_int32_t' 318 | u_int32_t sl_randoms_left; /* Used by sl_random_level */ | ^~~~~~~~~ container.h:323:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 323 | int sl_ins(struct skip_list *, u_int32_t key, TYPE *data); | ^~~~~~~~~ | uint32_t container.h:324:37: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 324 | int sl_find_pos(struct skip_list *, u_int32_t key, | ^~~~~~~~~ | uint32_t container.h:329:33: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 329 | int sl_find(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t container.h:330:32: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 330 | int sl_rem(struct skip_list *, u_int32_t key, TYPE **data); | ^~~~~~~~~ | uint32_t --- parserow.o --- *** [parserow.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 --- jftp.o --- In file included from jftp.c:58: jftp.h:71:2: error: unknown type name 'u_int64_t' 71 | u_int64_t ftp_recd; | ^~~~~~~~~ jftp.h:72:2: error: unknown type name 'u_int64_t' 72 | u_int64_t ftp_sent; | ^~~~~~~~~ --- spegla.o --- In file included from spegla.c:70: spegla.h:74:2: error: unknown type name 'u_int32_t' 74 | u_int32_t spf_opt; | ^~~~~~~~~ In file included from spegla.h:48, from spegla.c:70: container.h:827:2: error: unknown type name 'u_int32_t' 827 | u_int32_t sln_key; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:833:2: error: unknown type name 'u_int32_t' 833 | u_int32_t sl_level; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:834:2: error: unknown type name 'u_int32_t' 834 | u_int32_t sl_random_bits; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:835:2: error: unknown type name 'u_int32_t' 835 | u_int32_t sl_randoms_left; \ | ^~~~~~~~~ container.h:884:1: note: in expansion of macro 'SKIP_STRUCT_DEFS' 884 | SKIP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ spegla.h:100:16: error: expected ')' before 'struct' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~ container.h:840:52: note: in definition of macro 'SKIP_TYPEDEF_DEFS' 840 | typedef void (* CC_3(sl_,NAME,_map_f)) (u_int32_t, TYPE *, void *); | ^~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- jftp.o --- jftp.c: In function 'ftp_req': jftp.c:225:15: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 225 | if ((nfmt = alloca(strlen(fmt) + 3)) == NULL) { | ^~~~~~ jftp.c:225:15: warning: incompatible implicit declaration of built-in function 'alloca' --- spf_util.o --- spf_util.c: In function 'spf_stat_init': spf_util.c:877:9: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 877 | buf = alloca((size_t)(PATH_MAX + 1)); | ^~~~~~ spf_util.c:877:9: warning: incompatible implicit declaration of built-in function 'alloca' --- spegla.o --- container.h:853:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 853 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE *data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:857:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 857 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ container.h:873:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 873 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- jftp.o --- jftp.c: In function 'ftp_login': jftp.c:357:4: error: 'u_int8_t' undeclared (first use in this function); did you mean 'uint8_t'? 357 | (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1], | ^~~~~~~~ | uint8_t jftp.c:357:4: note: each undeclared identifier is reported only once for each function it appears in jftp.c:357:13: error: expected ')' before 'hp' 357 | (u_int8_t) hp->h_addr[0], (u_int8_t) hp->h_addr[1], | ^~~ | ) --- spegla.o --- container.h:877:38: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 877 | (struct CC_3(skip_,NAME,_list) *sl, u_int32_t key, TYPE **data), \ | ^~~~~~~~~ container.h:352:48: note: in definition of macro 'DEF_F_DECL' 352 | static __inline ret_t CC_5(PRE,_,NAME,_,f_name)arg \ | ^~~ container.h:886:1: note: in expansion of macro 'SKIP_FUN_DEFS' 886 | SKIP_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:100:1: note: in expansion of macro 'SKIP_TYPE' 100 | SKIP_TYPE(spd, struct sp_dir) | ^~~~~~~~~ --- spf_util.o --- spf_util.c: In function 'spd_init': spf_util.c:1126:24: warning: incompatible implicit declaration of built-in function 'rindex' 1126 | if ((spd->spd_name = rindex(spd->spd_full_name, '/')) == NULL) | ^~~~~~ --- spegla.o --- spegla.h: In function 'fifo_spf_walk': container.h:527:26: warning: pointer targets in passing argument 2 of 'fifo_walk' differ in signedness [-Wpointer-sign] 527 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:167:44: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 167 | int fifo_walk(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ --- spf_util.o --- spf_util.c: At top level: --- spegla.o --- spegla.h: In function 'fifo_spf_walk_back': container.h:531:26: warning: pointer targets in passing argument 2 of 'fifo_walk_back' differ in signedness [-Wpointer-sign] 531 | ((struct fifo_list *)f, pos, (void **)data) ) \ | ^~~ | | | size_t * {aka long unsigned int *} container.h:354:34: note: in definition of macro 'DEF_F_DECL' 354 | return (ret_t)CC_3(PRE,_,f_name)arg2; \ | ^~~~ container.h:548:1: note: in expansion of macro 'FIFO_FUN_DEFS' 548 | FIFO_FUN_DEFS(DEF_F_DECL,NAME,TYPE) | ^~~~~~~~~~~~~ spegla.h:119:1: note: in expansion of macro 'FIFO_TYPE' 119 | FIFO_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:168:49: note: expected 'ssize_t *' {aka 'long int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 168 | int fifo_walk_back(struct fifo_list *, ssize_t *pos, TYPE **data); | ~~~~~~~~~^~~ --- spf_util.o --- spf_util.c:1163:8: error: unknown type name 'u_int32_t' 1163 | static u_int32_t | ^~~~~~~~~ --- spegla.o --- spegla.h: At top level: --- container.o --- container.c:1884:1: warning: 'sl_random_level' defined but not used [-Wunused-function] 1884 | sl_random_level(struct skip_list *sl) | ^~~~~~~~~~~~~~~ container.c:28:19: warning: 'cvsid' defined but not used [-Wunused-const-variable=] 28 | static char const cvsid[] = "$Id: container.c,v 1.16 2000/05/27 13:38:14 jens Exp $"; | ^~~~~ --- spegla.o --- container.h:734:2: error: unknown type name 'u_int32_t' 734 | u_int32_t heap_size; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ container.h:735:2: error: unknown type name 'u_int32_t' 735 | u_int32_t heap_keys; \ | ^~~~~~~~~ container.h:746:1: note: in expansion of macro 'HEAP_STRUCT_DEFS' 746 | HEAP_STRUCT_DEFS(NAME,TYPE) \ | ^~~~~~~~~~~~~~~~ spegla.h:120:1: note: in expansion of macro 'HEAP_TYPE' 120 | HEAP_TYPE(spf, struct sp_file) | ^~~~~~~~~ --- spf_util.o --- spf_util.c: In function 'spd_key': spf_util.c:1166:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1166 | u_int32_t key; | ^~~~~~~~~ | uint32_t spf_util.c: In function 'spd_find': spf_util.c:1182:2: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'? 1182 | u_int32_t key; | ^~~~~~~~~ | uint32_t spf_util.c:1186:6: warning: implicit declaration of function 'sl_spd_find_pos'; did you mean 'cl_spt_find_pos'? [-Wimplicit-function-declaration] 1186 | if (sl_spd_find_pos(spd->spd_spdl, key, &pos, p) < 0) | ^~~~~~~~~~~~~~~ | cl_spt_find_pos spf_util.c: In function 'spdi_insert_spd': --- spegla.o --- In file included from spegla.c:72: jftp.h:71:2: error: unknown type name 'u_int64_t' 71 | u_int64_t ftp_recd; | ^~~~~~~~~ jftp.h:72:2: error: unknown type name 'u_int64_t' 72 | u_int64_t ftp_sent; | ^~~~~~~~~ --- spf_util.o --- spf_util.c:1243:9: warning: incompatible implicit declaration of built-in function 'rindex' 1243 | str = rindex(buf, '/'); | ^~~~~~ spf_util.c:1252:6: warning: implicit declaration of function 'sl_spd_ins'; did you mean 'sl_spd_init'? [-Wimplicit-function-declaration] 1252 | if (sl_spd_ins(p->spd_spdl, spd_key(spd->spd_name), spd) < 0) | ^~~~~~~~~~ | sl_spd_init --- jftp.o --- jftp.c: In function 'ftp_dir': jftp.c:907:11: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'? 907 | char buf[PATH_MAX]; | ^~~~~~~~ | AF_MAX jftp.c:907:7: warning: unused variable 'buf' [-Wunused-variable] 907 | char buf[PATH_MAX]; | ^~~ --- spegla.o --- spegla.c: In function 'print_stats': spegla.c:219:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=] 219 | e_warnx("bytes recieved : %llu", | ~~~^ | | | long long unsigned int | %u ...... 224 | connection->ftp_recd); | ~~~~~~~~~~~~~~~~~~~~ | | | int spegla.c:225:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=] 225 | e_warnx("bytes sent : %llu", | ~~~^ | | | long long unsigned int | %u ...... 230 | connection->ftp_sent); | ~~~~~~~~~~~~~~~~~~~~ | | | int --- container.o --- *** [container.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 --- spegla.o --- spegla.c: In function 'check_minfree': spegla.c:714:16: error: storage size of 'f' isn't known 714 | struct statfs f; | ^ spegla.c:725:6: warning: implicit declaration of function 'statfs'; did you mean 'stat'? [-Wimplicit-function-declaration] 725 | if (statfs(path, &f) < 0) | ^~~~~~ | stat spegla.c:714:16: warning: unused variable 'f' [-Wunused-variable] 714 | struct statfs f; | ^ spegla.c: In function 'main': spegla.c:1283:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1283 | if (atexit(remove_lock) < 0) | ^~ spegla.c:1286:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1286 | lock_file = param.lockfile; | ^~~~~~~~~ --- jftp.o --- *** [jftp.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 --- spf_util.o --- *** [spf_util.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 --- spegla.o --- *** [spegla.o] Error code 1 bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 6 errors bmake: stopped in /home/pbulk/build/net/spegla/work/spegla-1.1p4 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/spegla *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/spegla