=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. => Checksum SHA1 OK for cl74unix.tar.gz => Checksum RMD160 OK for cl74unix.tar.gz => Checksum SHA512 OK for cl74unix.tar.gz ===> Installing dependencies for caml-light-0.74nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> 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'. ===> Overriding tools for caml-light-0.74nb2 ===> Extracting for caml-light-0.74nb2 ===> Patching for caml-light-0.74nb2 => Applying pkgsrc patches for caml-light-0.74nb2 => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-aa => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.6 2013/10/27 20:32:56 joerg Exp $ | |Config fixes. |Destdir support. | |--- Makefile.orig 1997-04-24 10:51:03.000000000 -0400 |+++ Makefile 2008-09-04 21:28:01.000000000 -0400 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 24. Hunk #3 succeeded at 49. Hunk #4 succeeded at 118. Hunk #5 succeeded at 130. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ab => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.2 2008/09/05 02:07:51 dholland Exp $ | |cp(1) cannot overwrite read-only files. | |Add destdir support. | |--- lib/Makefile.orig 1997-11-12 11:49:46.000000000 -0500 |+++ lib/Makefile 2008-09-04 21:39:14.000000000 -0400 -------------------------- Patching file lib/Makefile using Plan A... Hunk #1 succeeded at 31. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ac => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ac,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. |Fix build with gcc4. | |--- runtime/main.c~ 1997-04-24 10:51:06.000000000 -0400 |+++ runtime/main.c 2008-09-04 21:09:25.000000000 -0400 -------------------------- Patching file runtime/main.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 126. Hunk #3 succeeded at 135. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ad => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ad,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/signals.c~ 1995-11-10 10:10:32.000000000 -0500 |+++ runtime/signals.c 2008-09-04 21:10:48.000000000 -0400 -------------------------- Patching file runtime/signals.c using Plan A... Hunk #1 succeeded at 5. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ae => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.2 2012/10/20 22:11:30 joerg Exp $ | |Fix 64-bit build. | |--- runtime/debugcom.c~ 1997-06-27 09:59:02.000000000 -0400 |+++ runtime/debugcom.c 2008-09-04 21:11:39.000000000 -0400 -------------------------- Patching file runtime/debugcom.c using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 184. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-af => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-af Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-af,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/io.c~ 1997-04-24 10:51:06.000000000 -0400 |+++ runtime/io.c 2008-09-04 21:13:01.000000000 -0400 -------------------------- Patching file runtime/io.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ag => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ag Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ag,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/sys.c~ 1997-10-16 09:36:19.000000000 -0400 |+++ runtime/sys.c 2008-09-04 21:13:32.000000000 -0400 -------------------------- Patching file runtime/sys.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ah => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ah Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ah,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/lexing.c~ 1994-11-01 12:36:10.000000000 -0500 |+++ runtime/lexing.c 2008-09-04 21:13:59.000000000 -0400 -------------------------- Patching file runtime/lexing.c using Plan A... Hunk #1 succeeded at 4. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ai => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ai Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ai,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- yacc/defs.h~ 1995-05-02 10:47:38.000000000 -0400 |+++ yacc/defs.h 2008-09-04 21:21:25.000000000 -0400 -------------------------- Patching file yacc/defs.h using Plan A... Hunk #1 succeeded at 3. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-aj => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-aj Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aj,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- launch/camlexec.c~ 1996-11-25 10:03:46.000000000 -0500 |+++ launch/camlexec.c 2008-09-04 21:22:57.000000000 -0400 -------------------------- Patching file launch/camlexec.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ak => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ak,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix build with gcc4. | |--- runtime/interp.c~ 1997-06-27 09:59:03.000000000 -0400 |+++ runtime/interp.c 2008-09-04 20:53:27.000000000 -0400 -------------------------- Patching file runtime/interp.c using Plan A... Hunk #1 succeeded at 177. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-al => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-al Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-al,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/config.h~ 1995-10-03 09:55:32.000000000 -0400 |+++ runtime/config.h 2008-09-04 21:04:48.000000000 -0400 -------------------------- Patching file runtime/config.h using Plan A... Hunk #1 succeeded at 12. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-am => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-am,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- runtime/Makefile~ 1997-06-10 08:24:35.000000000 -0400 |+++ runtime/Makefile 2008-09-04 21:29:09.000000000 -0400 -------------------------- Patching file runtime/Makefile using Plan A... Hunk #1 succeeded at 50. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-an => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-an Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-an,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- launch/Makefile~ 1995-02-22 04:33:26.000000000 -0500 |+++ launch/Makefile 2008-09-04 21:32:35.000000000 -0400 -------------------------- Patching file launch/Makefile using Plan A... Hunk #1 succeeded at 10. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ao => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ao Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ao,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- compiler/Makefile~ 1997-11-12 11:48:14.000000000 -0500 |+++ compiler/Makefile 2008-09-04 21:34:41.000000000 -0400 -------------------------- Patching file compiler/Makefile using Plan A... Hunk #1 succeeded at 32. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ap => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ap Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ap,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- linker/Makefile~ 1997-11-12 11:50:21.000000000 -0500 |+++ linker/Makefile 2008-09-04 21:35:03.000000000 -0400 -------------------------- Patching file linker/Makefile using Plan A... Hunk #1 succeeded at 24. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-aq => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-aq Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aq,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- librar/Makefile~ 1997-11-12 11:50:13.000000000 -0500 |+++ librar/Makefile 2008-09-04 21:35:38.000000000 -0400 -------------------------- Patching file librar/Makefile using Plan A... Hunk #1 succeeded at 23. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-ar => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-ar Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ar,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- toplevel/Makefile~ 1997-11-12 11:50:29.000000000 -0500 |+++ toplevel/Makefile 2008-09-04 21:36:13.000000000 -0400 -------------------------- Patching file toplevel/Makefile using Plan A... Hunk #1 succeeded at 57. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-as => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-as Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-as,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- lex/Makefile~ 1997-11-12 11:48:29.000000000 -0500 |+++ lex/Makefile 2008-09-04 21:36:39.000000000 -0400 -------------------------- Patching file lex/Makefile using Plan A... Hunk #1 succeeded at 21. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-at => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-at Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-at,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- yacc/Makefile~ 1994-11-01 12:36:18.000000000 -0500 |+++ yacc/Makefile 2008-09-04 21:36:59.000000000 -0400 -------------------------- Patching file yacc/Makefile using Plan A... Hunk #1 succeeded at 16. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-au => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-au Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-au,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- man/Makefile~ 1994-11-01 12:36:06.000000000 -0500 |+++ man/Makefile 2008-09-04 21:37:35.000000000 -0400 -------------------------- Patching file man/Makefile using Plan A... Hunk #1 succeeded at 1. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-yacc_error.c => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-yacc_error.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_error.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. | |--- yacc/error.c.orig 2012-10-20 13:06:22.000000000 +0000 |+++ yacc/error.c -------------------------- Patching file yacc/error.c using Plan A... Hunk #1 succeeded at 34. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-yacc_main_c => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-yacc_main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_main_c,v 1.2 2012/10/20 22:11:30 joerg Exp $ | |Avoid insecure use of mktemp(). | |--- yacc/main.c~ 1995-06-07 09:34:32.000000000 -0400 |+++ yacc/main.c 2008-09-04 22:15:26.000000000 -0400 -------------------------- Patching file yacc/main.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 32. Hunk #3 succeeded at 75. Hunk #4 succeeded at 124. Hunk #5 succeeded at 279. Hunk #6 succeeded at 333. Hunk #7 succeeded at 357. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-yacc_output.c => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-yacc_output.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_output.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. |Mark private functions static. | |--- yacc/output.c.orig 2012-10-20 13:08:10.000000000 +0000 |+++ yacc/output.c -------------------------- Patching file yacc/output.c using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 326. Hunk #3 succeeded at 727. Hunk #4 succeeded at 758. Hunk #5 succeeded at 815. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-yacc_reader.c => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-yacc_reader.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_reader.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. | |--- yacc/reader.c.orig 2012-10-20 13:12:08.000000000 +0000 |+++ yacc/reader.c -------------------------- Patching file yacc/reader.c using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 113. Hunk #3 succeeded at 268. Hunk #4 succeeded at 297. Hunk #5 succeeded at 414. Hunk #6 succeeded at 785. Hunk #7 succeeded at 851. Hunk #8 succeeded at 879. Hunk #9 succeeded at 899. Hunk #10 succeeded at 1123. Hunk #11 succeeded at 1154. Hunk #12 succeeded at 1396. Hunk #13 succeeded at 1695. done => Verifying /opt/pkgsrc/lang/caml-light/patches/patch-yacc_verbose.c => Applying pkgsrc patch /opt/pkgsrc/lang/caml-light/patches/patch-yacc_verbose.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_verbose.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. | |--- yacc/verbose.c.orig 2012-10-20 13:15:43.000000000 +0000 |+++ yacc/verbose.c -------------------------- Patching file yacc/verbose.c using Plan A... Hunk #1 succeeded at 4. done ===> Creating toolchain wrappers for caml-light-0.74nb2 ===> Configuring for caml-light-0.74nb2 => Checking for portability problems in extracted files cd /opt/work/lang/caml-light/work/cl74/src && /opt/pkg/bin/bmake configure cd ../config; sh ./autoconf "gcc -Dunix " Checking the sizes of integers and pointers... sizes.c:5:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *)); ^ sizes.c:5:3: note: include the header or explicitly provide a declaration for 'printf' sizes.c:5:24: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *)); ~~ ^~~~~~~~~~~ %lu sizes.c:5:37: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *)); ~~ ^~~~~~~~~~~~ %lu sizes.c:5:51: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *)); ~~ ^~~~~~~~~~~~~~ %lu 4 warnings generated. Wow! A 64 bit architecture! schar.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ schar.c:6:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(i != -1); ^ schar.c:6:3: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. The char type is signed. Good! endian.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ endian.c:19:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(p, bigendian) == 0) ^ endian.c:19:7: note: include the header or explicitly provide a declaration for 'strcmp' endian.c:20:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ endian.c:20:5: note: include the header or explicitly provide a declaration for 'exit' 3 warnings generated. This is a little-endian architecture. align.c:72:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm(1); ^ align.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ align.c:87:39: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (test(access16, (char *) n + 1)) exit(1); ^ align.c:87:39: note: include the header or explicitly provide a declaration for 'exit' 3 warnings generated. This architecture has no alignment constraints. dblalign.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ dblalign.c:36:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(res); ^ dblalign.c:36:3: note: include the header or explicitly provide a declaration for 'exit' 2 warnings generated. Doubles can be word-aligned. bytecopy.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ bytecopy.c:11:3: warning: implicitly declaring library function 'memmove' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^ bytecopy.c:4:22: note: expanded from macro 'cpy' #define cpy(s1,s2,n) copy(s2,s1,n) ^ :2:14: note: expanded from here #define copy memmove ^ bytecopy.c:11:3: note: include the header or explicitly provide a declaration for 'memmove' bytecopy.c:4:22: note: expanded from macro 'cpy' #define cpy(s1,s2,n) copy(s2,s1,n) ^ :2:14: note: expanded from here #define copy memmove ^ bytecopy.c:12:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:7: note: include the header or explicitly provide a declaration for 'strcmp' bytecopy.c:12:58: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:58: note: include the header or explicitly provide a declaration for 'exit' 4 warnings generated. Function "memmove" is provided and handles overlapping moves correctly. bytecopy.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ bytecopy.c:11:3: warning: implicit declaration of function 'bcopy' is invalid in C99 [-Wimplicit-function-declaration] cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^ bytecopy.c:6:13: note: expanded from macro 'cpy' #define cpy copy ^ :2:14: note: expanded from here #define copy bcopy ^ bytecopy.c:12:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:7: note: include the header or explicitly provide a declaration for 'strcmp' bytecopy.c:12:58: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:58: note: include the header or explicitly provide a declaration for 'exit' 4 warnings generated. Function "bcopy" is provided and handles overlapping moves correctly. bytecopy.c:9:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ bytecopy.c:11:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^ bytecopy.c:4:22: note: expanded from macro 'cpy' #define cpy(s1,s2,n) copy(s2,s1,n) ^ :2:14: note: expanded from here #define copy memcpy ^ bytecopy.c:11:3: note: include the header or explicitly provide a declaration for 'memcpy' bytecopy.c:4:22: note: expanded from macro 'cpy' #define cpy(s1,s2,n) copy(s2,s1,n) ^ :2:14: note: expanded from here #define copy memcpy ^ bytecopy.c:12:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:7: note: include the header or explicitly provide a declaration for 'strcmp' bytecopy.c:12:58: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^ bytecopy.c:12:58: note: include the header or explicitly provide a declaration for 'exit' 4 warnings generated. 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.c:42:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] kill(getpid(), IGNSIG); ^ 1 warning generated. Signals have the BSD semantics. rename() found. You have BSD sockets. lockf() found. mkfifo() found. getcwd() found. getwd() found. getpriority() found. utimes() found. dup2() found. fchmod() found. truncate() found. select() found. symlink() found. wait3() found. waitpid() found. async_io.c:22:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration] if (pipe(p) == -1) return 1; ^ async_io.c:27:27: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] fcntl(p[OUT], F_SETOWN, getpid()); ^ async_io.c:28:10: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] switch(fork()) { ^ async_io.c:32:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(p[OUT]); ^ async_io.c:33:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(p[IN], "x", 1); ^ async_io.c:34:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(1); ^ async_io.c:35:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(0); ^ async_io.c:35:5: note: include the header or explicitly provide a declaration for 'exit' async_io.c:38:11: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] while(wait(NULL) == -1 && errno == EINTR) /*nothing*/; ^ 8 warnings generated. Asynchronous I/O are supported. setitimer() found. gethostname() found. gettimeofday() found. echo '#define HAS_STRERROR' >> /opt/work/lang/caml-light/work/cl74/config/s.h