From: Ashish A. <aga...@gm...> - 2013-10-10 14:46:43
|
Thanks. I'll apply the patch. Unfortunately, upgrading the kernel is not in my hands. It's a cluster used by hundreds of people. The sys admin's policy is to never upgrade software. On Thu, Oct 10, 2013 at 10:34 AM, Gerd Stolpmann <in...@ge...>wrote: > Am Donnerstag, den 10.10.2013, 10:09 -0400 schrieb Ashish Agarwal: > > With opam, on RHEL, I'm getting the error below. I've installed > > ocamlnet on the same computer many times before, and don't think I > > changed anything. Any ideas? > > It's a bug. Fix: > > > https://godirepo.camlcity.org/wwwsvn/trunk/code/src/netsys/netsys_c.c?r1=1886&r2=1918&p1=trunk/code/src/netsys/netsys_c.c&p2=trunk/code/src/netsys/netsys_c.c&root=lib-ocamlnet2 > > But honestly, you are using an ancient kernel (without CLOEXEC flag, > i.e. older than 2.6.23). Consider upgrading the system. > > Gerd > > > > > ===== ERROR while installing ocamlnet.3.7.3 ===== > > # opam-version 1.1.0-beta (c381a2daa6751e5b649d96a6e2b4226c8ebe4366) > > # os linux > > # command make all > > # path /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3 > > # compiler 4.01.0 > > # exit-code 2 > > # env-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.env > > # stdout-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.out > > # stderr-file > > /home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.err > > ### stdout ### > > # ...[truncated] > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_xdr.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_xdr.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_tmp.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_tmp.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_sem.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_sem.ml > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_pmanage.mli > > # ocamlfind ocamlc -g -package "unix unix" -c netsys_pmanage.ml > > # ../../tools/stubcc -ocamlc ocamlc -ccopt -O netsys_c.c > > # make[1]: Leaving directory > > `/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/src/netsys' > > ### stderr ### > > # + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC > > -c -O -I'/home/aa144/.opam/4.01.0/lib/ocaml' 'netsys_c.c' > > # netsys_c.c: In function 'netsys_openat': > > # netsys_c.c:482: error: 'fd' undeclared (first use in this function) > > # netsys_c.c:482: error: (Each undeclared identifier is reported only > > once > > # netsys_c.c:482: error: for each function it appears in.) > > # make[1]: *** [netsys_c.o] Error 2 > > # make: *** [all] Error 2 > > > > > > > ------------------------------------------------------------------------------ > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > > _______________________________________________ Ocamlnet-devel mailing > list Oca...@li... > https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel > > -- > ------------------------------------------------------------ > Gerd Stolpmann, Darmstadt, Germany ge...@ge... > Creator of GODI and camlcity.org. > Contact details: http://www.camlcity.org/contact.html > Company homepage: http://www.gerd-stolpmann.de > ------------------------------------------------------------ > |