Compilation error with OCaml 4.05

Oliver Bandel <[email protected]> Sun, 16 Jul 2017 17:04:47 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <20170716170447.Horde.pG5aJ5jcP3yoNmPw25iEaqn@webmail.in-berlin.de>
This is, what I get:

  (I'm using ocamlnet-4.1.2.tar.gz)

======================================================================
File "netsys_mem.ml", line 17, characters 0-143:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
File "netsys_mem.ml", line 21, characters 0-143:
Warning 3: deprecated: [@@noalloc] should be used instead of "noalloc"
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_signal.mli
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_signal.ml
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto_types.mli
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto_types.ml
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto.mli
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto.ml
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto_modes.mli
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_crypto_modes.ml
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_posix.mli
ocamlfind ocamlc -g  -safe-string  -package "bytes unix" -pp  
"../../tools/cppo-0.9.4/cppo -include ../../config.cppo -D  
HAVE_O_SHARE_DELETE -D HAVE_O_CLOEXEC -D HAVE_BYTES " -w -25 -c   
netsys_posix.ml
File "netsys_posix.ml", line 719, characters 0-193:
Error: This variant or record definition does not match that of type
          Unix.open_flag
        The field O_KEEPEXEC is only present in the original definition.
make[1]: *** [../../Makefile.rules:113: netsys_posix.cmo] Error 2
make[1]: Leaving directory  
'/home/oliver/AUR4/ocamlnet/src/ocamlnet-4.1.2/src/netsys'
make: *** [Makefile:23: all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...
======================================================================


Ciao,
    Oliver


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot