+ 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/xscribble-20000616nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xscribble-20000616nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xscribble-20000616nb3 making all in programs/xscribble/recman... rm -f hre_api.o gcc -c -O2 -I. -I../../.. -I../../../exports/include -Dlinux -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO hre_api.c In file included from ./hre_internal.h:30, from hre_api.c:34: ./hre.h:45:9: error: unknown type name 'u_char' 45 | typedef u_char bool; | ^~~~~~ ./hre.h:61:9: error: unknown type name 'u_char' 61 | typedef u_char rec_confidence; | ^~~~~~ ./hre.h:187:9: error: unknown type name 'u_short' 187 | u_short tc_button; /*button capabilities*/ | ^~~~~~~ ./hre.h:188:9: error: unknown type name 'u_short' 188 | u_short tc_pen; /*pen capabilities*/ | ^~~~~~~ ./hre.h:189:9: error: unknown type name 'u_short' 189 | u_short tc_angle; /*pen angle reporting*/ | ^~~~~~~ ./hre.h:190:9: error: unknown type name 'u_int' 190 | u_int tc_sensor : 8; /*sensor capabilities*/ | ^~~~~ ./hre.h:191:9: error: unknown type name 'u_int' 191 | u_int tc_units : 8; /*units for xy reporting*/ | ^~~~~ ./hre.h:192:9: error: unknown type name 'u_int' 192 | u_int tc_default_units : 8; /*default units*/ | ^~~~~ ./hre.h:193:9: error: unknown type name 'u_int' 193 | u_int tc_origin : 8; /*where origin located*/ | ^~~~~ ./hre.h:197:9: error: unknown type name 'u_int' 197 | u_int tc_sample_rate; /*rate of event reporting*/ | ^~~~~ ./hre.h:198:9: error: unknown type name 'u_int' 198 | u_int tc_sample_distance; /*xy coords per sample*/ | ^~~~~ ./hre.h:212:5: error: unknown type name 'u_short' 212 | u_short pt_button; /*button state - same as tc_button*/ | ^~~~~~~ ./hre.h:213:5: error: unknown type name 'u_short' 213 | u_short pt_pen; /*other state - same as tc_pen*/ | ^~~~~~~ ./hre.h:225:5: error: unknown type name 'u_int' 225 | u_int ps_npts; /*Number of pen_point in array.*/ | ^~~~~ ./hre.h:227:5: error: unknown type name 'u_int' 227 | u_int ps_nstate; /*Number of pen_state in array.*/ | ^~~~~ ./hre.h:228:5: error: unknown type name 'u_int' 228 | u_int* ps_trans; /*State transition point indicies.*/ | ^~~~~ ./hre.h:281:5: error: unknown type name 'u_short' 281 | u_short rc_upref; /*User preference. */ | ^~~~~~~ ./hre.h:283:5: error: unknown type name 'u_short' 283 | u_short rc_direction; /*Primary and secondary writing direction.*/ | ^~~~~~~ ./hre.h:306:5: error: unknown type name 'u_int' 306 | u_int g_nhs; /*Number of hotspots.*/ | ^~~~~ ./hre.h:373:9: error: unknown type name 'u_int' 373 | u_int ra_nalter; /*number of next alternatives*/ | ^~~~~ ./hre.h:393:5: error: unknown type name 'u_int' 393 | u_int ro_nstrokes; /*Number of strokes.*/ | ^~~~~ ./hre.h:395:5: error: unknown type name 'u_int' 395 | u_int* ro_start; /*Starting index of points.*/ | ^~~~~ ./hre.h:396:5: error: unknown type name 'u_int' 396 | u_int* ro_stop; /*Stopping index of points.*/ | ^~~~~ ./hre_internal.h:59:9: error: unknown type name 'u_int' 59 | u_int recognizer_magic; | ^~~~~ ./hre_internal.h:148:46: error: unknown type name 'u_int'; did you mean 'int'? 148 | struct _Recognizer*, u_int*, pen_stroke**); | ^~~~~ | int ./hre_internal.h:156:46: error: unknown type name 'u_int'; did you mean 'int'? 156 | struct _Recognizer*, u_int, pen_stroke*); | ^~~~~ | int ./hre_internal.h:166:46: error: unknown type name 'u_int'; did you mean 'int'? 166 | struct _Recognizer*, u_int, pen_stroke*, | ^~~~~ | int ./hre_internal.h:182:9: error: unknown type name 'u_int' 182 | u_int recognizer_end_magic; | ^~~~~ ./hre_internal.h:229:28: error: unknown type name 'u_int'; did you mean 'int'? 229 | make_rec_alternative_array(u_int size); | ^~~~~ | int ./hre_internal.h:232:22: error: unknown type name 'u_int'; did you mean 'int'? 232 | u_int size, | ^~~~~ | int ./hre_internal.h:235:22: error: unknown type name 'u_int'; did you mean 'int'? 235 | u_int ps_size); | ^~~~~ | int ./hre_internal.h:238:19: error: unknown type name 'u_int'; did you mean 'int'? 238 | make_rec_fn_array(u_int size); | ^~~~~ | int ./hre_internal.h:245:20: error: unknown type name 'u_int'; did you mean 'int'? 245 | u_int nhs, | ^~~~~ | int ./hre_internal.h:251:20: error: unknown type name 'u_int'; did you mean 'int'? 251 | make_gesture_array(u_int size); | ^~~~~ | int ./hre_internal.h:253:22: error: unknown type name 'u_int'; did you mean 'int'? 253 | delete_gesture_array(u_int size,gesture* ga,bool delete_points_p); | ^~~~~ | int ./hre_internal.h:264:48: error: unknown type name 'u_int'; did you mean 'int'? 264 | initialize_rec_alternative(rec_alternative* ra,u_int nelem); | ^~~~~ | int ./hre_internal.h:268:24: error: unknown type name 'u_int'; did you mean 'int'? 268 | u_int size, | ^~~~~ | int In file included from ./hre_internal.h:283: ./hre_api_internal.h:170:40: error: unknown type name 'u_int'; did you mean 'int'? 170 | recognizer_get_buffer(recognizer rec, u_int* nstrokes,pen_stroke** strokes); | ^~~~~ | int ./hre_api_internal.h:173:38: error: unknown type name 'u_int'; did you mean 'int'? 173 | recognizer_set_buffer(recognizer rec,u_int nstrokes,pen_stroke* strokes); | ^~~~~ | int ./hre_api_internal.h:188:22: error: unknown type name 'u_int'; did you mean 'int'? 188 | u_int nstrokes, | ^~~~~ | int ./hre_api_internal.h:234:30: error: unknown type name 'u_int'; did you mean 'int'? 234 | delete_rec_alternative_array(u_int nalter, | ^~~~~ | int ./hre_api_internal.h:248:23: error: unknown type name 'u_int'; did you mean 'int'? 248 | make_pen_stroke_array(u_int size); | ^~~~~ | int ./hre_api_internal.h:251:23: error: unknown type name 'u_int'; did you mean 'int'? 251 | u_int npts, | ^~~~~ | int ./hre_api_internal.h:253:23: error: unknown type name 'u_int'; did you mean 'int'? 253 | u_int nstate, | ^~~~~ | int ./hre_api_internal.h:254:23: error: unknown type name 'u_int'; did you mean 'int'? 254 | u_int* trans, | ^~~~~ | int ./hre_api_internal.h:257:25: error: unknown type name 'u_int'; did you mean 'int'? 257 | delete_pen_stroke_array(u_int size,pen_stroke* ps,bool delete_points_p); | ^~~~~ | int ./hre_api_internal.h:260:22: error: unknown type name 'u_int'; did you mean 'int'? 260 | make_pen_point_array(u_int size); | ^~~~~ | int ./hre_api_internal.h:265:23: error: unknown type name 'u_int'; did you mean 'int'? 265 | copy_pen_stroke_array(u_int nstrokes,pen_stroke* strokes); | ^~~~~ | int ./hre_api_internal.h:267:22: error: unknown type name 'u_int'; did you mean 'int'? 267 | copy_pen_state_array(u_int nstate,pen_state* state); | ^~~~~ | int ./hre_api_internal.h:268:1: error: unknown type name 'u_int'; did you mean 'int'? 268 | u_int* | ^~~~~ | int ./hre_api_internal.h:269:24: error: unknown type name 'u_int'; did you mean 'int'? 269 | copy_state_trans_array(u_int ntrans,u_int* trans); | ^~~~~ | int ./hre_api_internal.h:269:37: error: unknown type name 'u_int'; did you mean 'int'? 269 | copy_state_trans_array(u_int ntrans,u_int* trans); | ^~~~~ | int ./hre_api_internal.h:272:22: error: unknown type name 'u_int'; did you mean 'int'? 272 | make_pen_state_array(u_int size); | ^~~~~ | int ./hre_api_internal.h:275:22: error: unknown type name 'u_short'; did you mean 'short'? 275 | u_short button, | ^~~~~~~ | short ./hre_api_internal.h:276:22: error: unknown type name 'u_short'; did you mean 'short'? 276 | u_short pen, | ^~~~~~~ | short hre_api.c: In function 'safe_malloc': hre_api.c:96:5: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 96 | error("malloc failure"); | ^~~~~ | perror hre_api.c: In function 'recognizer_load': hre_api.c:157:14: error: 'struct _Recognizer' has no member named 'recognizer_get_buffer'; did you mean 'recognizer_get_context'? 157 | rec->recognizer_get_buffer == NULL || | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_get_context hre_api.c:158:14: error: 'struct _Recognizer' has no member named 'recognizer_set_buffer'; did you mean 'recognizer_set_context'? 158 | rec->recognizer_set_buffer == NULL || | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_set_context hre_api.c:159:14: error: 'struct _Recognizer' has no member named 'recognizer_translate'; did you mean 'recognizer_load_state'? 159 | rec->recognizer_translate == NULL || | ^~~~~~~~~~~~~~~~~~~~ | recognizer_load_state hre_api.c: In function 'recognizer_unload': hre_api.c:212:5: warning: implicit declaration of function '__recognizer_internal_finalize'; did you mean '__recognizer_internal_initialize'? [-Wimplicit-function-declaration] 212 | __recognizer_internal_finalize(rec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __recognizer_internal_initialize hre_api.c: At top level: hre_api.c:481:43: error: unknown type name 'u_int'; did you mean 'int'? 481 | int recognizer_get_buffer(recognizer rec, u_int* nstrokes,pen_stroke** strokes) | ^~~~~ | int hre_api.c:502:42: error: unknown type name 'u_int'; did you mean 'int'? 502 | int recognizer_set_buffer(recognizer rec,u_int nstrokes,pen_stroke* strokes) | ^~~~~ | int hre_api.c:525:26: error: unknown type name 'u_int'; did you mean 'int'? 525 | u_int nstrokes, | ^~~~~ | int hre_api.c: In function 'make_rec_info': hre_api.c:711:18: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 711 | locale = strdup(REC_DEFAULT_LOCALE); | ^~~~~~ hre_api.c:711:18: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] hre_api.c:714:26: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 714 | if( (ri->ri_locale = strdup(locale)) == NULL ) { | ^~~~~~ hre_api.c:742:41: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 742 | if( (ri->ri_subset[i] = strdup(subset[i])) == NULL ) { | ^~~~~~ hre_api.c: In function 'make_recognizer': hre_api.c:846:29: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 846 | rec->recognizer_version = REC_VERSION; | ^ hre_api.c:861:10: error: 'struct _Recognizer' has no member named 'recognizer_get_buffer'; did you mean 'recognizer_get_context'? 861 | rec->recognizer_get_buffer = NULL; | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_get_context hre_api.c:862:10: error: 'struct _Recognizer' has no member named 'recognizer_set_buffer'; did you mean 'recognizer_set_context'? 862 | rec->recognizer_set_buffer = NULL; | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_set_context hre_api.c:863:10: error: 'struct _Recognizer' has no member named 'recognizer_translate'; did you mean 'recognizer_load_state'? 863 | rec->recognizer_translate = NULL; | ^~~~~~~~~~~~~~~~~~~~ | recognizer_load_state hre_api.c: At top level: hre_api.c:885:45: error: unknown type name 'u_int'; did you mean 'int'? 885 | rec_alternative* make_rec_alternative_array(u_int size) | ^~~~~ | int hre_api.c:905:30: error: unknown type name 'u_int'; did you mean 'int'? 905 | u_int nelem) | ^~~~~ | int hre_api.c:918:35: error: unknown type name 'u_int'; did you mean 'int'? 918 | void delete_rec_alternative_array(u_int nalter, | ^~~~~ | int hre_api.c:948:24: error: unknown type name 'u_int'; did you mean 'int'? 948 | u_int size, | ^~~~~ | int hre_api.c: In function 'cleanup_rec_element': hre_api.c:1022:5: warning: implicit declaration of function 'delete_gesture_array'; did you mean 'delete_pen_state_array'? [-Wimplicit-function-declaration] 1022 | delete_gesture_array(1,re->re_result.gval,true); | ^~~~~~~~~~~~~~~~~~~~ | delete_pen_state_array hre_api.c: At top level: hre_api.c:1041:22: error: unknown type name 'u_int'; did you mean 'int'? 1041 | u_int size, | ^~~~~ | int hre_api.c:1044:22: error: unknown type name 'u_int'; did you mean 'int'? 1044 | u_int ps_size) | ^~~~~ | int hre_api.c: In function 'delete_rec_correlation': hre_api.c:1077:5: warning: implicit declaration of function 'delete_pen_stroke_array'; did you mean 'delete_pen_state_array'? [-Wimplicit-function-declaration] 1077 | delete_pen_stroke_array(rc->ro_nstrokes,rc->ro_strokes,delete_points_p); | ^~~~~~~~~~~~~~~~~~~~~~~ | delete_pen_state_array hre_api.c: At top level: hre_api.c:1098:27: error: unknown type name 'u_int'; did you mean 'int'? 1098 | rec_fn* make_rec_fn_array(u_int size) | ^~~~~ | int hre_api.c:1124:35: error: unknown type name 'u_int'; did you mean 'int'? 1124 | pen_stroke* make_pen_stroke_array(u_int size) | ^~~~~ | int hre_api.c:1141:35: error: unknown type name 'u_int'; did you mean 'int'? 1141 | u_int npts, | ^~~~~ | int hre_api.c:1143:35: error: unknown type name 'u_int'; did you mean 'int'? 1143 | u_int nstate, | ^~~~~ | int hre_api.c:1144:35: error: unknown type name 'u_int'; did you mean 'int'? 1144 | u_int* trans, | ^~~~~ | int hre_api.c:1157:30: error: unknown type name 'u_int'; did you mean 'int'? 1157 | void delete_pen_stroke_array(u_int size,pen_stroke* ps,bool delete_points_p) | ^~~~~ | int hre_api.c:1188:33: error: unknown type name 'u_int'; did you mean 'int'? 1188 | pen_point* make_pen_point_array(u_int size) | ^~~~~ | int hre_api.c:1213:33: error: unknown type name 'u_int'; did you mean 'int'? 1213 | pen_state* make_pen_state_array(u_int size) | ^~~~~ | int hre_api.c:1233:33: error: unknown type name 'u_short'; did you mean 'short'? 1233 | u_short button, | ^~~~~~~ | short hre_api.c:1234:33: error: unknown type name 'u_short'; did you mean 'short'? 1234 | u_short pen, | ^~~~~~~ | short hre_api.c:1264:20: error: unknown type name 'u_int'; did you mean 'int'? 1264 | make_gesture_array(u_int size) | ^~~~~ | int hre_api.c:1271:29: error: unknown type name 'u_int'; did you mean 'int'? 1271 | u_int nhs, | ^~~~~ | int hre_api.c:1298:22: error: unknown type name 'u_int'; did you mean 'int'? 1298 | delete_gesture_array(u_int size,gesture* ga,bool delete_points_p) | ^~~~~ | int hre_api.c: In function 'copy_pen_stroke': hre_api.c:1324:3: error: unknown type name 'u_int'; did you mean 'int'? 1324 | u_int* trans = NULL; | ^~~~~ | int hre_api.c:1328:8: warning: implicit declaration of function 'copy_state_trans_array' [-Wimplicit-function-declaration] 1328 | copy_state_trans_array(ps2->ps_nstate, | ^~~~~~~~~~~~~~~~~~~~~~ hre_api.c:1327:14: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1327 | if( (trans = | ^ hre_api.c:1334:8: warning: implicit declaration of function 'copy_pen_state_array'; did you mean 'delete_pen_state_array'? [-Wimplicit-function-declaration] 1334 | copy_pen_state_array(ps2->ps_nstate, | ^~~~~~~~~~~~~~~~~~~~ | delete_pen_state_array hre_api.c:1333:14: warning: assignment to 'pen_state *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1333 | if( (state = | ^ hre_api.c:1340:3: warning: implicit declaration of function 'initialize_pen_stroke' [-Wimplicit-function-declaration] 1340 | initialize_pen_stroke(ps1, | ^~~~~~~~~~~~~~~~~~~~~ hre_api.c: At top level: hre_api.c:1351:24: error: unknown type name 'u_int'; did you mean 'int'? 1351 | copy_pen_stroke_array(u_int nstrokes, | ^~~~~ | int hre_api.c:1371:23: error: unknown type name 'u_int'; did you mean 'int'? 1371 | copy_pen_state_array(u_int nstate,pen_state* state) | ^~~~~ | int hre_api.c:1394:1: error: unknown type name 'u_int'; did you mean 'int'? 1394 | u_int* | ^~~~~ | int hre_api.c:1395:25: error: unknown type name 'u_int'; did you mean 'int'? 1395 | copy_state_trans_array(u_int ntrans,u_int* trans) | ^~~~~ | int hre_api.c:1395:38: error: unknown type name 'u_int'; did you mean 'int'? 1395 | copy_state_trans_array(u_int ntrans,u_int* trans) | ^~~~~ | int hre_api.c: In function 'concatenate_pen_strokes': hre_api.c:1425:13: warning: implicit declaration of function 'make_pen_stroke_array' [-Wimplicit-function-declaration] 1425 | if( (ps = make_pen_stroke_array(ns)) == NULL ) { | ^~~~~~~~~~~~~~~~~~~~~ hre_api.c:1425:11: warning: assignment to 'pen_stroke *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1425 | if( (ps = make_pen_stroke_array(ns)) == NULL ) { | ^ *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/x11/xscribble/work/xscribble/recman making all in programs/xscribble/lirec... rm -f li_recognizer.o gcc -c -O2 -I../recman -I../../.. -I../../../exports/include -Dlinux -D__arm__ -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO li_recognizer.c In file included from ../recman/hre_internal.h:30, from li_recognizer.c:28: ../recman/hre.h:45:9: error: unknown type name 'u_char' 45 | typedef u_char bool; | ^~~~~~ ../recman/hre.h:61:9: error: unknown type name 'u_char' 61 | typedef u_char rec_confidence; | ^~~~~~ ../recman/hre.h:187:9: error: unknown type name 'u_short' 187 | u_short tc_button; /*button capabilities*/ | ^~~~~~~ ../recman/hre.h:188:9: error: unknown type name 'u_short' 188 | u_short tc_pen; /*pen capabilities*/ | ^~~~~~~ ../recman/hre.h:189:9: error: unknown type name 'u_short' 189 | u_short tc_angle; /*pen angle reporting*/ | ^~~~~~~ ../recman/hre.h:190:9: error: unknown type name 'u_int' 190 | u_int tc_sensor : 8; /*sensor capabilities*/ | ^~~~~ ../recman/hre.h:191:9: error: unknown type name 'u_int' 191 | u_int tc_units : 8; /*units for xy reporting*/ | ^~~~~ ../recman/hre.h:192:9: error: unknown type name 'u_int' 192 | u_int tc_default_units : 8; /*default units*/ | ^~~~~ ../recman/hre.h:193:9: error: unknown type name 'u_int' 193 | u_int tc_origin : 8; /*where origin located*/ | ^~~~~ ../recman/hre.h:197:9: error: unknown type name 'u_int' 197 | u_int tc_sample_rate; /*rate of event reporting*/ | ^~~~~ ../recman/hre.h:198:9: error: unknown type name 'u_int' 198 | u_int tc_sample_distance; /*xy coords per sample*/ | ^~~~~ ../recman/hre.h:212:5: error: unknown type name 'u_short' 212 | u_short pt_button; /*button state - same as tc_button*/ | ^~~~~~~ ../recman/hre.h:213:5: error: unknown type name 'u_short' 213 | u_short pt_pen; /*other state - same as tc_pen*/ | ^~~~~~~ ../recman/hre.h:225:5: error: unknown type name 'u_int' 225 | u_int ps_npts; /*Number of pen_point in array.*/ | ^~~~~ ../recman/hre.h:227:5: error: unknown type name 'u_int' 227 | u_int ps_nstate; /*Number of pen_state in array.*/ | ^~~~~ ../recman/hre.h:228:5: error: unknown type name 'u_int' 228 | u_int* ps_trans; /*State transition point indicies.*/ | ^~~~~ ../recman/hre.h:281:5: error: unknown type name 'u_short' 281 | u_short rc_upref; /*User preference. */ | ^~~~~~~ ../recman/hre.h:283:5: error: unknown type name 'u_short' 283 | u_short rc_direction; /*Primary and secondary writing direction.*/ | ^~~~~~~ ../recman/hre.h:306:5: error: unknown type name 'u_int' 306 | u_int g_nhs; /*Number of hotspots.*/ | ^~~~~ ../recman/hre.h:373:9: error: unknown type name 'u_int' 373 | u_int ra_nalter; /*number of next alternatives*/ | ^~~~~ ../recman/hre.h:393:5: error: unknown type name 'u_int' 393 | u_int ro_nstrokes; /*Number of strokes.*/ | ^~~~~ ../recman/hre.h:395:5: error: unknown type name 'u_int' 395 | u_int* ro_start; /*Starting index of points.*/ | ^~~~~ ../recman/hre.h:396:5: error: unknown type name 'u_int' 396 | u_int* ro_stop; /*Stopping index of points.*/ | ^~~~~ ../recman/hre_internal.h:59:9: error: unknown type name 'u_int' 59 | u_int recognizer_magic; | ^~~~~ ../recman/hre_internal.h:148:46: error: unknown type name 'u_int'; did you mean 'int'? 148 | struct _Recognizer*, u_int*, pen_stroke**); | ^~~~~ | int ../recman/hre_internal.h:156:46: error: unknown type name 'u_int'; did you mean 'int'? 156 | struct _Recognizer*, u_int, pen_stroke*); | ^~~~~ | int ../recman/hre_internal.h:166:46: error: unknown type name 'u_int'; did you mean 'int'? 166 | struct _Recognizer*, u_int, pen_stroke*, | ^~~~~ | int ../recman/hre_internal.h:182:9: error: unknown type name 'u_int' 182 | u_int recognizer_end_magic; | ^~~~~ ../recman/hre_internal.h:229:28: error: unknown type name 'u_int'; did you mean 'int'? 229 | make_rec_alternative_array(u_int size); | ^~~~~ | int ../recman/hre_internal.h:232:22: error: unknown type name 'u_int'; did you mean 'int'? 232 | u_int size, | ^~~~~ | int ../recman/hre_internal.h:235:22: error: unknown type name 'u_int'; did you mean 'int'? 235 | u_int ps_size); | ^~~~~ | int ../recman/hre_internal.h:238:19: error: unknown type name 'u_int'; did you mean 'int'? 238 | make_rec_fn_array(u_int size); | ^~~~~ | int ../recman/hre_internal.h:245:20: error: unknown type name 'u_int'; did you mean 'int'? 245 | u_int nhs, | ^~~~~ | int ../recman/hre_internal.h:251:20: error: unknown type name 'u_int'; did you mean 'int'? 251 | make_gesture_array(u_int size); | ^~~~~ | int ../recman/hre_internal.h:253:22: error: unknown type name 'u_int'; did you mean 'int'? 253 | delete_gesture_array(u_int size,gesture* ga,bool delete_points_p); | ^~~~~ | int ../recman/hre_internal.h:264:48: error: unknown type name 'u_int'; did you mean 'int'? 264 | initialize_rec_alternative(rec_alternative* ra,u_int nelem); | ^~~~~ | int ../recman/hre_internal.h:268:24: error: unknown type name 'u_int'; did you mean 'int'? 268 | u_int size, | ^~~~~ | int In file included from ../recman/hre_internal.h:283: ../recman/hre_api_internal.h:170:40: error: unknown type name 'u_int'; did you mean 'int'? 170 | recognizer_get_buffer(recognizer rec, u_int* nstrokes,pen_stroke** strokes); | ^~~~~ | int ../recman/hre_api_internal.h:173:38: error: unknown type name 'u_int'; did you mean 'int'? 173 | recognizer_set_buffer(recognizer rec,u_int nstrokes,pen_stroke* strokes); | ^~~~~ | int ../recman/hre_api_internal.h:188:22: error: unknown type name 'u_int'; did you mean 'int'? 188 | u_int nstrokes, | ^~~~~ | int ../recman/hre_api_internal.h:234:30: error: unknown type name 'u_int'; did you mean 'int'? 234 | delete_rec_alternative_array(u_int nalter, | ^~~~~ | int ../recman/hre_api_internal.h:248:23: error: unknown type name 'u_int'; did you mean 'int'? 248 | make_pen_stroke_array(u_int size); | ^~~~~ | int ../recman/hre_api_internal.h:251:23: error: unknown type name 'u_int'; did you mean 'int'? 251 | u_int npts, | ^~~~~ | int ../recman/hre_api_internal.h:253:23: error: unknown type name 'u_int'; did you mean 'int'? 253 | u_int nstate, | ^~~~~ | int ../recman/hre_api_internal.h:254:23: error: unknown type name 'u_int'; did you mean 'int'? 254 | u_int* trans, | ^~~~~ | int ../recman/hre_api_internal.h:257:25: error: unknown type name 'u_int'; did you mean 'int'? 257 | delete_pen_stroke_array(u_int size,pen_stroke* ps,bool delete_points_p); | ^~~~~ | int ../recman/hre_api_internal.h:260:22: error: unknown type name 'u_int'; did you mean 'int'? 260 | make_pen_point_array(u_int size); | ^~~~~ | int ../recman/hre_api_internal.h:265:23: error: unknown type name 'u_int'; did you mean 'int'? 265 | copy_pen_stroke_array(u_int nstrokes,pen_stroke* strokes); | ^~~~~ | int ../recman/hre_api_internal.h:267:22: error: unknown type name 'u_int'; did you mean 'int'? 267 | copy_pen_state_array(u_int nstate,pen_state* state); | ^~~~~ | int ../recman/hre_api_internal.h:268:1: error: unknown type name 'u_int'; did you mean 'int'? 268 | u_int* | ^~~~~ | int ../recman/hre_api_internal.h:269:24: error: unknown type name 'u_int'; did you mean 'int'? 269 | copy_state_trans_array(u_int ntrans,u_int* trans); | ^~~~~ | int ../recman/hre_api_internal.h:269:37: error: unknown type name 'u_int'; did you mean 'int'? 269 | copy_state_trans_array(u_int ntrans,u_int* trans); | ^~~~~ | int ../recman/hre_api_internal.h:272:22: error: unknown type name 'u_int'; did you mean 'int'? 272 | make_pen_state_array(u_int size); | ^~~~~ | int ../recman/hre_api_internal.h:275:22: error: unknown type name 'u_short'; did you mean 'short'? 275 | u_short button, | ^~~~~~~ | short ../recman/hre_api_internal.h:276:22: error: unknown type name 'u_short'; did you mean 'short'? 276 | u_short pen, | ^~~~~~~ | short In file included from li_recognizer.c:33: li_recognizer.h:22:37: error: unknown type name 'u_int'; did you mean 'int'? 22 | u_int nstrokes, | ^~~~~ | int In file included from li_recognizer.c:34: li_recognizer_internal.h:36:5: error: unknown type name 'u_int' 36 | u_int li_magic; /*Just to make sure nobody's cheating.*/ | ^~~~~ li_recognizer.c: In function 'add_example': li_recognizer.c:83:23: warning: implicit declaration of function 'make_pen_point_array'; did you mean 'delete_pen_point_array'? [-Wimplicit-function-declaration] 83 | pen_point* lpts = make_pen_point_array(npts); | ^~~~~~~~~~~~~~~~~~~~ | delete_pen_point_array li_recognizer.c:83:23: warning: initialization of 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] li_recognizer.c:93:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 93 | bcopy(pts,lpts,npts * sizeof(pen_point)); | ^~~~~ li_recognizer.c:93:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] li_recognizer.c: In function 'read_classifier_points': li_recognizer.c:201:20: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 201 | names[k] = strdup(buf); | ^~~~~~ li_recognizer.c:201:20: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] li_recognizer.c:217:22: warning: assignment to 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 217 | if( (pts = make_pen_point_array(npts)) == NULL ) { | ^ li_recognizer.c:250:5: warning: incompatible implicit declaration of built-in function 'bcopy' [-Wbuiltin-declaration-mismatch] 250 | bcopy(examples,ex,sizeof(examples)); | ^~~~~ li_recognizer.c: At top level: li_recognizer.c:344:42: error: unknown type name 'u_int'; did you mean 'int'? 344 | recognizer_train(recognizer r,rc* rec_xt,u_int nstrokes, | ^~~~~ | int li_recognizer.c:610:40: error: unknown type name 'u_int'; did you mean 'int'? 610 | li_recognizer_get_buffer(recognizer r, u_int* nstrokes,pen_stroke** strokes) | ^~~~~ | int li_recognizer.c:620:39: error: unknown type name 'u_int'; did you mean 'int'? 620 | li_recognizer_set_buffer(recognizer r,u_int nstrokes,pen_stroke* strokes) | ^~~~~ | int li_recognizer.c:631:26: error: unknown type name 'u_int'; did you mean 'int'? 631 | u_int ncs, | ^~~~~ | int li_recognizer.c: In function 'li_recognizer_get_extension_functions': li_recognizer.c:723:11: warning: implicit declaration of function 'make_rec_fn_array'; did you mean 'delete_rec_fn_array'? [-Wimplicit-function-declaration] 723 | ret = make_rec_fn_array(LI_NUM_EX_FNS); | ^~~~~~~~~~~~~~~~~ | delete_rec_fn_array li_recognizer.c:723:9: warning: assignment to 'void (**)()' from 'int' makes pointer from integer without a cast [-Wint-conversion] 723 | ret = make_rec_fn_array(LI_NUM_EX_FNS); | ^ li_recognizer.c:729:29: error: 'recognizer_train' undeclared (first use in this function); did you mean 'recognizer_error'? 729 | ret[LI_TRAIN] = (rec_fn)recognizer_train; | ^~~~~~~~~~~~~~~~ | recognizer_error li_recognizer.c:729:29: note: each undeclared identifier is reported only once for each function it appears in li_recognizer.c: In function '__recognizer_internal_initialize': li_recognizer.c:836:8: error: 'struct _Recognizer' has no member named 'recognizer_translate'; did you mean 'recognizer_load_state'? 836 | r->recognizer_translate = li_recognizer_translate; | ^~~~~~~~~~~~~~~~~~~~ | recognizer_load_state li_recognizer.c:836:31: error: 'li_recognizer_translate' undeclared (first use in this function); did you mean 'li_recognizer_clearState'? 836 | r->recognizer_translate = li_recognizer_translate; | ^~~~~~~~~~~~~~~~~~~~~~~ | li_recognizer_clearState li_recognizer.c:839:8: error: 'struct _Recognizer' has no member named 'recognizer_get_buffer'; did you mean 'recognizer_get_context'? 839 | r->recognizer_get_buffer = li_recognizer_get_buffer; | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_get_context li_recognizer.c:839:32: error: 'li_recognizer_get_buffer' undeclared (first use in this function); did you mean 'li_recognizer_get_context'? 839 | r->recognizer_get_buffer = li_recognizer_get_buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~ | li_recognizer_get_context li_recognizer.c:840:8: error: 'struct _Recognizer' has no member named 'recognizer_set_buffer'; did you mean 'recognizer_set_context'? 840 | r->recognizer_set_buffer = li_recognizer_set_buffer; | ^~~~~~~~~~~~~~~~~~~~~ | recognizer_set_context li_recognizer.c:840:32: error: 'li_recognizer_set_buffer' undeclared (first use in this function); did you mean 'li_recognizer_set_context'? 840 | r->recognizer_set_buffer = li_recognizer_set_buffer; | ^~~~~~~~~~~~~~~~~~~~~~~~ | li_recognizer_set_context li_recognizer.c: In function 'lialg_recognize_stroke': li_recognizer.c:1060:20: error: storage size of 'stv' isn't known 1060 | struct timeval stv, etv; | ^~~ li_recognizer.c:1060:25: error: storage size of 'etv' isn't known 1060 | struct timeval stv, etv; | ^~~ li_recognizer.c: In function 'lialg_interpolate_points': li_recognizer.c:1249:17: warning: assignment to 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1249 | newpts->pts = make_pen_point_array(maxpts); | ^ li_recognizer.c: In function 'lialg_compute_dompts': li_recognizer.c:1618:15: warning: assignment to 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1618 | dpts->pts = make_pen_point_array(ndpts); | ^ li_recognizer.c: In function 'lialg_read_classifier_digest': li_recognizer.c:2021:33: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 2021 | rec->cnames[nclasses] = strdup(class); | ^~~~~~ li_recognizer.c:2026:19: warning: assignment to 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2026 | dpts->pts = make_pen_point_array(npts); | ^ li_recognizer.c: In function 'lialg_compute_equipoints': li_recognizer.c:2292:29: warning: initialization of 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2292 | pen_point *equipoints = make_pen_point_array(NCANONICAL); | ^~~~~~~~~~~~~~~~~~~~ li_recognizer.c: In function 'lialg_filter_points': li_recognizer.c:2417:31: warning: initialization of 'pen_point *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 2417 | pen_point *filtered_pts = make_pen_point_array(points->npts); | ^~~~~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/x11/xscribble/work/xscribble/lirec *** Error code 1 Stop. bmake: stopped in /home/pbulk/build/x11/xscribble/work/xscribble *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscribble *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscribble