=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for moscow_ml-2.01nb10 cd config; make clean rm -f m.h s.h cd auto-aux; rm -f *.o a.out cd runtime; make clean rm -f camlrunm camlrunmd *.o *.a rm -f primitives prims.c opnames.h jumptbl.h rm -f .debugobj/*.o cd launch; make clean rm -f camlexec.c camlexec mosmlc mosml mosmllex testprog testprog.u[io] cd mosmlyac; make clean rm -f *.o rm -f mosmlyac cd mosmllib; make clean rm -f *.ui rm -f *.uo rm -f Makefile.bak rm -f Array.sml FileSys.sml Help.sml Int.sml Mosml.sml rm -f Path.sml Process.sml Strbase.sml rm -f Vector.sml Word.sml Word8Array.sml Word8Vector.sml Weak.sml cd compiler; make clean rm -f mosmlcmp rm -f mosmllnk rm -f mosmltop rm -f *.ui rm -f *.uo rm -f Opcodes.sml rm -f Parser.sml rm -f Parser.sig rm -f Parser.output rm -f Lexer.sml rm -f Config.sml rm -f Filename.sml rm -f Predef.sml rm -f Prim_c.sml rm -f Makefile.bak cd toolssrc; make clean rm -f *.ui rm -f *.uo rm -f Makefile.bak rm -f Deppars.sig Deppars.sml Deplex.sig Deplex.sml Mosmldep.sml rm -f cutdeps mosmldep cd lex; make clean rm -f *.ui rm -f *.uo rm -f mosmllex rm -f mosmllex.bin rm -f Grammar.sml rm -f Grammar.sig rm -f Grammar.output rm -f Scanner.sml rm -f Makefile.bak cd test; make clean rm -f result rm -f *.sml cd test; make clean rm -f result cd mosmllib/test; make clean rm -f result rm -f cmdline cmdline.ui cmdline.uo rm -f empty.dat medium.dat small1.dat small2.dat text.dat rm -f mosmltestrun rm -f hardlinkA hardlinkB rm -f testlink testcycl testbadl rm -f testrun.ui testrun.uo cd callback; make clean rm -f *.o rm -f *.so cd ../examples; make clean cd calc; make clean rm -f Makefile.bak rm -f Parser.sig rm -f Parser.sml rm -f Lexer.sml rm -f calc rm -f *.ui rm -f *.uo cd cgi; make clean rm -f *.ui rm -f *.uo rm -f cgiex1 cgiex2 cgitest rm -f Makefile.bak cd lexyacc; make clean rm -f Parser.sig Parser.sml Lexer.sml rm -f *.ui *.uo rm -f Makefile.bak cd manual; make clean rm -f *.ui rm -f *.uo rm -f Makefile.bak cd mls; make clean rm -f *.ui rm -f *.uo rm -f Makefile.bak rm -f mls cd parsercomb; make clean rm -f *.ui rm -f *.uo rm -f Makefile.bak cd pretty; make clean cd webserver; make clean rm -f *.ui rm -f *.uo rm -f echoserver minimalserver mosmlserver rm -f Makefile.bak cd dynlibs; make clean cd crypt; make clean rm -f *.o rm -f *.so cd interface; make clean rm -f *.o rm -f *.so cd intinf; make clean rm -f *.o rm -f *.so rm -f *.ui rm -f *.uo rm -f Makefile.bak cd mgd; make clean rm -f *.o rm -f *.so rm -f *.uo *.ui rm -f *.png rm -f Makefile.bak cd mgdbm; make clean rm -f *.o rm -f *.so rm -f empty testdb monthnames cd mmysql; make clean rm -f *~ rm -f *.o rm -f *.so rm -f Makefile.bak cd mpq; make clean rm -f *.o rm -f *.so rm -f Makefile.bak cd mregex; make clean rm -f *.o rm -f *.so rm -f Makefile.bak (cd regex-0.12; (test -f Makefile && make clean || test 1)) cd msocket; make clean rm -f *.o rm -f *.so rm -f Makefile.bak cd munix; make clean rm -f *.o rm -f *.so rm -f sieve rm -f Makefile.bak rm -f camlrunm cd doc; make clean rm -f *.aux *.dvi *.blg *.bbl *.blg *.log *.ps rm -f *.ind *.idx *.ilg *.toc rm -f index.tex texsigsigs.tex cd helpsigs; make clean rm -f Parser.sig Parser.sml Lexer.sml rm -f makebase index.txt index.tex texsigsigs.tex rm -f *.ui rm -f *.uo rm -f Makefile.bak cd config; sh autoconf gcc Checking the sizes of integers and pointers... OK, this is a regular 32 bit architecture. The char type is not signed. Let's see if 'signed char' works. Yes, it works. Good! This is a big-endian architecture. This architecture has alignment constraints. Doubles can be word-aligned. Function "memmove" is provided and handles overlapping moves correctly. Function "bcopy" is provided and handles overlapping moves correctly. _setjmp and _longjmp appear to work. Good! sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:6:7: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types] Sorry, I can't determine the return type for signal handlers. I'm assuming "void". If this seems to cause errors, try to change "sighandler_return_type" in s.h Signals have the BSD semantics. rename() found. strerror() found. You have BSD sockets. unistd.h found. dirent.h found. lockf() found. mkfifo() found. getpriority() found. utime() found. utimes() found. dup2() found. fchmod() found. truncate() found. select() found. symlink() found. wait3() found. waitpid() found. getgroups() found. POSIX termios found. cd runtime; make all awk -f ../tools/make-jumptbl instruct.h > jumptbl.h gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o interp.o interp.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o expand.o expand.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o misc.o misc.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o stacks.o stacks.c In file included from stacks.c:4:0: config.h:41: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 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 -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o fix_code.o fix_code.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o main.o main.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o fail.o fail.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o signals.o signals.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o freelist.o freelist.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o major_gc.o major_gc.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o minor_gc.o minor_gc.c In file included from minor_gc.c:5:0: config.h:41: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 minor_gc.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o memory.o memory.c In file included from mlvalues.h:5:0, from memory.c:3: config.h:41: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 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 -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o alloc.o alloc.c In file included from misc.h:6:0, from alloc.h:5, from alloc.c:7: config.h:41: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 -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o roots.o roots.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o compare.o compare.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o ints.o ints.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o floats.o floats.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o str.o str.c In file included from misc.h:6:0, from alloc.h:5, from str.c:5: config.h:41: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 str.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o io.o io.c In file included from misc.h:6:0, from alloc.h:5, from io.c:16: config.h:41: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 io.c:7: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o extern.o extern.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o externcp.o externcp.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o intern.o intern.c In file included from misc.h:6:0, from debugger.h:4, from intern.c:4: config.h:41: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 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 -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o interncp.o interncp.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o hash.o hash.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o sys.o sys.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o meta.o meta.c In file included from meta.c:5:0: config.h:41: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 meta.c:4: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o parsing.o parsing.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o lexing.o lexing.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o gc_ctrl.o gc_ctrl.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o mosml.o mosml.c In file included from mlvalues.h:5:0, from mosml.c:28: config.h:41: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 mosml.c:7: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o unix.o unix.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o runtime.o runtime.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o md5sum.o md5sum.c In file included from mlvalues.h:5:0, from md5sum.c:4: config.h:41: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 md5sum.c:2: /usr/include/ssp/strings.h:38:0: note: this is the location of the previous definition #define bcopy(src, dst, len) \ gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o callback.o callback.c gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o dynlib.o dynlib.c sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-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 mosml.c unix.c md5sum.c callback.c dynlib.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 -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o prims.o prims.c gcc -rdynamic -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o main.o fail.o signals.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 mosml.o unix.o runtime.o md5sum.o callback.o dynlib.o -lm -ldl ld: mosml.o: in function `sml_tmpnam': mosml.c:(.text+0x1f98): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() strip camlrunm cp runtime/camlrunm . cd mosmlyac; make all gcc -c -O -DNDEBUG -o closure.o closure.c In file included from closure.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o error.o error.c In file included from error.c:3:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o lalr.o lalr.c In file included from lalr.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o lr0.o lr0.c In file included from lr0.c:2:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o main.o main.c In file included from main.c:8:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ main.c: In function 'done': main.c:85:45: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^~~~~~ main.c:89:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(k); ^~~~ main.c:89:5: warning: incompatible implicit declaration of built-in function 'exit' main.c:89:5: note: include '' or provide a declaration of 'exit' main.c: In function 'usage': main.c:120:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ main.c:120:5: note: include '' or provide a declaration of 'exit' main.c: In function 'getargs': main.c:198:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen(argv[i]); ^~~~~~ main.c:198:13: warning: incompatible implicit declaration of built-in function 'strlen' main.c:198:13: note: include '' or provide a declaration of 'strlen' main.c: In function 'create_file_names': main.c:242:11: warning: incompatible implicit declaration of built-in function 'strlen' len = strlen(tmpdir); ^~~~~~ main.c:242:11: note: include '' or provide a declaration of 'strlen' main.c:284:17: warning: implicit declaration of function 'mkstemp' [-Wimplicit-function-declaration] action_fd = mkstemp(action_file_name); ^~~~~~~ gcc -c -O -DNDEBUG -o mkpar.o mkpar.c In file included from mkpar.c:2:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o output.o output.c In file included from output.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o reader.o reader.c In file included from reader.c:5:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ reader.c: In function 'keyword': reader.c:239:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(cache, "token") == 0 || strcmp(cache, "term") == 0) ^~~~~~ reader.c: In function 'sort_tokens': reader.c:983:3: warning: implicit declaration of function 'qsort'; did you mean 'assert'? [-Wimplicit-function-declaration] qsort(sortedtokens, ntruetokens, sizeof(bucket*), tokcompare); ^~~~~ assert reader.c: In function 'output_token_type': reader.c:1005:21: warning: implicit declaration of function 'strchr' [-Wimplicit-function-declaration] if (bp->tag && (strchr(bp->tag, '*') || strchr(bp->tag, '{'))) ^~~~~~ reader.c:1005:21: warning: incompatible implicit declaration of built-in function 'strchr' reader.c:1005:21: note: include '' or provide a declaration of 'strchr' reader.c:1023:14: warning: incompatible implicit declaration of built-in function 'strchr' if (strchr(bp->tag, '*') || strchr(bp->tag, '{')) { ^~~~~~ reader.c:1023:14: note: include '' or provide a declaration of 'strchr' reader.c: In function 'pack_names': reader.c:1515:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] name_pool_size += strlen(bp->name) + 1; ^~~~~~ reader.c:1515:20: warning: incompatible implicit declaration of built-in function 'strlen' reader.c:1515:20: note: include '' or provide a declaration of 'strlen' reader.c: In function 'print_grammar': reader.c:1812:16: warning: incompatible implicit declaration of built-in function 'strlen' spacing = strlen(symbol_name[rlhs[i]]) + 1; ^~~~~~ reader.c:1812:16: note: include '' or provide a declaration of 'strlen' gcc -c -O -DNDEBUG -o skeleton.o skeleton.c In file included from skeleton.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o symtab.o symtab.c In file included from symtab.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ symtab.c: In function 'make_bucket': symtab.c:36:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] bp->name = MALLOC(strlen(name) + 1); ^ defs.h:161:38: note: in definition of macro 'MALLOC' #define MALLOC(n) (malloc((unsigned)(n))) ^ symtab.c:36:23: warning: incompatible implicit declaration of built-in function 'strlen' bp->name = MALLOC(strlen(name) + 1); ^ defs.h:161:38: note: in definition of macro 'MALLOC' #define MALLOC(n) (malloc((unsigned)(n))) ^ symtab.c:36:23: note: include '' or provide a declaration of 'strlen' bp->name = MALLOC(strlen(name) + 1); ^ defs.h:161:38: note: in definition of macro 'MALLOC' #define MALLOC(n) (malloc((unsigned)(n))) ^ symtab.c: In function 'lookup': symtab.c:63:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(name, bp->name) == 0) return (bp); ^~~~~~ gcc -c -O -DNDEBUG -o verbose.o verbose.c In file included from verbose.c:2:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -c -O -DNDEBUG -o warshall.o warshall.c In file included from warshall.c:1:0: defs.h:437:14: warning: conflicting types for built-in function 'calloc' [-Wbuiltin-declaration-mismatch] extern char *calloc(); ^~~~~~ defs.h:438:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ defs.h:439:14: warning: conflicting types for built-in function 'realloc' [-Wbuiltin-declaration-mismatch] extern char *realloc(); ^~~~~~~ gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o strip mosmlyac cd mosmllib; make all ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array.sig ../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sig cpp -P -traditional -Dunix -Umsdos Array.mlp > Array.sml Array.mlp:12:0: error: detected recursion whilst expanding macro "vector" type 'a vector = 'a Vector.vector; Array.mlp:23:0: error: detected recursion whilst expanding macro "vector" prim_val vector_ : int -> 'x -> 'a vector = 2 "make_vect"; *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/lang/moscow_ml/work/mosml/src/mosmllib *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/moscow_ml/work/mosml/src *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/lang/moscow_ml *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/moscow_ml