Building caml-0.75_4.txz (origin /buildshare/ports/355755/lang/caml-light) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/cl75unix.tar.gz x packages/ x packages/xproto-7.0.25.txz x packages/libXau-1.0.8_2.txz x packages/gmake-3.82_1.txz x packages/perl5-5.16.3_10.txz x packages/gettext-0.18.3.1_1.txz x packages/python27-2.7.6_4.txz x packages/xtrans-1.3.4_1.txz x packages/libxml2-2.9.1_1.txz x packages/libxslt-1.1.28_3.txz x packages/python2-2_2.txz x packages/xcmiscproto-1.2.2.txz x packages/libgcrypt-1.5.3_2.txz x packages/kbproto-1.0.6.txz x packages/libXdmcp-1.1.1_2.txz x packages/xextproto-7.3.0.txz x packages/libxcb-1.10_2.txz x packages/inputproto-2.3.txz x packages/xcb-proto-1.10_1.txz x packages/libpthread-stubs-0.3_4.txz x packages/bigreqsproto-1.1.2.txz x packages/libtool-2.4.2_3.txz x packages/pkg-1.2.7_2.txz x packages/libX11-1.6.2_2,1.txz x packages/libgpg-error-1.13.txz x packages/libcheck-0.9.12.txz x packages/xorg-macros-1.19.0.txz x packages/xf86bigfontproto-1.2.0.txz x packages/pkgconf-0.9.5.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> caml-0.75_4 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of caml-0.75_4 ===> caml-0.75_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /buildshare/ports/355755/x11/libX11 ===> Installing existing package /packages/libX11-1.6.2_2,1.txz Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8_2...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1_2... done Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.9.1_1... done done done ===> Returning to build of caml-0.75_4 ===> caml-0.75_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found Make install ===> caml-0.75_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by caml-0.75_4 for building ===> Extracting for caml-0.75_4 => SHA256 Checksum OK for cl75unix.tar.gz. ===> Patching for caml-0.75_4 ===> Applying FreeBSD patches for caml-0.75_4 ===> caml-0.75_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Configuring for caml-0.75_4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/lang/caml-light/work/cl75/contrib/libstr/regex-0.12/configure ===> Building for caml-0.75_4 cd /obj/buildshare/ports/355755/lang/caml-light/work/cl75/src; /usr/bin/env TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make configure world bootstrap cd ../config; sh autoconf "cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing " Checking the sizes of integers and pointers... sizes.c: In function 'main': sizes.c:5: warning: incompatible implicit declaration of built-in function 'printf' OK, this is a regular 32 bit architecture. schar.c: In function 'main': schar.c:6: warning: incompatible implicit declaration of built-in function 'exit' The char type is not signed. Let's see if 'signed char' works. schar2.c: In function 'main': schar2.c:6: warning: incompatible implicit declaration of built-in function 'exit' Yes, it works. Good! endian.c: In function 'main': endian.c:20: warning: incompatible implicit declaration of built-in function 'exit' This is a big-endian architecture. align.c: In function 'main': align.c:87: warning: incompatible implicit declaration of built-in function 'exit' This architecture has no alignment constraints. dblalign.c: In function 'main': dblalign.c:36: warning: incompatible implicit declaration of built-in function 'exit' Doubles can be word-aligned. bytecopy.c: In function 'main': bytecopy.c:11: warning: incompatible implicit declaration of built-in function 'memmove' bytecopy.c:12: warning: incompatible implicit declaration of built-in function 'exit' Function "memmove" is provided and handles overlapping moves correctly. bytecopy.c: In function 'main': bytecopy.c:11: warning: incompatible implicit declaration of built-in function 'bcopy' bytecopy.c:12: warning: incompatible implicit declaration of built-in function 'exit' Function "bcopy" is provided and handles overlapping moves correctly. bytecopy.c: In function 'main': bytecopy.c:11: warning: incompatible implicit declaration of built-in function 'memcpy' bytecopy.c:12: warning: incompatible implicit declaration of built-in function 'exit' The return type for signal handlers appears to be "void". Signals have the BSD semantics. rename() found. You have BSD sockets. unistd.h found. dirent.h found. lockf() found. mkfifo() found. getcwd() found. getwd() 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. async_io.c: In function 'main': async_io.c:35: warning: incompatible implicit declaration of built-in function 'exit' Asynchronous I/O are supported. setitimer() found. gethostname() found. uname() found. gettimeofday() found. cd runtime; make CC="cc" OPTS="-fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing " LIBS="" all awk -f ../tools/make-jumptbl instruct.h > jumptbl.h cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c interp.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c misc.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c stacks.c stacks.c: In function 'realloc_arg_stack': stacks.c:56: warning: incompatible implicit declaration of built-in function 'memmove' stacks.c: In function 'realloc_ret_stack': stacks.c:90: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c fix_code.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c main.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c fail.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c signals.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c debugcom.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c freelist.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c major_gc.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c minor_gc.c minor_gc.c: In function 'oldify': minor_gc.c:65: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c memory.c memory.c: In function 'expand_heap': memory.c:66: warning: incompatible implicit declaration of built-in function 'memmove' memory.c:78: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c alloc.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c roots.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c compare.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c ints.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c floats.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c str.c str.c: In function 'blit_string': str.c:49: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c io.c io.c: In function 'putblock': io.c:137: warning: incompatible implicit declaration of built-in function 'memmove' io.c:141: warning: incompatible implicit declaration of built-in function 'memmove' io.c: In function 'getblock': io.c:278: warning: incompatible implicit declaration of built-in function 'memmove' io.c:282: warning: incompatible implicit declaration of built-in function 'memmove' io.c:290: warning: incompatible implicit declaration of built-in function 'memmove' io.c: In function 'input_scan_line': io.c:370: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c extern.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c externcp.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c intern.c intern.c: In function 'shrink_block': intern.c:383: warning: incompatible implicit declaration of built-in function 'memmove' cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c interncp.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c hash.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c sys.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c meta.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c parsing.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c lexing.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c gc_ctrl.c 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 cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -I.. -c prims.c cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -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="cc" OPTS="-fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing " all cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c closure.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c error.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c lalr.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c lr0.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c main.c main.c: In function 'getargs': main.c:200: warning: incompatible implicit declaration of built-in function 'strlen' main.c:203: warning: incompatible implicit declaration of built-in function 'strcpy' main.c: In function 'create_file_names': main.c:242: warning: incompatible implicit declaration of built-in function 'strlen' main.c:258: warning: incompatible implicit declaration of built-in function 'strcpy' cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c mkpar.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c output.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c reader.c reader.c: In function 'get_tag': reader.c:780: warning: incompatible implicit declaration of built-in function 'strcpy' reader.c: In function 'pack_names': reader.c:1422: warning: incompatible implicit declaration of built-in function 'strlen' reader.c:1426: warning: incompatible implicit declaration of built-in function 'strcpy' reader.c: In function 'print_grammar': reader.c:1714: warning: incompatible implicit declaration of built-in function 'strlen' cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c skeleton.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c symtab.c symtab.c: In function 'make_bucket': symtab.c:37: warning: incompatible implicit declaration of built-in function 'strlen' symtab.c:49: warning: incompatible implicit declaration of built-in function 'strcpy' cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c verbose.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -c warshall.c cc -O -DNDEBUG -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -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="/usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " all ../camlrun ../camlcomp -stdlib ../lib -W -O fast config.mli /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " all ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker librar.ml /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " all ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker fmt_type.ml /usr/bin/cpp -P -traditional -Dunix 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 /usr/bin/cpp -P -traditional -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 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/local/lib/caml-light BINDIR=/usr/local/bin CC="cc" OPTS="-fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing " LIBS="" all sed -e 's|LIBDIR|/usr/local/lib/caml-light|' -e 's|CC|cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing |' -e 's|LIBS||' -e 's|BINDIR|/usr/local/bin|' -e s/VERSION/`sed -e 's/#define VERSION //' ../version.h`/ camlc.tpl > camlc sed -e 's|LIBDIR|/usr/local/lib/caml-light|' -e 's|CC|cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing |' -e 's|LIBS||' -e 's|BINDIR|/usr/local/bin|' camllight.tpl > camllight sed -e 's|LIBDIR|/usr/local/lib/caml-light|' -e 's|CC|cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing |' -e 's|LIBS||' -e 's|BINDIR|/usr/local/bin|' camlmktop.tpl > camlmktop cc -fno-defer-pop -D__FAVOR_BSD -O2 -pipe -fno-strict-aliasing -o camlexec camlexec.c camlexec.c: In function 'main': camlexec.c:22: warning: incompatible implicit declaration of built-in function 'strlen' 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.75 #- : int = 3 #fib : int -> int = #- : int = 10946 #Is that 10946 on the line above? Good. The Caml Light system is up and running. sh tools/backup camlrun camlcomp camllink camllibr camllex cp compiler/camlcomp linker/camllink librar/camllibr lex/camllex . cd lib; make CPP="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zi *.zix *.zo rm -f filename.ml genlex.ml ../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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zi *.zo camlcomp rm -f lexer.ml parser.ml parser.mli opcodes.ml config.ml location.ml version.ml lexer.mll ../camlrun ../camlcomp -stdlib ../lib -W -O fast config.mli /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zi *.zo camllink rm -f version.ml prim_c.ml predef.ml (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 /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zi *.zo camllibr rm -f version.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker librar.ml /usr/bin/cpp -P -traditional -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="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zo *.zi camllex rm -f grammar.ml grammar.mli scanner.ml ../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="/usr/bin/cpp -P -traditional -Dunix " clean all rm -f *.zi *.zo camltop expunge provide rm -f version.ml pr_value.ml ../camlrun ../camlcomp -W -O fast -stdlib ../lib -I ../compiler -I ../linker fmt_type.ml /usr/bin/cpp -P -traditional -Dunix 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 /usr/bin/cpp -P -traditional -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 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 The Caml Light system has successfully recompiled itself. ===> Installing for caml-0.75_4 ===> caml-0.75_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Generating temporary packing list ===> Checking if lang/caml-light already installed cd /obj/buildshare/ports/355755/lang/caml-light/work/cl75/src; /usr/bin/env TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make install if test -d /usr/local/bin; then : ; else mkdir -p /usr/local/bin; fi if test -d /usr/local/lib/caml-light; then : ; else mkdir -p /usr/local/lib/caml-light; fi cd runtime; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp camlrun /usr/local/bin strip /usr/local/bin/camlrun cp libcaml.a /usr/local/lib/caml-light if test -f /usr/bin/ranlib -o -f /bin/ranlib; then cd /usr/local/lib/caml-light; ranlib libcaml.a; else true; fi cp mlvalues.h alloc.h misc.h /usr/local/lib/caml-light sed -e '/#include ".*\/m.h/r ../../config/m.h' -e '/#include ".*\/s.h/r ../../config/s.h' -e '/#include "/d' config.h > /usr/local/lib/caml-light/config.h sed -e '/#include ".*gc\.h"/d' -e '/#define Alloc_small/,/^}/d' -e '/Modify/,/^}/d' memory.h > /usr/local/lib/caml-light/memory.h cd launch; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install echo "#!/usr/local/bin/camlrun" > /usr/local/lib/caml-light/header for script in camlc camllight camlmktop; do install -o root -g wheel -m 555 $script /usr/local/bin/$script; chmod a+x /usr/local/bin/$script; done cd lib; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp stdlib.zo *.zi *.zix *.mli *.ml /usr/local/lib/caml-light rm /usr/local/lib/caml-light/iparsing.mli cd compiler; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp camlcomp /usr/local/lib/caml-light/camlcomp cd linker; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp camllink /usr/local/lib/caml-light/camllink cd librar; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cat /usr/local/lib/caml-light/header camllibr > /usr/local/bin/camllibr chmod a+x /usr/local/bin/camllibr cd toplevel; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp camltop /usr/local/lib/caml-light/camltop cp toplevel.mli toplevel.zi /usr/local/lib/caml-light cp provide /usr/local/lib/caml-light/provide cp expunge /usr/local/lib/caml-light/expunge cp toplib.zo /usr/local/lib/caml-light/toplib.zo cp topmain.zo /usr/local/lib/caml-light/topmain.zo cd lex; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cat /usr/local/lib/caml-light/header camllex > /usr/local/bin/camllex chmod a+x /usr/local/bin/camllex cd yacc; make BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light install cp camlyacc /usr/local/bin/camlyacc strip /usr/local/bin/camlyacc cd man; make MANDIR=/usr/local/man/man1 MANEXT=1 install mkdir -p /usr/local/man/man1 for f in camlc.m camllex.m camllibr.m camllight.m camlmktop.m camlrun.m camlyacc.m; do install -o root -g wheel -m 444 $f /usr/local/man/man1/`basename $f .m`.1; done cp camlmsgs.txt /usr/local/lib/caml-light cd /obj/buildshare/ports/355755/lang/caml-light/work/cl75/contrib; /usr/bin/env TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make all install + cd /packages + make CC=cc 'OPTS=-O2 -pipe -fno-strict-aliasing ' 'CPP=/usr/bin/cpp -P' 'RANLIBTEST=test -f /usr/bin/ranlib -o -f /bin/ranlib' RANLIB=ranlib BINDIR=/usr/local/bin LIBDIR=/usr/local/lib/caml-light MANDIR=/usr/local/man/man1 MANEXT=1 X11_INCLUDES=/usr/local/include X11_LIB=/usr/local/lib BIGNUM_ARCH=C TEXINPUTDIR=/usr/local/lib/texmf/tex/latex/etc EMACSLISPDIR=/usr/local/share/emacs/site-lisp TCLINCLDIR=/usr/local/lib/tcl8.4/include TKINCLDIR=/usr/local/lib/tk8.4/include TKLIBDIR=/usr/local/lib/tk8.4/lib TCLLIBDIR=/usr/local/lib/tcl8.4/lib 'TKLIBS=-ltk8.4 -ltcl8.4 -lX11 -lm' all make[2]: don't know how to make all. Stop make[2]: stopped in /packages *** Error code 2 Stop. make[1]: stopped in /obj/buildshare/ports/355755/lang/caml-light/work/cl75/contrib *** Error code 1 Stop. make: stopped in /buildshare/ports/355755/lang/caml-light