=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/math/otter", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for otter-3.0.6 --- main.o --- --- av.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTP_NAMES -DTP_SIGNAL -DTP_FORK -DTP_RUSAGE -c av.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DTP_NAMES -DTP_SIGNAL -DTP_FORK -DTP_RUSAGE -c main.c main.c: In function 'main': main.c:14:6: warning: old-style function definition [-Wold-style-definition] 14 | int main(argc, argv) | ^~~~ main.c:23:5: error: too many arguments to function 'non_portable_init'; expected 0, have 2 23 | non_portable_init(argc, argv); | ^~~~~~~~~~~~~~~~~ ~~~~ In file included from header.h:266, from main.c:12: proto.h:528:6: note: declared here 528 | void non_portable_init(); | ^~~~~~~~~~~~~~~~~ main.c:24:5: error: too many arguments to function 'print_banner'; expected 0, have 2 24 | print_banner(argc, argv); | ^~~~~~~~~~~~ ~~~~ proto.h:7:6: note: declared here 7 | void print_banner(); | ^~~~~~~~~~~~ main.c:33:5: error: too many arguments to function 'read_all_input'; expected 0, have 2 33 | read_all_input(argc, argv); | ^~~~~~~~~~~~~~ ~~~~ proto.h:438:6: note: declared here 438 | void read_all_input(); | ^~~~~~~~~~~~~~ main.c:74:17: error: too many arguments to function 'log_for_x_show'; expected 0, have 1 74 | log_for_x_show(xlog_fp); | ^~~~~~~~~~~~~~ ~~~~~~~ proto.h:475:6: note: declared here 475 | void log_for_x_show(); | ^~~~~~~~~~~~~~ main.c:81:17: error: too many arguments to function 'print_clause'; expected 0, have 2 81 | print_clause(stdout, giv_cl); fflush(stdout); | ^~~~~~~~~~~~ ~~~~~~ proto.h:251:6: note: declared here 251 | void print_clause(); | ^~~~~~~~~~~~ main.c:89:13: error: too many arguments to function 'index_lits_clash'; expected 0, have 1 89 | index_lits_clash(giv_cl); | ^~~~~~~~~~~~~~~~ ~~~~~~ proto.h:356:6: note: declared here 356 | void index_lits_clash(); | ^~~~~~~~~~~~~~~~ main.c:90:13: error: too many arguments to function 'append_cl'; expected 0, have 2 90 | append_cl(Usable, giv_cl); | ^~~~~~~~~ ~~~~~~ proto.h:282:6: note: declared here 282 | void append_cl(); | ^~~~~~~~~ main.c:96:15: error: too many arguments to function 'possible_given_split'; expected 0, have 1 96 | possible_given_split(giv_cl); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~ proto.h:621:6: note: declared here 621 | void possible_given_split(); | ^~~~~~~~~~~~~~~~~~~~ main.c:97:13: error: too many arguments to function 'infer_and_process'; expected 0, have 1 97 | infer_and_process(giv_cl); | ^~~~~~~~~~~~~~~~~ ~~~~~~ proto.h:429:6: note: declared here 429 | void infer_and_process(); | ^~~~~~~~~~~~~~~~~ main.c: In function 'print_banner': main.c:166:6: warning: old-style function definition [-Wold-style-definition] 166 | void print_banner(argc, argv) | ^~~~~~~~~~~~ main.c:169:1: error: number of arguments doesn't match prototype 169 | { | ^ proto.h:7:6: error: prototype declaration 7 | void print_banner(); | ^~~~~~~~~~~~ --- av.o --- av.c: In function 'tp_alloc': av.c:96:7: warning: old-style function definition [-Wold-style-definition] 96 | int **tp_alloc(n) | ^~~~~~~~ av.c:98:1: error: number of arguments doesn't match prototype 98 | { | ^ In file included from header.h:266, from av.c:6: proto.h:11:7: error: prototype declaration 11 | int **tp_alloc(); | ^~~~~~~~ av.c:113:13: error: too many arguments to function 'abend'; expected 0, have 1 113 | abend(s); | ^~~~~ ~ proto.h:436:6: note: declared here 436 | void abend(); | ^~~~~ av.c:140:17: error: too many arguments to function 'output_stats'; expected 0, have 2 140 | output_stats(stdout, 3); | ^~~~~~~~~~~~ ~~~~~~ proto.h:444:6: note: declared here 444 | void output_stats(); | ^~~~~~~~~~~~ av.c: In function 'get_term': av.c:164:29: error: too many arguments to function 'tp_alloc'; expected 0, have 1 164 | p = (struct term *) tp_alloc((int) sizeof(struct term)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_term': av.c:185:6: warning: old-style function definition [-Wold-style-definition] 185 | void free_term(p) | ^~~~~~~~~ av.c:187:1: error: number of arguments doesn't match prototype 187 | { | ^ proto.h:13:6: error: prototype declaration 13 | void free_term(); | ^~~~~~~~~ av.c: In function 'get_rel': av.c:206:28: error: too many arguments to function 'tp_alloc'; expected 0, have 1 206 | p = (struct rel *) tp_alloc((int) sizeof(struct rel)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_rel': av.c:227:6: warning: old-style function definition [-Wold-style-definition] 227 | void free_rel(p) | ^~~~~~~~ av.c:229:1: error: number of arguments doesn't match prototype 229 | { | ^ proto.h:15:6: error: prototype declaration 15 | void free_rel(); | ^~~~~~~~ av.c: In function 'get_sym_ent': av.c:248:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 248 | p = (struct sym_ent *) tp_alloc((int) sizeof(struct sym_ent)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_sym_ent': av.c:273:6: warning: old-style function definition [-Wold-style-definition] 273 | void free_sym_ent(p) | ^~~~~~~~~~~~ av.c:275:1: error: number of arguments doesn't match prototype 275 | { | ^ proto.h:17:6: error: prototype declaration 17 | void free_sym_ent(); | ^~~~~~~~~~~~ av.c: In function 'get_term_ptr': av.c:294:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 294 | p = (struct term_ptr *) tp_alloc((int) sizeof(struct term_ptr)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_term_ptr': av.c:311:6: warning: old-style function definition [-Wold-style-definition] 311 | void free_term_ptr(p) | ^~~~~~~~~~~~~ av.c:313:1: error: number of arguments doesn't match prototype 313 | { | ^ proto.h:19:6: error: prototype declaration 19 | void free_term_ptr(); | ^~~~~~~~~~~~~ av.c: In function 'get_formula_ptr_2': av.c:332:38: error: too many arguments to function 'tp_alloc'; expected 0, have 1 332 | p = (struct formula_ptr_2 *) tp_alloc((int) sizeof(struct formula_ptr_2)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_formula_ptr_2': av.c:354:6: warning: old-style function definition [-Wold-style-definition] 354 | void free_formula_ptr_2(p) | ^~~~~~~~~~~~~~~~~~ av.c:356:1: error: number of arguments doesn't match prototype 356 | { | ^ proto.h:21:6: error: prototype declaration 21 | void free_formula_ptr_2(); | ^~~~~~~~~~~~~~~~~~ av.c: In function 'get_fpa_tree': av.c:375:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 375 | p = (struct fpa_tree *) tp_alloc((int) sizeof(struct fpa_tree)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_fpa_tree': av.c:396:6: warning: old-style function definition [-Wold-style-definition] 396 | void free_fpa_tree(p) | ^~~~~~~~~~~~~ av.c:398:1: error: number of arguments doesn't match prototype 398 | { | ^ proto.h:23:6: error: prototype declaration 23 | void free_fpa_tree(); | ^~~~~~~~~~~~~ av.c: In function 'get_fpa_head': av.c:417:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 417 | p = (struct fpa_head *) tp_alloc((int) sizeof(struct fpa_head)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_fpa_head': av.c:435:6: warning: old-style function definition [-Wold-style-definition] 435 | void free_fpa_head(p) | ^~~~~~~~~~~~~ av.c:437:1: error: number of arguments doesn't match prototype 437 | { | ^ proto.h:25:6: error: prototype declaration 25 | void free_fpa_head(); | ^~~~~~~~~~~~~ av.c: In function 'get_context': av.c:458:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 458 | p = (struct context *) tp_alloc((int) sizeof(struct context)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_context': av.c:480:6: warning: old-style function definition [-Wold-style-definition] 480 | void free_context(p) | ^~~~~~~~~~~~ av.c:482:1: error: number of arguments doesn't match prototype 482 | { | ^ proto.h:27:6: error: prototype declaration 27 | void free_context(); | ^~~~~~~~~~~~ av.c:488:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 488 | printf("ERROR, context %x, var %d not null.\n", (unsigned) p->contexts[i], i); | ^ av.c:489:13: error: too many arguments to function 'print_term_nl'; expected 0, have 2 489 | print_term_nl(stdout, p->terms[i]); | ^~~~~~~~~~~~~ ~~~~~~ proto.h:111:6: note: declared here 111 | void print_term_nl(); | ^~~~~~~~~~~~~ av.c: In function 'get_trail': av.c:512:30: error: too many arguments to function 'tp_alloc'; expected 0, have 1 512 | p = (struct trail *) tp_alloc((int) sizeof(struct trail)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_trail': av.c:528:6: warning: old-style function definition [-Wold-style-definition] 528 | void free_trail(p) | ^~~~~~~~~~ av.c:530:1: error: number of arguments doesn't match prototype 530 | { | ^ proto.h:29:6: error: prototype declaration 29 | void free_trail(); | ^~~~~~~~~~ av.c: In function 'get_imd_tree': av.c:549:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 549 | p = (struct imd_tree *) tp_alloc((int) sizeof(struct imd_tree)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_imd_tree': av.c:569:6: warning: old-style function definition [-Wold-style-definition] 569 | void free_imd_tree(p) | ^~~~~~~~~~~~~ av.c:571:1: error: number of arguments doesn't match prototype 571 | { | ^ proto.h:31:6: error: prototype declaration 31 | void free_imd_tree(); | ^~~~~~~~~~~~~ av.c: In function 'get_imd_pos': av.c:590:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 590 | p = (struct imd_pos *) tp_alloc((int) sizeof(struct imd_pos)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_imd_pos': av.c:606:6: warning: old-style function definition [-Wold-style-definition] 606 | void free_imd_pos(p) | ^~~~~~~~~~~~ av.c:608:1: error: number of arguments doesn't match prototype 608 | { | ^ proto.h:33:6: error: prototype declaration 33 | void free_imd_pos(); | ^~~~~~~~~~~~ av.c: In function 'get_is_tree': av.c:627:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 627 | p = (struct is_tree *) tp_alloc((int) sizeof(struct is_tree)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_is_tree': av.c:646:6: warning: old-style function definition [-Wold-style-definition] 646 | void free_is_tree(p) | ^~~~~~~~~~~~ av.c:648:1: error: number of arguments doesn't match prototype 648 | { | ^ proto.h:35:6: error: prototype declaration 35 | void free_is_tree(); | ^~~~~~~~~~~~ av.c: In function 'get_is_pos': av.c:667:31: error: too many arguments to function 'tp_alloc'; expected 0, have 1 667 | p = (struct is_pos *) tp_alloc((int) sizeof(struct is_pos)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_is_pos': av.c:683:6: warning: old-style function definition [-Wold-style-definition] 683 | void free_is_pos(p) | ^~~~~~~~~~~ av.c:685:1: error: number of arguments doesn't match prototype 685 | { | ^ proto.h:37:6: error: prototype declaration 37 | void free_is_pos(); | ^~~~~~~~~~~ av.c: In function 'get_fsub_pos': av.c:704:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 704 | p = (struct fsub_pos *) tp_alloc((int) sizeof(struct fsub_pos)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_fsub_pos': av.c:719:6: warning: old-style function definition [-Wold-style-definition] 719 | void free_fsub_pos(p) | ^~~~~~~~~~~~~ av.c:721:1: error: number of arguments doesn't match prototype 721 | { | ^ proto.h:39:6: error: prototype declaration 39 | void free_fsub_pos(); | ^~~~~~~~~~~~~ av.c: In function 'get_literal': av.c:740:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 740 | p = (struct literal *) tp_alloc((int) sizeof(struct literal)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_literal': av.c:759:6: warning: old-style function definition [-Wold-style-definition] 759 | void free_literal(p) | ^~~~~~~~~~~~ av.c:761:1: error: number of arguments doesn't match prototype 761 | { | ^ proto.h:41:6: error: prototype declaration 41 | void free_literal(); | ^~~~~~~~~~~~ av.c: In function 'get_clause': av.c:780:31: error: too many arguments to function 'tp_alloc'; expected 0, have 1 780 | p = (struct clause *) tp_alloc((int) sizeof(struct clause)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_clause': av.c:811:6: warning: old-style function definition [-Wold-style-definition] 811 | void free_clause(p) | ^~~~~~~~~~~ av.c:813:1: error: number of arguments doesn't match prototype 813 | { | ^ proto.h:43:6: error: prototype declaration 43 | void free_clause(); | ^~~~~~~~~~~ av.c: In function 'get_list': av.c:832:29: error: too many arguments to function 'tp_alloc'; expected 0, have 1 832 | p = (struct list *) tp_alloc((int) sizeof(struct list)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_list': av.c:850:6: warning: old-style function definition [-Wold-style-definition] 850 | void free_list(p) | ^~~~~~~~~ av.c:852:1: error: number of arguments doesn't match prototype 852 | { | ^ proto.h:45:6: error: prototype declaration 45 | void free_list(); | ^~~~~~~~~ av.c: In function 'get_clash_nd': av.c:871:33: error: too many arguments to function 'tp_alloc'; expected 0, have 1 871 | p = (struct clash_nd *) tp_alloc((int) sizeof(struct clash_nd)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_clash_nd': av.c:889:6: warning: old-style function definition [-Wold-style-definition] 889 | void free_clash_nd(p) | ^~~~~~~~~~~~~ av.c:891:1: error: number of arguments doesn't match prototype 891 | { | ^ proto.h:47:6: error: prototype declaration 47 | void free_clash_nd(); | ^~~~~~~~~~~~~ av.c: In function 'get_clause_ptr': av.c:910:35: error: too many arguments to function 'tp_alloc'; expected 0, have 1 910 | p = (struct clause_ptr *) tp_alloc((int) sizeof(struct clause_ptr)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_clause_ptr': av.c:927:6: warning: old-style function definition [-Wold-style-definition] 927 | void free_clause_ptr(p) | ^~~~~~~~~~~~~~~ av.c:929:1: error: number of arguments doesn't match prototype 929 | { | ^ proto.h:49:6: error: prototype declaration 49 | void free_clause_ptr(); | ^~~~~~~~~~~~~~~ av.c: In function 'get_int_ptr': av.c:948:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 948 | p = (struct int_ptr *) tp_alloc((int) sizeof(struct int_ptr)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_int_ptr': av.c:965:6: warning: old-style function definition [-Wold-style-definition] 965 | void free_int_ptr(p) | ^~~~~~~~~~~~ av.c:967:1: error: number of arguments doesn't match prototype 967 | { | ^ proto.h:51:6: error: prototype declaration 51 | void free_int_ptr(); | ^~~~~~~~~~~~ av.c: In function 'get_ans_lit_node': av.c:986:37: error: too many arguments to function 'tp_alloc'; expected 0, have 1 986 | p = (struct ans_lit_node *) tp_alloc((int) sizeof(struct ans_lit_node)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_ans_lit_node': av.c:1006:6: warning: old-style function definition [-Wold-style-definition] 1006 | void free_ans_lit_node(p) | ^~~~~~~~~~~~~~~~~ av.c:1008:1: error: number of arguments doesn't match prototype 1008 | { | ^ proto.h:53:6: error: prototype declaration 53 | void free_ans_lit_node(); | ^~~~~~~~~~~~~~~~~ av.c: In function 'get_formula_box': av.c:1027:36: error: too many arguments to function 'tp_alloc'; expected 0, have 1 1027 | p = (struct formula_box *) tp_alloc((int) sizeof(struct formula_box)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_formula_box': av.c:1049:6: warning: old-style function definition [-Wold-style-definition] 1049 | void free_formula_box(p) | ^~~~~~~~~~~~~~~~ av.c:1051:1: error: number of arguments doesn't match prototype 1051 | { | ^ proto.h:55:6: error: prototype declaration 55 | void free_formula_box(); | ^~~~~~~~~~~~~~~~ av.c: In function 'get_formula': av.c:1070:32: error: too many arguments to function 'tp_alloc'; expected 0, have 1 1070 | p = (struct formula *) tp_alloc((int) sizeof(struct formula)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_formula': av.c:1090:6: warning: old-style function definition [-Wold-style-definition] 1090 | void free_formula(p) | ^~~~~~~~~~~~ av.c:1092:1: error: number of arguments doesn't match prototype 1092 | { | ^ proto.h:57:6: error: prototype declaration 57 | void free_formula(); | ^~~~~~~~~~~~ av.c: In function 'get_formula_ptr': av.c:1111:36: error: too many arguments to function 'tp_alloc'; expected 0, have 1 1111 | p = (struct formula_ptr *) tp_alloc((int) sizeof(struct formula_ptr)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_formula_ptr': av.c:1129:6: warning: old-style function definition [-Wold-style-definition] 1129 | void free_formula_ptr(p) | ^~~~~~~~~~~~~~~~ av.c:1131:1: error: number of arguments doesn't match prototype 1131 | { | ^ proto.h:59:6: error: prototype declaration 59 | void free_formula_ptr(); | ^~~~~~~~~~~~~~~~ av.c: In function 'get_cl_attribute': av.c:1150:37: error: too many arguments to function 'tp_alloc'; expected 0, have 1 1150 | p = (struct cl_attribute *) tp_alloc((int) sizeof(struct cl_attribute)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_cl_attribute': av.c:1168:6: warning: old-style function definition [-Wold-style-definition] 1168 | void free_cl_attribute(p) | ^~~~~~~~~~~~~~~~~ av.c:1170:1: error: number of arguments doesn't match prototype 1170 | { | ^ proto.h:61:6: error: prototype declaration 61 | void free_cl_attribute(); | ^~~~~~~~~~~~~~~~~ av.c: In function 'get_link_node': av.c:1189:34: error: too many arguments to function 'tp_alloc'; expected 0, have 1 1189 | p = (struct link_node *) tp_alloc((int) sizeof(struct link_node)); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ av.c:96:7: note: declared here 96 | int **tp_alloc(n) | ^~~~~~~~ av.c: In function 'free_link_node': av.c:1224:6: warning: old-style function definition [-Wold-style-definition] 1224 | void free_link_node(p) | ^~~~~~~~~~~~~~ av.c:1226:1: error: number of arguments doesn't match prototype 1226 | { | ^ proto.h:63:6: error: prototype declaration 63 | void free_link_node(); | ^~~~~~~~~~~~~~ av.c: In function 'free_imd_pos_list': av.c:1239:6: warning: old-style function definition [-Wold-style-definition] 1239 | void free_imd_pos_list(p) | ^~~~~~~~~~~~~~~~~ av.c:1241:1: error: number of arguments doesn't match prototype 1241 | { | ^ proto.h:64:6: error: prototype declaration 64 | void free_imd_pos_list(); | ^~~~~~~~~~~~~~~~~ av.c: In function 'free_is_pos_list': av.c:1264:6: warning: old-style function definition [-Wold-style-definition] 1264 | void free_is_pos_list(p) | ^~~~~~~~~~~~~~~~ av.c:1266:1: error: number of arguments doesn't match prototype 1266 | { | ^ proto.h:65:6: error: prototype declaration 65 | void free_is_pos_list(); | ^~~~~~~~~~~~~~~~ av.c: In function 'print_mem': av.c:1289:6: warning: old-style function definition [-Wold-style-definition] 1289 | void print_mem(fp) | ^~~~~~~~~ av.c:1291:1: error: number of arguments doesn't match prototype 1291 | { | ^ proto.h:66:6: error: prototype declaration 66 | void print_mem(); | ^~~~~~~~~ av.c: In function 'print_mem_brief': av.c:1333:6: warning: old-style function definition [-Wold-style-definition] 1333 | void print_mem_brief(fp) | ^~~~~~~~~~~~~~~ av.c:1335:1: error: number of arguments doesn't match prototype 1335 | { | ^ proto.h:67:6: error: prototype declaration 67 | void print_mem_brief(); | ^~~~~~~~~~~~~~~ *** [av.o] Error code 1 bmake: stopped making "otter" in /tmp/work/math/otter/work/otter-3.0.6/source --- main.o --- *** [main.o] Error code 1 bmake: stopped making "otter" in /tmp/work/math/otter/work/otter-3.0.6/source bmake: 2 errors bmake: stopped making "otter" in /tmp/work/math/otter/work/otter-3.0.6/source *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/otter *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/otter