=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for moscow_ml-2.01nb9 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... Wow! A 64 bit architecture! The char type is signed. Good! This is a little-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. Function "memcpy" is provided and handles overlapping moves correctly. _setjmp and _longjmp appear to work. Good! sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 1 warning generated. sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sighandler.c:6:7: warning: incompatible function pointer types assigning to 'int (*)()' from 'void (*)(int)' [-Wincompatible-function-pointer-types] 2 warnings generated. 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. lockf() found. mkfifo() found. getpriority() found. utimes() found. dup2() found. fchmod() found. truncate() found. select() found. symlink() found. wait3() found. waitpid() 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 expand.c:338:56: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("buildrealmap: opcode = %d at %d\n", *pc, pc-byteprog); ~~ ^~~~~~~~~~~ %ld expand.c:663:54: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf("expandcode: opcode = %d at %d\n", *pc, pc-byteprog); ~~ ^~~~~~~~~~~ %ld 2 warnings generated. 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: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. 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: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o memory.o memory.c In file included from memory.c:3: In file included from ./mlvalues.h:5: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o alloc.o alloc.c In file included from alloc.c:7: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. 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 str.c:5: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ str.c:37:27: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return (*p1 < *p2 ? Val_long(-1) : Val_long(1)); ^~~~~~~~~~~~ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ str.c:41:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] return Val_long(-2); ^~~~~~~~~~~~ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ 3 warnings generated. gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o io.o io.c In file included from io.c:16: In file included from ./alloc.h:5: In file included from ./misc.h:6: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. 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 intern.c:4: In file included from ./debugger.h:4: In file included from ./misc.h:6: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ intern.c:476:25: warning: incompatible pointer types passing 'char *' to parameter of type 'value *' (aka 'long *') [-Wincompatible-pointer-types] expand_block(block, Hp_val(res), whsize32, whsize, color); ^~~~~~~~~~~ ./mlvalues.h:94:21: note: expanded from macro 'Hp_val' #define Hp_val(val) ((char *) (((header_t *) (val)) - 1)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ intern.c:155:52: note: passing argument to parameter 'dest' here static void expand_block(value32 * source, value * dest, mlsize_t source_len, mlsize_t dest_len, color_t color) ^ 2 warnings generated. 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 hash.c:97:7: warning: '/*' within block comment [-Wcomment] /* hash_aux(Field(obj, 0)); */ ^ 1 warning generated. 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: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. gcc -c -Dunix -O2 -fomit-frame-pointer -DTHREADED -fPIC -o parsing.o parsing.c parsing.c:132:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] env->curr_char = Val_int(-1); ^~~~~~~~~~~ ./mlvalues.h:67:17: note: expanded from macro 'Val_int' #define Val_int Val_long ^ ./mlvalues.h:63:37: note: expanded from macro 'Val_long' #define Val_long(x) (((long)(x) << 1) + 1) ~~~~~~~~~ ^ 1 warning generated. 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 mosml.c:28: In file included from ./mlvalues.h:5: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ mosml.c:987:9: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] res = tmpnam(NULL); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ 2 warnings generated. 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 md5sum.c:4: In file included from ./mlvalues.h:5: ./config.h:41:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] #define bcopy(src,dst,len) memmove((dst), (src), (len)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_strings.h:45:9: note: previous definition is here #define bcopy(src, dest, ...) \ ^ 1 warning generated. 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 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: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o error.o error.c In file included from error.c:3: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o lalr.o lalr.c In file included from lalr.c:1: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o lr0.o lr0.c In file included from lr0.c:2: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o main.o main.c In file included from main.c:8: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' main.c:85:45: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^ main.c:86:43: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (entry_file) { fclose(entry_file); unlink(entry_file_name); } ^ main.c:87:41: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (text_file) { fclose(text_file); unlink(text_file_name); } ^ main.c:88:43: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] if (union_file) { fclose(union_file); unlink(union_file_name); } ^ main.c:89:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(k); ^ main.c:89:5: note: include the header or explicitly provide a declaration for 'exit' main.c:198:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(argv[i]); ^ main.c:198:13: note: include the header or explicitly provide a declaration for 'strlen' main.c:284:17: warning: implicit declaration of function 'mkstemp' is invalid in C99 [-Wimplicit-function-declaration] action_fd = mkstemp(action_file_name); ^ 10 warnings generated. gcc -c -O -DNDEBUG -o mkpar.o mkpar.c In file included from mkpar.c:2: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' mkpar.c:195:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 4 warnings generated. gcc -c -O -DNDEBUG -o output.o output.c In file included from output.c:1: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o reader.o reader.c In file included from reader.c:5: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' reader.c:239:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(cache, "token") == 0 || strcmp(cache, "term") == 0) ^ reader.c:239:6: note: include the header or explicitly provide a declaration for 'strcmp' reader.c:274:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ reader.c:1005:21: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] if (bp->tag && (strchr(bp->tag, '*') || strchr(bp->tag, '{'))) ^ reader.c:1005:21: note: include the header or explicitly provide a declaration for 'strchr' reader.c:1185:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (bpp[0] = bpp[-1]) --bpp; ~~~~~~~^~~~~~~~~ reader.c:1185:19: note: place parentheses around the assignment to silence this warning while (bpp[0] = bpp[-1]) --bpp; ^ ( ) reader.c:1185:19: note: use '==' to turn this assignment into an equality comparison while (bpp[0] = bpp[-1]) --bpp; ^ == reader.c:1515:20: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] name_pool_size += strlen(bp->name) + 1; ^ reader.c:1515:20: note: include the header or explicitly provide a declaration for 'strlen' reader.c:1526:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*t++ = *s++) continue; ~~~~~^~~~~~ reader.c:1526:14: note: place parentheses around the assignment to silence this warning while (*t++ = *s++) continue; ^ ( ) reader.c:1526:14: note: use '==' to turn this assignment into an equality comparison while (*t++ = *s++) continue; ^ == 9 warnings generated. gcc -c -O -DNDEBUG -o skeleton.o skeleton.c In file included from skeleton.c:1: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o symtab.o symtab.c In file included from symtab.c:1: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' symtab.c:20:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *++s) ~~^~~~~~ symtab.c:20:14: note: place parentheses around the assignment to silence this warning while (c = *++s) ^ ( ) symtab.c:20:14: note: use '==' to turn this assignment into an equality comparison while (c = *++s) ^ == symtab.c:36:23: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] bp->name = MALLOC(strlen(name) + 1); ^ symtab.c:36:23: note: include the header or explicitly provide a declaration for 'strlen' symtab.c:63:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(name, bp->name) == 0) return (bp); ^ symtab.c:63:6: note: include the header or explicitly provide a declaration for 'strcmp' 6 warnings generated. gcc -c -O -DNDEBUG -o verbose.o verbose.c In file included from verbose.c:2: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. gcc -c -O -DNDEBUG -o warshall.o warshall.c In file included from warshall.c:1: ./defs.h:437:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] extern char *calloc(); ^ ./defs.h:437:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' ./defs.h:438:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(); ^ ./defs.h:438:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' ./defs.h:439:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *realloc(); ^ ./defs.h:439:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 3 warnings generated. 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 exec failed *** Error code 255 Stop. make[1]: stopped in /opt/work/lang/moscow_ml/work/mosml/src/mosmllib *** Error code 1 Stop. bmake: stopped in /opt/work/lang/moscow_ml/work/mosml/src *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/lang/moscow_ml *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/lang/moscow_ml