Re: compile error on Mac OS X 10.10 (Yosemite)
Ashish Agarwal <[email protected]> Thu, 23 Oct 2014 13:03:56 -0400
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <CAMu2m2L=VtroMG0vNJ_RgzfPd0mABVR69-UAdPPVeKHhtfyw5Q@mail.gmail.com> |
--===============8845169931957631646== Content-Type: multipart/alternative; boundary=001a11c3e708f2215605061a0df8 --001a11c3e708f2215605061a0df8 Content-Type: text/plain; charset=UTF-8 I confirm that the trunk version compiles. On Thu, Oct 23, 2014 at 6:41 AM, Gerd Stolpmann <[email protected]> wrote: > Yes, it is already fixed in svn: > > svn diff -r 2088:2089 > https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk > > 10.10 does not define mkfifoat, but the other *at functions, confusing > previous releases of ocamlnet. I haven't released the patch yet because > I did not get feedback whether the build really works now. So, if > somebody could just checkout and try it on 10.10, this would be highly > appreciated. > > Gerd > > Am Dienstag, den 21.10.2014, 07:54 -0400 schrieb Ashish Agarwal: > > Has anyone else hit this compile error. It happens on the latest Mac > > OS X 10.10. I tested with OCaml 4.02.0 and 4.02.1. I'm compiling via > > opam, which provides ocamlnet 3.7.6. > > > > > > > > > > # ocamlfind ocamlc -g -I ../../src/netstring -package "unix" -w > > -3-25 -c main.ml > > # rm -f ocamlrpcgen ocamlrpcgen > > # OCAMLPATH="..:$OCAMLPATH" \ > > # ocamlfind ocamlc -g -I ../../src/netstring -package "unix" -w > > -3-25 -custom -o ocamlrpcgen \ > > # -package unix,netstring,str \ > > # rpc_generator.cma main.cmo -linkpkg > > # rm lexer.ml > > ### stderr ### > > # ...[truncated] > > # Undefined symbols for architecture x86_64: > > # "_mkfifoat", referenced from: > > # _netsys_mkfifoat in libnetsys.a(netsys_c.o) > > # (maybe you meant: _netsys_mkfifoat) > > # ld: symbol(s) not found for architecture x86_64 > > # clang: error: linker command failed with exit code 1 (use -v to see > > invocation) > > # File "_none_", line 1: > > # Error: Error while building custom runtime system > > # make[1]: *** [ocamlrpcgen] Error 2 > > # make: *** [all] Error 2 > > > > > > > ------------------------------------------------------------------------------ > > Comprehensive Server Monitoring with Site24x7. > > Monitor 10 servers for $9/Month. > > Get alerted through email, SMS, voice calls or mobile push notifications. > > Take corrective actions from your mobile device. > > http://p.sf.net/sfu/Zoho > > _______________________________________________ > > Ocamlnet-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel > > -- > ------------------------------------------------------------ > Gerd Stolpmann, Darmstadt, Germany [email protected] > My OCaml site: http://www.camlcity.org > Contact details: http://www.camlcity.org/contact.html > Company homepage: http://www.gerd-stolpmann.de > ------------------------------------------------------------ > > --001a11c3e708f2215605061a0df8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I confirm that the trunk version compiles.</div><div class= =3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Oct 23, 2014 at 6:4= 1 AM, Gerd Stolpmann <span dir=3D"ltr"><<a href=3D"mailto:info@gerd-stol= pmann.de" target=3D"_blank">[email protected]</a>></span> wrote:<br= ><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1= px #ccc solid;padding-left:1ex">Yes, it is already fixed in svn:<br> <br> svn diff -r 2088:2089<br> <a href=3D"https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk" target=3D= "_blank">https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk</a><br> <br> 10.10 does not define mkfifoat, but the other *at functions, confusing<br> previous releases of ocamlnet. I haven't released the patch yet because= <br> I did not get feedback whether the build really works now. So, if<br> somebody could just checkout and try it on 10.10, this would be highly<br> appreciated.<br> <br> Gerd<br> <br> Am Dienstag, den 21.10.2014, 07:54 -0400 schrieb Ashish Agarwal:<br> <div><div class=3D"h5">> Has anyone else hit this compile error. It happ= ens on the latest Mac<br> > OS X 10.10. I tested with OCaml 4.02.0 and 4.02.1. I'm compiling v= ia<br> > opam, which provides ocamlnet 3.7.6.<br> ><br> ><br> ><br> ><br> > # ocamlfind ocamlc -g=C2=A0 -I ../../src/netstring -package "unix= "=C2=A0 -w<br> > -3-25 -c=C2=A0 <a href=3D"http://main.ml" target=3D"_blank">main.ml</a= ><br> > # rm -f ocamlrpcgen ocamlrpcgen<br> > # OCAMLPATH=3D"..:$OCAMLPATH" \<br> > # ocamlfind ocamlc -g=C2=A0 -I ../../src/netstring -package "unix= "=C2=A0 -w<br> > -3-25 -custom -o ocamlrpcgen \<br> > # -package unix,netstring,str \<br> > # rpc_generator.cma main.cmo -linkpkg<br> > # rm <a href=3D"http://lexer.ml" target=3D"_blank">lexer.ml</a><br> > ### stderr ###<br> > # ...[truncated]<br> > # Undefined symbols for architecture x86_64:<br> > #=C2=A0 =C2=A0"_mkfifoat", referenced from:<br> > #=C2=A0 =C2=A0 =C2=A0 =C2=A0_netsys_mkfifoat in libnetsys.a(netsys_c.o= )<br> > #=C2=A0 =C2=A0 =C2=A0 (maybe you meant: _netsys_mkfifoat)<br> > # ld: symbol(s) not found for architecture x86_64<br> > # clang: error: linker command failed with exit code 1 (use -v to see<= br> > invocation)<br> > # File "_none_", line 1:<br> > # Error: Error while building custom runtime system<br> > # make[1]: *** [ocamlrpcgen] Error 2<br> > # make: *** [all] Error 2<br> ><br> ><br> </div></div>> ----------------------------------------------------------= --------------------<br> > Comprehensive Server Monitoring with Site24x7.<br> > Monitor 10 servers for $9/Month.<br> > Get alerted through email, SMS, voice calls or mobile push notificatio= ns.<br> > Take corrective actions from your mobile device.<br> > <a href=3D"http://p.sf.net/sfu/Zoho" target=3D"_blank">http://p.sf.net= /sfu/Zoho</a><br> > _______________________________________________<br> > Ocamlnet-devel mailing list<br> > <a href=3D"mailto:[email protected]">Ocamlnet-devel= @lists.sourceforge.net</a><br> > <a href=3D"https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel= " target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/ocamlnet-d= evel</a><br> <span class=3D"HOEnZb"><font color=3D"#888888"><br> --<br> ------------------------------------------------------------<br> Gerd Stolpmann, Darmstadt, Germany=C2=A0 =C2=A0 <a href=3D"mailto:gerd@gerd= -stolpmann.de">[email protected]</a><br> My OCaml site:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://www.caml= city.org" target=3D"_blank">http://www.camlcity.org</a><br> Contact details:=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://www.camlcity.= org/contact.html" target=3D"_blank">http://www.camlcity.org/contact.html</a= ><br> Company homepage:=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://www.gerd-stol= pmann.de" target=3D"_blank">http://www.gerd-stolpmann.de</a><br> ------------------------------------------------------------<br> <br> </font></span></blockquote></div><br></div> --001a11c3e708f2215605061a0df8-- --===============8845169931957631646== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============8845169931957631646== 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 --===============8845169931957631646==--