installation error
Ashish Agarwal <[email protected]> Thu, 10 Oct 2013 10:09:05 -0400
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <CAMu2m2KvieTLaK2GnpSrKwew4DggaDd5_yH6WEEw3qLQE3RP=Q@mail.gmail.com> |
--===============4412428928970067140== Content-Type: multipart/alternative; boundary=089e010d9e729ec9c804e8638c45 --089e010d9e729ec9c804e8638c45 Content-Type: text/plain; charset=ISO-8859-1 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? ===== 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 --089e010d9e729ec9c804e8638c45 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">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?<div><br></div><div><div>=3D=3D=3D=3D= =3D ERROR while installing ocamlnet.3.7.3 =3D=3D=3D=3D=3D</div> <div># opam-version 1.1.0-beta (c381a2daa6751e5b649d96a6e2b4226c8ebe4366)</= div><div># os =A0 =A0 =A0 =A0 =A0 linux</div><div># command =A0 =A0 =A0make= all</div><div># path =A0 =A0 =A0 =A0 /home/aa144/.opam/4.01.0/build/ocamln= et.3.7.3</div><div> # compiler =A0 =A0 4.01.0</div> <div># exit-code =A0 =A02</div><div># env-file =A0 =A0 /home/aa144/.opam/4.= 01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.env</div><div># stdout-file= =A0/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlnet-22544-ffb3fd.out= </div> <div># stderr-file =A0/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/ocamlne= t-22544-ffb3fd.err</div><div>### stdout ###</div><div># ...[truncated]</div= ><div># ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys= _xdr.mli</div> <div># ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_xdr.ml">netsys_xdr.ml</a></div><div># ocamlfind ocamlc= -g =A0 -package "unix unix" -c =A0netsys_tmp.mli</div><div># oca= mlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a href=3D"htt= p://netsys_tmp.ml">netsys_tmp.ml</a></div> <div># ocamlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_= sem.mli</div><div># ocamlfind ocamlc -g =A0 -package "unix unix" = =A0-c =A0<a href=3D"http://netsys_sem.ml">netsys_sem.ml</a></div><div># oca= mlfind ocamlc -g =A0 -package "unix unix" -c =A0netsys_pmanage.ml= i</div> <div># ocamlfind ocamlc -g =A0 -package "unix unix" =A0-c =A0<a h= ref=3D"http://netsys_pmanage.ml">netsys_pmanage.ml</a></div><div># ../../to= ols/stubcc -ocamlc ocamlc -ccopt -O =A0 netsys_c.c</div><div># make[1]: Lea= ving directory `/home/aa144/.opam/4.01.0/build/ocamlnet.3.7.3/src/netsys= 9;</div> <div>### stderr ###</div><div># + gcc -fno-defer-pop -Wall -D_FILE_OFFSET_B= ITS=3D64 -D_REENTRANT -fPIC -c =A0-O =A0-I'/home/aa144/.opam/4.01.0/lib= /ocaml' 'netsys_c.c'</div><div># netsys_c.c: In function 'n= etsys_openat':</div> <div># netsys_c.c:482: error: 'fd' undeclared (first use in this fu= nction)</div><div># netsys_c.c:482: error: (Each undeclared identifier is r= eported only once</div><div># netsys_c.c:482: error: for each function it a= ppears in.)</div> <div># make[1]: *** [netsys_c.o] Error 2</div><div># make: *** [all] Error = 2</div></div><div><br></div></div> --089e010d9e729ec9c804e8638c45-- --===============4412428928970067140== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============4412428928970067140== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ocamlnet-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel --===============4412428928970067140==--