=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for caml-light-0.74nb2 cd runtime; make CC="gcc" OPTS="-Dunix" LIBS="" all awk -f ../tools/make-jumptbl instruct.h > jumptbl.h gcc -O2 -Dunix -I.. -c interp.c In file included from misc.h:7:0, from alloc.h:5, from interp.c:4: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from interp.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c misc.c In file included from misc.c:2:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c stacks.c In file included from stacks.c:3:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from stacks.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c fix_code.c In file included from fix_code.c:3:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from fix_code.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c main.c In file included from misc.h:7:0, from alloc.h:5, from main.c:10: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from main.c:10: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c fail.c In file included from misc.h:7:0, from alloc.h:5, from fail.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from fail.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c signals.c In file included from misc.h:7:0, from alloc.h:5, from signals.c:1: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from signals.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c debugcom.c In file included from misc.h:7:0, from debugcom.c:7: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from debugcom.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ debugcom.c: In function 'debugger': debugcom.c:266:7: warning: implicit declaration of function 'wait'; did you mean 'exit'? [-Wimplicit-function-declaration] wait(NULL); ^~~~ exit gcc -O2 -Dunix -I.. -c freelist.c In file included from freelist.c:1:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from freelist.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c major_gc.c In file included from major_gc.c:1:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from major_gc.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c minor_gc.c In file included from minor_gc.c:1:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from minor_gc.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c memory.c In file included from misc.h:7:0, from debugger.h:4, from memory.c:1: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from memory.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c alloc.c In file included from misc.h:7:0, from alloc.h:5, from alloc.c:8: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from alloc.c:6: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c roots.c In file included from misc.h:7:0, from debugger.h:4, from roots.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from roots.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c compare.c In file included from misc.h:7:0, from fail.h:6, from compare.c:1: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from fail.h:6, from compare.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c ints.c In file included from misc.h:7:0, from alloc.h:5, from ints.c:2: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from ints.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c floats.c In file included from misc.h:7:0, from alloc.h:5, from floats.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from floats.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c str.c In file included from misc.h:7:0, from alloc.h:5, from str.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from str.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c io.c In file included from misc.h:7:0, from alloc.h:5, from io.c:10: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from io.c:10: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c extern.c In file included from misc.h:7:0, from debugger.h:4, from extern.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from extern.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c externcp.c In file included from misc.h:7:0, from debugger.h:4, from externcp.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from externcp.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ externcp.c: In function 'emit_compact': externcp.c:85:24: warning: implicit declaration of function 'string_length'; did you mean 'strnlen'? [-Wimplicit-function-declaration] mlsize_t len = string_length(v); ^~~~~~~~~~~~~ strnlen externcp.c: In function 'extern_compact_val': externcp.c:143:15: warning: implicit declaration of function 'pos_out'; did you mean 'popcount'? [-Wimplicit-function-declaration] start_loc = pos_out(chan); ^~~~~~~ popcount externcp.c:162:3: warning: implicit declaration of function 'seek_out' [-Wimplicit-function-declaration] seek_out(chan, start_loc); ^~~~~~~~ gcc -O2 -Dunix -I.. -c intern.c In file included from misc.h:7:0, from debugger.h:4, from intern.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from intern.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c interncp.c In file included from misc.h:7:0, from debugger.h:4, from interncp.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from debugger.h:4, from interncp.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c hash.c In file included from mlvalues.h:5:0, from hash.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from mlvalues.h:5, from hash.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c sys.c In file included from misc.h:7:0, from alloc.h:5, from sys.c:14: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from sys.c:11: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ sys.c: In function 'sys_error': sys.c:73:19: warning: implicit declaration of function 'string_length'; did you mean 'strnlen'? [-Wimplicit-function-declaration] int arg_len = string_length(arg); ^~~~~~~~~~~~~ strnlen sys.c: In function 'sys_rename': sys.c:153:7: warning: implicit declaration of function 'rename'; did you mean 'devname'? [-Wimplicit-function-declaration] if (rename(String_val(oldname), String_val(newname)) != 0) ^~~~~~ devname gcc -O2 -Dunix -I.. -c meta.c In file included from misc.h:7:0, from alloc.h:5, from meta.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from meta.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c parsing.c In file included from parsing.c:3:0: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from parsing.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c lexing.c In file included from mlvalues.h:5:0, from lexing.c:3: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from mlvalues.h:5, from lexing.c:3: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -c gc_ctrl.c In file included from misc.h:7:0, from alloc.h:5, from gc_ctrl.c:1: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from misc.h:7, from alloc.h:5, from gc_ctrl.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gc_ctrl.c: In function 'init_gc': gc_ctrl.c:210:3: warning: implicit declaration of function 'init_c_roots' [-Wimplicit-function-declaration] init_c_roots (); ^~~~~~~~~~~~ sed -n -e '/\/\* ML \*\//s/.* \([a-z0-9_][a-z0-9_]*\) *(.*/\1/p' compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c str.c sys.c > primitives2 sh -c 'if cmp -s primitives primitives2; then rm primitives2; else mv primitives2 primitives; fi' (echo '#include "mlvalues.h"'; echo '#include "prims.h"'; sed -e 's/.*/extern value &();/' primitives; echo 'c_primitive cprim[] = {'; sed -e 's/.*/ &,/' primitives; echo ' 0 };'; echo 'char * names_of_cprim[] = {'; sed -e 's/.*/ "&",/' primitives; echo ' 0 };') > prims.c gcc -O2 -Dunix -I.. -c prims.c In file included from mlvalues.h:5:0, from prims.c:1: config.h:18:0: warning: "bcopy" redefined #define bcopy(src,dst,len) memmove((dst), (src), (len)) In file included from /usr/include/strings.h:72:0, from /usr/include/string.h:98, from config.h:15, from mlvalues.h:5, from prims.c:1: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -O2 -Dunix -I.. -o camlrun prims.o interp.o misc.o stacks.o fix_code.o main.o fail.o signals.o debugcom.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o -lm rm -f libcaml.a ar rc libcaml.a interp.o misc.o stacks.o fix_code.o main.o fail.o signals.o debugcom.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o if test -f /usr/bin/ranlib -o -f /bin/ranlib; then ranlib libcaml.a; else true; fi cp runtime/camlrun . cd yacc; make CC="gcc" OPTS="-Dunix" all gcc -O -DNDEBUG -Dunix -c closure.c closure.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] set_EFF() ^~~~~~~ closure.c: In function 'set_EFF': closure.c:39:5: warning: implicit declaration of function 'reflexive_transitive_closure' [-Wimplicit-function-declaration] reflexive_transitive_closure(EFF, nvars); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ closure.c: At top level: closure.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] set_first_derives() ^~~~~~~~~~~~~~~~~ closure.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] closure(nucleus, n) ^~~~~~~ closure.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int] finalize_closure() ^~~~~~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c error.c error.c:6:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(msg) ^~~~~ error.c: In function 'fatal': error.c:10:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] done(2); ^~~~ error.c: At top level: error.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] no_space() ^~~~~~~~ error.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] open_error(filename) ^~~~~~~~~~ error.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] unexpected_EOF() ^~~~~~~~~~~~~~ error.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] syntax_error(st_lineno, st_line, st_cptr) ^~~~~~~~~~~~ error.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] unterminated_comment(c_lineno, c_line, c_cptr) ^~~~~~~~~~~~~~~~~~~~ error.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] unterminated_string(s_lineno, s_line, s_cptr) ^~~~~~~~~~~~~~~~~~~ error.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] unterminated_text(t_lineno, t_line, t_cptr) ^~~~~~~~~~~~~~~~~ error.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] unterminated_union(u_lineno, u_line, u_cptr) ^~~~~~~~~~~~~~~~~~ error.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] over_unionized(u_cptr) ^~~~~~~~~~~~~~ error.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] illegal_tag(t_lineno, t_line, t_cptr) ^~~~~~~~~~~ error.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] illegal_character(c_cptr) ^~~~~~~~~~~~~~~~~ error.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] used_reserved(s) ^~~~~~~~~~~~~ error.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] tokenized_start(s) ^~~~~~~~~~~~~~~ error.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] retyped_warning(s) ^~~~~~~~~~~~~~~ error.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] reprec_warning(s) ^~~~~~~~~~~~~~ error.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] revalued_warning(s) ^~~~~~~~~~~~~~~~ error.c:198:1: warning: return type defaults to 'int' [-Wimplicit-int] terminal_start(s) ^~~~~~~~~~~~~~ error.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] too_many_entries() ^~~~~~~~~~~~~~~~ error.c:214:1: warning: return type defaults to 'int' [-Wimplicit-int] no_grammar() ^~~~~~~~~~ error.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] terminal_lhs(s_lineno) ^~~~~~~~~~~~ error.c:231:1: warning: return type defaults to 'int' [-Wimplicit-int] prec_redeclared() ^~~~~~~~~~~~~~~ error.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] unterminated_action(a_lineno, a_line, a_cptr) ^~~~~~~~~~~~~~~~~~~ error.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] dollar_warning(a_lineno, i) ^~~~~~~~~~~~~~ error.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] dollar_error(a_lineno, a_line, a_cptr) ^~~~~~~~~~~~ error.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] untyped_lhs() ^~~~~~~~~~~ error.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] untyped_rhs(i, s) ^~~~~~~~~~~ error.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] unknown_rhs(i) ^~~~~~~~~~~ error.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] illegal_token_ref(i, name) ^~~~~~~~~~~~~~~~~ error.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] default_action_error() ^~~~~~~~~~~~~~~~~~~~ error.c:316:1: warning: return type defaults to 'int' [-Wimplicit-int] undefined_goal(s) ^~~~~~~~~~~~~~ error.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] undefined_symbol_warning(s) ^~~~~~~~~~~~~~~~~~~~~~~~ error.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] entry_without_type(s) ^~~~~~~~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c lalr.c lalr.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] lalr() ^~~~ lalr.c: In function 'lalr': lalr.c:41:5: warning: implicit declaration of function 'set_state_table'; did you mean 'setstate'? [-Wimplicit-function-declaration] set_state_table(); ^~~~~~~~~~~~~~~ setstate lalr.c:42:5: warning: implicit declaration of function 'set_accessing_symbol' [-Wimplicit-function-declaration] set_accessing_symbol(); ^~~~~~~~~~~~~~~~~~~~ lalr.c:43:5: warning: implicit declaration of function 'set_shift_table' [-Wimplicit-function-declaration] set_shift_table(); ^~~~~~~~~~~~~~~ lalr.c:44:5: warning: implicit declaration of function 'set_reduction_table'; did you mean 'setproctitle'? [-Wimplicit-function-declaration] set_reduction_table(); ^~~~~~~~~~~~~~~~~~~ setproctitle lalr.c:45:5: warning: implicit declaration of function 'set_maxrhs' [-Wimplicit-function-declaration] set_maxrhs(); ^~~~~~~~~~ lalr.c:46:5: warning: implicit declaration of function 'initialize_LA' [-Wimplicit-function-declaration] initialize_LA(); ^~~~~~~~~~~~~ lalr.c:47:5: warning: implicit declaration of function 'set_goto_map' [-Wimplicit-function-declaration] set_goto_map(); ^~~~~~~~~~~~ lalr.c:48:5: warning: implicit declaration of function 'initialize_F' [-Wimplicit-function-declaration] initialize_F(); ^~~~~~~~~~~~ lalr.c:49:5: warning: implicit declaration of function 'build_relations' [-Wimplicit-function-declaration] build_relations(); ^~~~~~~~~~~~~~~ lalr.c:50:5: warning: implicit declaration of function 'compute_FOLLOWS' [-Wimplicit-function-declaration] compute_FOLLOWS(); ^~~~~~~~~~~~~~~ lalr.c:51:5: warning: implicit declaration of function 'compute_lookaheads' [-Wimplicit-function-declaration] compute_lookaheads(); ^~~~~~~~~~~~~~~~~~ lalr.c: At top level: lalr.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] set_state_table() ^~~~~~~~~~~~~~~ lalr.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] set_accessing_symbol() ^~~~~~~~~~~~~~~~~~~~ lalr.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] set_shift_table() ^~~~~~~~~~~~~~~ lalr.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] set_reduction_table() ^~~~~~~~~~~~~~~~~~~ lalr.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int] set_maxrhs() ^~~~~~~~~~ lalr.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_LA() ^~~~~~~~~~~~~ lalr.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] set_goto_map() ^~~~~~~~~~~~ lalr.c: In function 'set_goto_map': lalr.c:188:6: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("too many gotos"); ^~~~~ atol lalr.c: At top level: lalr.c:263:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_F() ^~~~~~~~~~~~ lalr.c: In function 'initialize_F': lalr.c:326:3: warning: implicit declaration of function 'digraph'; did you mean 'isgraph'? [-Wimplicit-function-declaration] digraph(reads); ^~~~~~~ isgraph lalr.c: At top level: lalr.c:340:1: warning: return type defaults to 'int' [-Wimplicit-int] build_relations() ^~~~~~~~~~~~~~~ lalr.c: In function 'build_relations': lalr.c:391:4: warning: implicit declaration of function 'add_lookback_edge' [-Wimplicit-function-declaration] add_lookback_edge(stateno, *rulep, i); ^~~~~~~~~~~~~~~~~ lalr.c: At top level: lalr.c:432:1: warning: return type defaults to 'int' [-Wimplicit-int] add_lookback_edge(stateno, ruleno, gotono) ^~~~~~~~~~~~~~~~~ lalr.c:517:1: warning: return type defaults to 'int' [-Wimplicit-int] compute_FOLLOWS() ^~~~~~~~~~~~~~~ lalr.c:523:1: warning: return type defaults to 'int' [-Wimplicit-int] compute_lookaheads() ^~~~~~~~~~~~~~~~~~ lalr.c:557:1: warning: return type defaults to 'int' [-Wimplicit-int] digraph(relation) ^~~~~~~ lalr.c: In function 'digraph': lalr.c:575:2: warning: implicit declaration of function 'traverse'; did you mean 'transpose'? [-Wimplicit-function-declaration] traverse(i); ^~~~~~~~ transpose lalr.c: At top level: lalr.c:584:1: warning: return type defaults to 'int' [-Wimplicit-int] traverse(i) ^~~~~~~~ gcc -O -DNDEBUG -Dunix -c lr0.c lr0.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] allocate_itemsets() ^~~~~~~~~~~~~~~~~ lr0.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] allocate_storage() ^~~~~~~~~~~~~~~~ lr0.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] append_states() ^~~~~~~~~~~~~ lr0.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] free_storage() ^~~~~~~~~~~~ lr0.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] generate_states() ^~~~~~~~~~~~~~~ lr0.c: In function 'generate_states': lr0.c:131:5: warning: implicit declaration of function 'set_first_derives' [-Wimplicit-function-declaration] set_first_derives(); ^~~~~~~~~~~~~~~~~ lr0.c:132:5: warning: implicit declaration of function 'initialize_states'; did you mean 'generate_states'? [-Wimplicit-function-declaration] initialize_states(); ^~~~~~~~~~~~~~~~~ generate_states lr0.c:136:2: warning: implicit declaration of function 'closure'; did you mean 'pclose'? [-Wimplicit-function-declaration] closure(this_state->items, this_state->nitems); ^~~~~~~ pclose lr0.c:137:2: warning: implicit declaration of function 'save_reductions' [-Wimplicit-function-declaration] save_reductions(); ^~~~~~~~~~~~~~~ lr0.c:138:2: warning: implicit declaration of function 'new_itemsets'; did you mean 'new_state'? [-Wimplicit-function-declaration] new_itemsets(); ^~~~~~~~~~~~ new_state lr0.c:142:6: warning: implicit declaration of function 'save_shifts' [-Wimplicit-function-declaration] save_shifts(); ^~~~~~~~~~~ lr0.c:147:5: warning: implicit declaration of function 'finalize_closure' [-Wimplicit-function-declaration] finalize_closure(); ^~~~~~~~~~~~~~~~ lr0.c: At top level: lr0.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_states() ^~~~~~~~~~~~~~~~~ lr0.c: In function 'initialize_states': lr0.c:229:17: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (p == 0) no_space(); ^~~~~~~~ isspace lr0.c: At top level: lr0.c:245:1: warning: return type defaults to 'int' [-Wimplicit-int] new_itemsets() ^~~~~~~~~~~~ lr0.c: In function 'new_state': lr0.c:296:2: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("too many states"); ^~~~~ atol lr0.c: At top level: lr0.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int] show_cores() ^~~~~~~~~~ lr0.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] show_ritems() ^~~~~~~~~~~ lr0.c:367:1: warning: return type defaults to 'int' [-Wimplicit-int] show_rrhs() ^~~~~~~~~ lr0.c:378:1: warning: return type defaults to 'int' [-Wimplicit-int] show_shifts() ^~~~~~~~~~~ lr0.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] save_shifts() ^~~~~~~~~~~ lr0.c:430:1: warning: return type defaults to 'int' [-Wimplicit-int] save_reductions() ^~~~~~~~~~~~~~~ lr0.c:479:1: warning: return type defaults to 'int' [-Wimplicit-int] set_derives() ^~~~~~~~~~~ lr0.c:509:1: warning: return type defaults to 'int' [-Wimplicit-int] free_derives() ^~~~~~~~~~~~ lr0.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] set_nullable() ^~~~~~~~~~~~ lr0.c:587:1: warning: return type defaults to 'int' [-Wimplicit-int] free_nullable() ^~~~~~~~~~~~~ lr0.c:593:1: warning: return type defaults to 'int' [-Wimplicit-int] lr0() ^~~ gcc -O -DNDEBUG -Dunix -c main.c main.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] done(k) ^~~~ main.c: In function 'done': main.c:82:45: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^~~~~~ unix main.c: At top level: main.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] set_signals() ^~~~~~~~~~~ main.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^~~~~ main.c: In function 'getargs': main.c:200:29: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (file_prefix == 0) no_space(); ^~~~~~~~ isspace main.c: At top level: main.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] create_file_names() ^~~~~~~~~~~~~~~~~ main.c: In function 'create_file_names': main.c:289:2: warning: implicit declaration of function 'open_error'; did you mean 'perror'? [-Wimplicit-function-declaration] open_error(action_file_name); ^~~~~~~~~~ perror main.c: At top level: main.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] open_files() ^~~~~~~~~~ main.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function 'main': main.c:392:5: warning: implicit declaration of function 'reader'; did you mean 'rindex'? [-Wimplicit-function-declaration] reader(); ^~~~~~ rindex main.c:393:5: warning: implicit declaration of function 'lr0' [-Wimplicit-function-declaration] lr0(); ^~~ main.c:394:5: warning: implicit declaration of function 'lalr'; did you mean 'labs'? [-Wimplicit-function-declaration] lalr(); ^~~~ labs main.c:395:5: warning: implicit declaration of function 'make_parser'; did you mean 'make_bucket'? [-Wimplicit-function-declaration] make_parser(); ^~~~~~~~~~~ make_bucket main.c:396:5: warning: implicit declaration of function 'verbose' [-Wimplicit-function-declaration] verbose(); ^~~~~~~ main.c:397:5: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] output(); ^~~~~~ gcc -O -DNDEBUG -Dunix -c mkpar.c mkpar.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] make_parser() ^~~~~~~~~~~ mkpar.c: In function 'make_parser': mkpar.c:31:5: warning: implicit declaration of function 'find_final_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] find_final_state(); ^~~~~~~~~~~~~~~~ initstate mkpar.c:32:5: warning: implicit declaration of function 'remove_conflicts' [-Wimplicit-function-declaration] remove_conflicts(); ^~~~~~~~~~~~~~~~ mkpar.c:33:5: warning: implicit declaration of function 'unused_rules' [-Wimplicit-function-declaration] unused_rules(); ^~~~~~~~~~~~ mkpar.c:34:32: warning: implicit declaration of function 'total_conflicts' [-Wimplicit-function-declaration] if (SRtotal + RRtotal > 0) total_conflicts(); ^~~~~~~~~~~~~~~ mkpar.c:35:5: warning: implicit declaration of function 'defreds' [-Wimplicit-function-declaration] defreds(); ^~~~~~~ mkpar.c: At top level: mkpar.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int] find_final_state() ^~~~~~~~~~~~~~~~ mkpar.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] unused_rules() ^~~~~~~~~~~~ mkpar.c: In function 'unused_rules': mkpar.c:176:26: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (rules_used == 0) no_space(); ^~~~~~~~ isspace mkpar.c: At top level: mkpar.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] remove_conflicts() ^~~~~~~~~~~~~~~~ mkpar.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] total_conflicts() ^~~~~~~~~~~~~~~ mkpar.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] defreds() ^~~~~~~ mkpar.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] free_action_row(p) ^~~~~~~~~~~~~~~ mkpar.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] free_parser() ^~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c output.c output.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] output() ^~~~~~ output.c: In function 'output': output.c:27:3: warning: implicit declaration of function 'free_itemsets' [-Wimplicit-function-declaration] free_itemsets(); ^~~~~~~~~~~~~ output.c:28:3: warning: implicit declaration of function 'free_shifts' [-Wimplicit-function-declaration] free_shifts(); ^~~~~~~~~~~ output.c:29:3: warning: implicit declaration of function 'free_reductions' [-Wimplicit-function-declaration] free_reductions(); ^~~~~~~~~~~~~~~ output.c:30:3: warning: implicit declaration of function 'write_section'; did you mean '__section'? [-Wimplicit-function-declaration] write_section(header); ^~~~~~~~~~~~~ __section output.c:32:3: warning: implicit declaration of function 'output_transl'; did you mean 'output_stored_text'? [-Wimplicit-function-declaration] output_transl(); ^~~~~~~~~~~~~ output_stored_text output.c:33:3: warning: implicit declaration of function 'output_rule_data'; did you mean 'output_stored_text'? [-Wimplicit-function-declaration] output_rule_data(); ^~~~~~~~~~~~~~~~ output_stored_text output.c:34:3: warning: implicit declaration of function 'output_yydefred'; did you mean 'output_stored_text'? [-Wimplicit-function-declaration] output_yydefred(); ^~~~~~~~~~~~~~~ output_stored_text output.c:35:3: warning: implicit declaration of function 'output_actions' [-Wimplicit-function-declaration] output_actions(); ^~~~~~~~~~~~~~ output.c:36:3: warning: implicit declaration of function 'free_parser' [-Wimplicit-function-declaration] free_parser(); ^~~~~~~~~~~ output.c:37:3: warning: implicit declaration of function 'output_debug'; did you mean 'output'? [-Wimplicit-function-declaration] output_debug(); ^~~~~~~~~~~~ output output.c:45:3: warning: implicit declaration of function 'output_semantic_actions' [-Wimplicit-function-declaration] output_semantic_actions(); ^~~~~~~~~~~~~~~~~~~~~~~ output.c:49:3: warning: implicit declaration of function 'output_entries'; did you mean 'output_stored_text'? [-Wimplicit-function-declaration] output_entries(); ^~~~~~~~~~~~~~ output_stored_text output.c: At top level: output.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] output_rule_data() ^~~~~~~~~~~~~~~~ output.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] output_yydefred() ^~~~~~~~~~~~~~~ output.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] output_actions() ^~~~~~~~~~~~~~ output.c: In function 'output_actions': output.c:155:5: warning: implicit declaration of function 'token_actions'; did you mean 'output_actions'? [-Wimplicit-function-declaration] token_actions(); ^~~~~~~~~~~~~ output_actions output.c:161:5: warning: implicit declaration of function 'goto_actions'; did you mean 'output_actions'? [-Wimplicit-function-declaration] goto_actions(); ^~~~~~~~~~~~ output_actions output.c:166:5: warning: implicit declaration of function 'sort_actions'; did you mean 'output_actions'? [-Wimplicit-function-declaration] sort_actions(); ^~~~~~~~~~~~ output_actions output.c:167:5: warning: implicit declaration of function 'pack_table' [-Wimplicit-function-declaration] pack_table(); ^~~~~~~~~~ output.c:168:5: warning: implicit declaration of function 'output_base'; did you mean 'output_char'? [-Wimplicit-function-declaration] output_base(); ^~~~~~~~~~~ output_char output.c:169:5: warning: implicit declaration of function 'output_table'; did you mean 'output_short'? [-Wimplicit-function-declaration] output_table(); ^~~~~~~~~~~~ output_short output.c:170:5: warning: implicit declaration of function 'output_check'; did you mean 'output_char'? [-Wimplicit-function-declaration] output_check(); ^~~~~~~~~~~~ output_char output.c: At top level: output.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int] token_actions() ^~~~~~~~~~~~~ output.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] goto_actions() ^~~~~~~~~~~~ output.c: In function 'goto_actions': output.c:264:9: warning: implicit declaration of function 'default_goto' [-Wimplicit-function-declaration] k = default_goto(start_symbol + 1); ^~~~~~~~~~~~ output.c: At top level: output.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int] sort_actions() ^~~~~~~~~~~~ output.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] pack_table() ^~~~~~~~~~ output.c: In function 'pack_table': output.c:425:10: warning: implicit declaration of function 'matching_vector' [-Wimplicit-function-declaration] state = matching_vector(i); ^~~~~~~~~~~~~~~ output.c:428:14: warning: implicit declaration of function 'pack_vector' [-Wimplicit-function-declaration] place = pack_vector(i); ^~~~~~~~~~~ output.c: In function 'pack_vector': output.c:541:7: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("maximum table size exceeded"); ^~~~~ atol output.c:546:19: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (table == 0) no_space(); ^~~~~~~~ isspace output.c: At top level: output.c:585:1: warning: return type defaults to 'int' [-Wimplicit-int] output_base() ^~~~~~~~~~~ output.c:656:1: warning: return type defaults to 'int' [-Wimplicit-int] output_table() ^~~~~~~~~~~~ output.c:688:1: warning: return type defaults to 'int' [-Wimplicit-int] output_check() ^~~~~~~~~~~~ output.c:717:1: warning: return type defaults to 'int' [-Wimplicit-int] output_transl() ^~~~~~~~~~~~~ output.c: In function 'output_stored_text': output.c:738:2: warning: implicit declaration of function 'open_error'; did you mean 'perror'? [-Wimplicit-function-declaration] open_error(text_file_name); ^~~~~~~~~~ perror output.c: At top level: output.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] output_debug() ^~~~~~~~~~~~ output.c:854:1: warning: return type defaults to 'int' [-Wimplicit-int] output_semantic_actions() ^~~~~~~~~~~~~~~~~~~~~~~ output.c:859:1: warning: return type defaults to 'int' [-Wimplicit-int] output_entries() ^~~~~~~~~~~~~~ output.c:864:1: warning: return type defaults to 'int' [-Wimplicit-int] free_itemsets() ^~~~~~~~~~~~~ output.c:877:1: warning: return type defaults to 'int' [-Wimplicit-int] free_shifts() ^~~~~~~~~~~ output.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] free_reductions() ^~~~~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c reader.c reader.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] cachec(c) ^~~~~~ reader.c: In function 'cachec': reader.c:45:18: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (cache == 0) no_space(); ^~~~~~~~ isspace reader.c: In function 'skip_comment': reader.c:137:3: warning: implicit declaration of function 'unterminated_comment' [-Wimplicit-function-declaration] unterminated_comment(st_lineno, st_line, st_cptr); ^~~~~~~~~~~~~~~~~~~~ reader.c: In function 'keyword': reader.c:266:5: warning: implicit declaration of function 'syntax_error'; did you mean 'strerror'? [-Wimplicit-function-declaration] syntax_error(lineno, line, t_cptr); ^~~~~~~~~~~~ strerror reader.c: In function 'copy_ident': reader.c:277:19: warning: implicit declaration of function 'unexpected_EOF' [-Wimplicit-function-declaration] if (c == EOF) unexpected_EOF(); ^~~~~~~~~~~~~~ reader.c: In function 'copy_text': reader.c:314:6: warning: implicit declaration of function 'unterminated_text' [-Wimplicit-function-declaration] unterminated_text(t_lineno, t_line, t_cptr); ^~~~~~~~~~~~~~~~~ reader.c:349:7: warning: implicit declaration of function 'unterminated_string' [-Wimplicit-function-declaration] unterminated_string(s_lineno, s_line, s_cptr); ^~~~~~~~~~~~~~~~~~~ reader.c: In function 'copy_union': reader.c:426:20: warning: implicit declaration of function 'over_unionized' [-Wimplicit-function-declaration] if (unionized) over_unionized(cptr - 6); ^~~~~~~~~~~~~~ reader.c:447:17: warning: implicit declaration of function 'unterminated_union' [-Wimplicit-function-declaration] if (line == 0) unterminated_union(u_lineno, u_line, u_cptr); ^~~~~~~~~~~~~~~~~~ reader.c: In function 'get_literal': reader.c:597:20: warning: implicit declaration of function 'illegal_character' [-Wimplicit-function-declaration] if (n > MAXCHAR) illegal_character(c_cptr); ^~~~~~~~~~~~~~~~~ reader.c: In function 'get_name': reader.c:723:29: warning: implicit declaration of function 'used_reserved'; did you mean 'is_reserved'? [-Wimplicit-function-declaration] if (is_reserved(cache)) used_reserved(cache); ^~~~~~~~~~~~~ is_reserved reader.c: In function 'declare_tokens': reader.c:815:18: warning: implicit declaration of function 'tokenized_start'; did you mean '__link_set_start'? [-Wimplicit-function-declaration] if (bp == goal) tokenized_start(bp->name); ^~~~~~~~~~~~~~~ __link_set_start reader.c:821:3: warning: implicit declaration of function 'retyped_warning' [-Wimplicit-function-declaration] retyped_warning(bp->name); ^~~~~~~~~~~~~~~ reader.c:832:3: warning: implicit declaration of function 'reprec_warning' [-Wimplicit-function-declaration] reprec_warning(bp->name); ^~~~~~~~~~~~~~ reader.c:845:3: warning: implicit declaration of function 'revalued_warning' [-Wimplicit-function-declaration] revalued_warning(bp->name); ^~~~~~~~~~~~~~~~ reader.c: In function 'declare_start': reader.c:894:2: warning: implicit declaration of function 'terminal_start'; did you mean 'declare_start'? [-Wimplicit-function-declaration] terminal_start(bp->name); ^~~~~~~~~~~~~~ declare_start reader.c:897:9: warning: implicit declaration of function 'too_many_entries' [-Wimplicit-function-declaration] too_many_entries(); ^~~~~~~~~~~~~~~~ reader.c: At top level: reader.c:950:1: warning: return type defaults to 'int' [-Wimplicit-int] output_token_type() ^~~~~~~~~~~~~~~~~ reader.c:969:1: warning: return type defaults to 'int' [-Wimplicit-int] initialize_grammar() ^~~~~~~~~~~~~~~~~~ reader.c:1000:1: warning: return type defaults to 'int' [-Wimplicit-int] expand_items() ^~~~~~~~~~~~ reader.c:1008:1: warning: return type defaults to 'int' [-Wimplicit-int] expand_rules() ^~~~~~~~~~~~ reader.c:1020:1: warning: return type defaults to 'int' [-Wimplicit-int] advance_to_start() ^~~~~~~~~~~~~~~~ reader.c: In function 'advance_to_start': reader.c:1035:6: warning: implicit declaration of function 'no_grammar'; did you mean '_Pragma'? [-Wimplicit-function-declaration] no_grammar(); ^~~~~~~~~~ _Pragma reader.c:1065:5: warning: implicit declaration of function 'start_rule'; did you mean 'strtoull'? [-Wimplicit-function-declaration] start_rule(bp, s_lineno); ^~~~~~~~~~ strtoull reader.c: At top level: reader.c:1070:1: warning: return type defaults to 'int' [-Wimplicit-int] start_rule(bp, s_lineno) ^~~~~~~~~~ reader.c: In function 'start_rule': reader.c:1075:2: warning: implicit declaration of function 'terminal_lhs' [-Wimplicit-function-declaration] terminal_lhs(s_lineno); ^~~~~~~~~~~~ reader.c: At top level: reader.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int] end_rule() ^~~~~~~~ reader.c: In function 'end_rule': reader.c:1087:27: warning: implicit declaration of function 'default_action_error' [-Wimplicit-function-declaration] if (!last_was_action) default_action_error(); ^~~~~~~~~~~~~~~~~~~~ reader.c: At top level: reader.c:1097:1: warning: return type defaults to 'int' [-Wimplicit-int] insert_empty_rule() ^~~~~~~~~~~~~~~~~ reader.c: In function 'copy_action': reader.c:1197:15: warning: implicit declaration of function 'unknown_rhs' [-Wimplicit-function-declaration] unknown_rhs(i); ^~~~~~~~~~~ reader.c:1203:17: warning: implicit declaration of function 'illegal_token_ref' [-Wimplicit-function-declaration] illegal_token_ref(i, item->name); ^~~~~~~~~~~~~~~~~ reader.c:1242:2: warning: implicit declaration of function 'unterminated_action' [-Wimplicit-function-declaration] unterminated_action(a_lineno, a_line, a_cptr); ^~~~~~~~~~~~~~~~~~~ reader.c: In function 'mark_symbol': reader.c:1358:2: warning: implicit declaration of function 'prec_redeclared' [-Wimplicit-function-declaration] prec_redeclared(); ^~~~~~~~~~~~~~~ reader.c: At top level: reader.c:1366:1: warning: return type defaults to 'int' [-Wimplicit-int] read_grammar() ^~~~~~~~~~~~ reader.c:1414:1: warning: return type defaults to 'int' [-Wimplicit-int] pack_names() ^~~~~~~~~~ reader.c:1439:1: warning: return type defaults to 'int' [-Wimplicit-int] check_symbols() ^~~~~~~~~~~~~ reader.c: In function 'check_symbols': reader.c:1444:2: warning: implicit declaration of function 'undefined_goal' [-Wimplicit-function-declaration] undefined_goal(goal->name); ^~~~~~~~~~~~~~ reader.c:1450:6: warning: implicit declaration of function 'undefined_symbol_warning' [-Wimplicit-function-declaration] undefined_symbol_warning(bp->name); ^~~~~~~~~~~~~~~~~~~~~~~~ reader.c: At top level: reader.c:1457:1: warning: return type defaults to 'int' [-Wimplicit-int] pack_symbols() ^~~~~~~~~~~~ reader.c:1593:1: warning: return type defaults to 'int' [-Wimplicit-int] make_goal() ^~~~~~~~~ reader.c: In function 'make_goal': reader.c:1618:9: warning: implicit declaration of function 'entry_without_type' [-Wimplicit-function-declaration] entry_without_type(bp->name); ^~~~~~~~~~~~~~~~~~ reader.c: At top level: reader.c:1639:1: warning: return type defaults to 'int' [-Wimplicit-int] pack_grammar() ^~~~~~~~~~~~ reader.c:1734:1: warning: return type defaults to 'int' [-Wimplicit-int] reader() ^~~~~~ reader.c: In function 'reader': reader.c:1736:5: warning: implicit declaration of function 'create_symbol_table' [-Wimplicit-function-declaration] create_symbol_table(); ^~~~~~~~~~~~~~~~~~~ reader.c:1741:5: warning: implicit declaration of function 'free_symbol_table' [-Wimplicit-function-declaration] free_symbol_table(); ^~~~~~~~~~~~~~~~~ reader.c:1747:5: warning: implicit declaration of function 'free_symbols'; did you mean 'pack_symbols'? [-Wimplicit-function-declaration] free_symbols(); ^~~~~~~~~~~~ pack_symbols gcc -O -DNDEBUG -Dunix -c skeleton.c skeleton.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] write_section(section) ^~~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c symtab.c symtab.c: In function 'make_bucket': symtab.c:34:18: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (bp == 0) no_space(); ^~~~~~~~ isspace symtab.c: At top level: symtab.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] create_symbol_table() ^~~~~~~~~~~~~~~~~~~ symtab.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] free_symbol_table() ^~~~~~~~~~~~~~~~~ symtab.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] free_symbols() ^~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c verbose.c verbose.c: In function 'verbose': verbose.c:14:26: warning: implicit declaration of function 'no_space'; did you mean 'isspace'? [-Wimplicit-function-declaration] if (null_rules == 0) no_space(); ^~~~~~~~ isspace verbose.c:17:2: warning: implicit declaration of function 'print_state'; did you mean 'initstate'? [-Wimplicit-function-declaration] print_state(i); ^~~~~~~~~~~ initstate verbose.c:21:2: warning: implicit declaration of function 'log_unused'; did you mean '__unused'? [-Wimplicit-function-declaration] log_unused(); ^~~~~~~~~~ __unused verbose.c:23:2: warning: implicit declaration of function 'log_conflicts' [-Wimplicit-function-declaration] log_conflicts(); ^~~~~~~~~~~~~ verbose.c: At top level: verbose.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int] log_unused() ^~~~~~~~~~ verbose.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] log_conflicts() ^~~~~~~~~~~~~ verbose.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] print_state(state) ^~~~~~~~~~~ verbose.c: In function 'print_state': verbose.c:84:2: warning: implicit declaration of function 'print_conflicts'; did you mean 'log_conflicts'? [-Wimplicit-function-declaration] print_conflicts(state); ^~~~~~~~~~~~~~~ log_conflicts verbose.c:86:5: warning: implicit declaration of function 'print_core'; did you mean 'print_state'? [-Wimplicit-function-declaration] print_core(state); ^~~~~~~~~~ print_state verbose.c:87:5: warning: implicit declaration of function 'print_nulls'; did you mean 'print_state'? [-Wimplicit-function-declaration] print_nulls(state); ^~~~~~~~~~~ print_state verbose.c:88:5: warning: implicit declaration of function 'print_actions'; did you mean 'print_state'? [-Wimplicit-function-declaration] print_actions(state); ^~~~~~~~~~~~~ print_state verbose.c: At top level: verbose.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] print_conflicts(state) ^~~~~~~~~~~~~~~ verbose.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] print_core(state) ^~~~~~~~~~ verbose.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] print_nulls(state) ^~~~~~~~~~~ verbose.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] print_actions(stateno) ^~~~~~~~~~~~~ verbose.c: In function 'print_actions': verbose.c:233:2: warning: implicit declaration of function 'print_shifts'; did you mean 'print_state'? [-Wimplicit-function-declaration] print_shifts(p); ^~~~~~~~~~~~ print_state verbose.c:234:2: warning: implicit declaration of function 'print_reductions'; did you mean 'print_actions'? [-Wimplicit-function-declaration] print_reductions(p, defred[stateno]); ^~~~~~~~~~~~~~~~ print_actions verbose.c:242:6: warning: implicit declaration of function 'print_gotos'; did you mean 'print_actions'? [-Wimplicit-function-declaration] print_gotos(stateno); ^~~~~~~~~~~ print_actions verbose.c: At top level: verbose.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] print_shifts(p) ^~~~~~~~~~~~ verbose.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] print_reductions(p, defred) ^~~~~~~~~~~~~~~~ verbose.c:310:1: warning: return type defaults to 'int' [-Wimplicit-int] print_gotos(stateno) ^~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -c warshall.c warshall.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] transitive_closure(R, n) ^~~~~~~~~~~~~~~~~~ warshall.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] reflexive_transitive_closure(R, n) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O -DNDEBUG -Dunix -o camlyacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o cp yacc/camlyacc . cd lib; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -stdlib . -O none -g -W arg.mli ../camlrun ../camlcomp -stdlib . -O none -g -W bool.mli ../camlrun ../camlcomp -stdlib . -O none -g -W char.mli ../camlrun ../camlcomp -stdlib . -O none -g -W string.mli ../camlrun ../camlcomp -stdlib . -O none -g -W vect.mli ../camlrun ../camlcomp -stdlib . -O none -g -W eq.mli ../camlrun ../camlcomp -stdlib . -O none -g -W exc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fchar.mli ../camlrun ../camlcomp -stdlib . -O none -g -W sys.mli ../camlrun ../camlcomp -stdlib . -O none -g -W filename.mli ../camlrun ../camlcomp -stdlib . -O none -g -W float.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fstring.mli ../camlrun ../camlcomp -stdlib . -O none -g -W fvect.mli ../camlrun ../camlcomp -stdlib . -O none -g -W hashtbl.mli ../camlrun ../camlcomp -stdlib . -O none -g -W int.mli ../camlrun ../camlcomp -stdlib . -O none -g -W io.mli ../camlrun ../camlcomp -stdlib . -O none -g -W obj.mli ../camlrun ../camlcomp -stdlib . -O none -g -W lexing.mli ../camlrun ../camlcomp -stdlib . -O none -g -W list.mli ../camlrun ../camlcomp -stdlib . -O none -g -W pair.mli ../camlrun ../camlcomp -stdlib . -O none -g -W parsing.mli ../camlrun ../camlcomp -stdlib . -O none -g -W printexc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W ref.mli ../camlrun ../camlcomp -stdlib . -O none -g -W sort.mli ../camlrun ../camlcomp -stdlib . -O none -g -W printf.mli ../camlrun ../camlcomp -stdlib . -O none -g -W stream.mli ../camlrun ../camlcomp -stdlib . -O none -g -W stack.mli ../camlrun ../camlcomp -stdlib . -O none -g -W queue.mli ../camlrun ../camlcomp -stdlib . -O none -g -W random.mli ../camlrun ../camlcomp -stdlib . -O none -g -W genlex.mli ../camlrun ../camlcomp -stdlib . -O none -g -W baltree.mli ../camlrun ../camlcomp -stdlib . -O none -g -W set.mli ../camlrun ../camlcomp -stdlib . -O none -g -W map.mli ../camlrun ../camlcomp -stdlib . -O none -g -W gc.mli ../camlrun ../camlcomp -stdlib . -O none -g -W format.mli ../camlrun ../camlcomp -stdlib . -O none -g -W bool.ml ../camlrun ../camlcomp -stdlib . -O none -g -W eq.ml ../camlrun ../camlcomp -stdlib . -O none -g -W exc.ml ../camlrun ../camlcomp -stdlib . -O none -g -W int.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fstring.ml ../camlrun ../camlcomp -stdlib . -O none -g -W string.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fchar.ml ../camlrun ../camlcomp -stdlib . -O none -g -W char.ml ../camlrun ../camlcomp -stdlib . -O none -g -W float.ml ../camlrun ../camlcomp -stdlib . -O none -g -W list.ml ../camlrun ../camlcomp -stdlib . -O none -g -W fvect.ml ../camlrun ../camlcomp -stdlib . -O none -g -W vect.ml ../camlrun ../camlcomp -stdlib . -O none -g -W io.ml ../camlrun ../camlcomp -stdlib . -O none -g -W pair.ml ../camlrun ../camlcomp -stdlib . -O none -g -W arg.ml cpp -P -C -Dunix filename.mlp > filename.ml ../camlrun ../camlcomp -stdlib . -O none -g -W filename.ml ../camlrun ../camlcomp -stdlib . -O none -g -W hashtbl.ml ../camlrun ../camlcomp -stdlib . -O none -g -W lexing.ml ../camlrun ../camlcomp -stdlib . -O none -g -W iparsing.mli ../camlrun ../camlcomp -stdlib . -O none -g -W parsing.ml ../camlrun ../camlcomp -stdlib . -O none -g -W printexc.ml ../camlrun ../camlcomp -stdlib . -O none -g -W sort.ml ../camlrun ../camlcomp -stdlib . -O none -g -W printf.ml ../camlrun ../camlcomp -stdlib . -O none -g -W stream.ml ../camlrun ../camlcomp -stdlib . -O none -g -W stack.ml ../camlrun ../camlcomp -stdlib . -O none -g -W queue.ml ../camlrun ../camlcomp -stdlib . -O none -g -W format.ml ../camlrun ../camlcomp -stdlib . -O none -g -W random.ml cpp -P -C -Dunix genlex.mlp > genlex.ml ../camlrun ../camlcomp -stdlib . -O none -g -W genlex.ml ../camlrun ../camlcomp -stdlib . -O none -g -W baltree.ml ../camlrun ../camlcomp -stdlib . -O none -g -W set.ml ../camlrun ../camlcomp -stdlib . -O none -g -W map.ml ../camlrun ../camlcomp -stdlib . -O none -g -W gc.ml ../camlrun ../camllibr -o stdlib.zo bool.zo eq.zo exc.zo int.zo fstring.zo string.zo fchar.zo char.zo float.zo list.zo fvect.zo vect.zo io.zo pair.zo arg.zo filename.zo hashtbl.zo lexing.zo parsing.zo printexc.zo sort.zo printf.zo stream.zo stack.zo queue.zo format.zo random.zo genlex.zo baltree.zo set.zo map.zo gc.zo cd compiler; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -stdlib ../lib -W -O fast config.mli cpp -P -C -Dunix config.mlp > config.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast config.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast misc.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast interntl.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast const.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast prim.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast globals.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast lambda.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast location.mli cpp -P -C -Dunix location.mlp > location.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast location.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast syntax.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast modules.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast builtins.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast types.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast pr_type.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast error.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast typing.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast ty_decl.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast pr_decl.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast ty_intf.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast tr_env.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast event.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast clauses.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast matching.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast trstream.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast front.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast instruct.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast back.ml sed -n -e '/^enum/p' -e 's/,//' -e '/^ /p' ../runtime/instruct.h | awk -f ../tools/make-opcodes > opcodes.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast opcodes.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast prim_opc.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast buffcode.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast labels.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast reloc.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast emitcode.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast emit_phr.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast primdecl.ml ../camlyacc -s parser.mly ../camlyacc: 18 shift/reduce conflicts. ../camlrun ../camlcomp -stdlib ../lib -W -O fast parser.mli ../camlrun ../camlcomp -stdlib ../lib -W -O fast lexer.mli cpp -P -C -Dunix lexer.mlp > lexer.mll ../camlrun ../camllex lexer.mll 118 states, 70 actions. ../camlrun ../camlcomp -stdlib ../lib -W -O fast lexer.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast par_aux.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast parser.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast compiler.ml cpp -P -C -Dunix version.mlp > version.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast version.ml ../camlrun ../camlcomp -stdlib ../lib -W -O fast main.ml ../camlrun ../camllink -stdlib ../lib -g -o camlcomp stdlib.zo config.zo misc.zo interntl.zo const.zo prim.zo lambda.zo globals.zo location.zo syntax.zo modules.zo builtins.zo types.zo pr_type.zo error.zo typing.zo ty_decl.zo pr_decl.zo ty_intf.zo tr_env.zo event.zo clauses.zo matching.zo trstream.zo front.zo instruct.zo back.zo opcodes.zo prim_opc.zo buffcode.zo labels.zo reloc.zo emitcode.zo emit_phr.zo primdecl.zo lexer.zo par_aux.zo parser.zo compiler.zo version.zo main.zo cd linker; make CPP="cpp -P -C -Dunix" all (echo '#open "const";;'; echo 'let predef_variables = ['; sed -n -e 's|.*/\* \(".*"\), *\(".*"\) \*/$|{qual=\1; id=\2};|p' ../runtime/globals.h | sed -e '$s|;$||'; echo '];;'; echo 'let predef_exn = ['; sed -n -e 's|.*/\* \(".*"\), *\(".*"\), *\([0-9]*\) \*/$|({qual=\1; id=\2}, \3);|p' ../runtime/fail.h | sed -e '$s|;$||'; echo '];;') > predef.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler predef.ml (echo 'let primitives_table = [|'; sed -e 's/.*/ "&";/' -e '$s/;$//' ../runtime/primitives; echo '|];;') > prim_c.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler prim_c.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler symtable.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler patch.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler tr_const.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler link.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler readword.ml cpp -P -C -Dunix version.mlp > version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler main.ml ../camlrun ../camllink -g -stdlib ../lib -I ../compiler -o camllink stdlib.zo config.zo misc.zo interntl.zo opcodes.zo predef.zo prim_c.zo symtable.zo patch.zo tr_const.zo link.zo readword.zo version.zo main.zo cd librar; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker librar.ml cpp -P -C -Dunix version.mlp > version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker main.ml ../camlrun ../camllink -g -stdlib ../lib -I ../compiler -I ../linker -o camllibr stdlib.zo config.zo misc.zo interntl.zo readword.zo librar.zo version.zo main.zo cd lex; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -W -O fast -stdlib ../lib syntax.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib scan_aux.ml ../camlyacc -s grammar.mly ../camlyacc: 13 shift/reduce conflicts. ../camlrun ../camlcomp -W -O fast -stdlib ../lib grammar.mli ../camlrun ../camllex scanner.mll 67 states, 45 actions. ../camlrun ../camlcomp -W -O fast -stdlib ../lib scanner.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib gram_aux.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib grammar.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib lexgen.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib output.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib main.ml ../camlrun ../camllink -g -stdlib ../lib -o camllex stdlib.zo syntax.zo scan_aux.zo scanner.zo gram_aux.zo grammar.zo lexgen.zo output.zo main.zo cd toplevel; make CPP="cpp -P -C -Dunix" all ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker fmt_type.ml cpp -P -C -Dunix -UPRINT_NUMS pr_value.mlp > pr_value.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker pr_value.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker meta.mli ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker load_phr.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker do_phr.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker toplevel.mli ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker toplevel.ml cpp -P -C -Dunix -UPRINT_NUMS version.mlp > version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker topinit.ml ../camlrun ../camllibr -o toplib.zo -stdlib ../lib -I ../compiler -I ../linker config.zo misc.zo interntl.zo const.zo prim.zo instruct.zo lambda.zo globals.zo location.zo syntax.zo modules.zo builtins.zo types.zo pr_type.zo error.zo typing.zo ty_decl.zo pr_decl.zo ty_intf.zo tr_env.zo event.zo clauses.zo matching.zo trstream.zo front.zo back.zo opcodes.zo prim_opc.zo buffcode.zo labels.zo reloc.zo emitcode.zo emit_phr.zo primdecl.zo lexer.zo par_aux.zo parser.zo compiler.zo predef.zo prim_c.zo symtable.zo patch.zo tr_const.zo fmt_type.zo pr_value.zo load_phr.zo do_phr.zo toplevel.zo version.zo topinit.zo ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker topmain.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker provide.ml ../camlrun ../camllink -g -stdlib ../lib -I ../compiler -I ../linker -o provide stdlib.zo config.zo misc.zo interntl.zo modules.zo provide.zo ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker expunge.ml ../camlrun ../camllink -g -stdlib ../lib -I ../compiler -I ../linker -o expunge stdlib.zo readword.zo expunge.zo ../camlrun ./provide -stdlib ../lib baltree bool char eq exc fchar filename float format fstring fvect gc genlex hashtbl int io iparsing lexing list map obj pair parsing printexc printf queue random ref set sort stack stream string toplevel vect > required ../camlrun ../camllink -g -stdlib ../lib -I ../compiler -I ../linker -o camltop1 -require required stdlib.zo toplib.zo topmain.zo ../camlrun ./expunge camltop1 camltop baltree bool char eq exc fchar filename float format fstring fvect gc genlex hashtbl int io iparsing lexing list map obj pair parsing printexc printf queue random ref set sort stack stream string toplevel vect sys rm -f camltop1 required cp toplevel.zi ../lib cd launch; make LIBDIR=/usr/pkg/lib/caml-light BINDIR=/usr/pkg/bin CC="gcc" OPTS="-Dunix" LIBS="" all sed -e 's|LIBDIR|/usr/pkg/lib/caml-light|' -e 's|CC|gcc -Dunix|' -e 's|LIBS||' -e s/VERSION/`sed -e 's/#define VERSION //' ../version.h`/ camlc.tpl > camlc sed -e 's|LIBDIR|/usr/pkg/lib/caml-light|' -e 's|CC|gcc -Dunix|' -e 's|LIBS||' camllight.tpl > camllight sed -e 's|LIBDIR|/usr/pkg/lib/caml-light|' -e 's|CC|gcc -Dunix|' -e 's|LIBS||' camlmktop.tpl > camlmktop gcc -Dunix -o camlexec camlexec.c strip camlexec ../camlrun ../camlcomp -W -stdlib ../lib testprog.ml ../camlrun ../camllink -stdlib ../lib -o testprog stdlib.zo testprog.zo Let's test quickly the toplevel system... (echo "1+2;;"; echo "let rec fib n = if n < 2 then 1 else fib(n-1)+fib(n-2);;"; echo "fib 20;;") | ./camlrun toplevel/camltop -stdlib lib > Caml Light version 0.74 #- : int = 3 #fib : int -> int = #- : int = 10946 #Is that 10946 on the line above? Good. The Caml Light system is up and running.