From: Oliver B. <ol...@fi...> - 2017-07-16 16:07:32
|
Fix: --- src/ocamlnet-4.1.2/src/netsys/netsys_posix.ml 2017-07-16 17:56:18.361397096 +0200 +++ netsys_posix.ml 2017-07-16 17:33:02.207173822 +0200 @@ -719,7 +719,7 @@ type open_flag1 = Unix.open_flag = O_RDONLY | O_WRONLY | O_RDWR | O_NONBLOCK | O_APPEND | O_CREAT | O_TRUNC | O_EXCL | O_NOCTTY | O_DSYNC | O_SYNC | O_RSYNC | O_SHARE_DELETE - | O_CLOEXEC + | O_CLOEXEC | O_KEEPEXEC #else #ifdef HAVE_O_SHARE_DELETE type open_flag1 = Unix.open_flag = Zitat von Oliver Bandel <ol...@fi...> (Sun, 16 Jul 2017 17:04:47 +0200) > 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 > _______________________________________________ > Ocamlnet-devel mailing list > Oca...@li... > https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel |