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">&lt;<a href=3D"mailto:info@gerd-stol=
pmann.de" target=3D"_blank">[email protected]</a>&gt;</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&#39;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">&gt; Has anyone else hit this compile error. It happ=
ens on the latest Mac<br>
&gt; OS X 10.10. I tested with OCaml 4.02.0 and 4.02.1. I&#39;m compiling v=
ia<br>
&gt; opam, which provides ocamlnet 3.7.6.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; # ocamlfind ocamlc -g=C2=A0 -I ../../src/netstring -package &quot;unix=
&quot;=C2=A0 -w<br>
&gt; -3-25 -c=C2=A0 <a href=3D"http://main.ml" target=3D"_blank">main.ml</a=
><br>
&gt; # rm -f ocamlrpcgen ocamlrpcgen<br>
&gt; # OCAMLPATH=3D&quot;..:$OCAMLPATH&quot; \<br>
&gt; # ocamlfind ocamlc -g=C2=A0 -I ../../src/netstring -package &quot;unix=
&quot;=C2=A0 -w<br>
&gt; -3-25 -custom -o ocamlrpcgen \<br>
&gt; # -package unix,netstring,str \<br>
&gt; # rpc_generator.cma main.cmo -linkpkg<br>
&gt; # rm <a href=3D"http://lexer.ml" target=3D"_blank">lexer.ml</a><br>
&gt; ### stderr ###<br>
&gt; # ...[truncated]<br>
&gt; # Undefined symbols for architecture x86_64:<br>
&gt; #=C2=A0 =C2=A0&quot;_mkfifoat&quot;, referenced from:<br>
&gt; #=C2=A0 =C2=A0 =C2=A0 =C2=A0_netsys_mkfifoat in libnetsys.a(netsys_c.o=
)<br>
&gt; #=C2=A0 =C2=A0 =C2=A0 (maybe you meant: _netsys_mkfifoat)<br>
&gt; # ld: symbol(s) not found for architecture x86_64<br>
&gt; # clang: error: linker command failed with exit code 1 (use -v to see<=
br>
&gt; invocation)<br>
&gt; # File &quot;_none_&quot;, line 1:<br>
&gt; # Error: Error while building custom runtime system<br>
&gt; # make[1]: *** [ocamlrpcgen] Error 2<br>
&gt; # make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ----------------------------------------------------------=
--------------------<br>
&gt; Comprehensive Server Monitoring with Site24x7.<br>
&gt; Monitor 10 servers for $9/Month.<br>
&gt; Get alerted through email, SMS, voice calls or mobile push notificatio=
ns.<br>
&gt; Take corrective actions from your mobile device.<br>
&gt; <a href=3D"http://p.sf.net/sfu/Zoho" target=3D"_blank">http://p.sf.net=
/sfu/Zoho</a><br>
&gt; _______________________________________________<br>
&gt; Ocamlnet-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Ocamlnet-devel=
@lists.sourceforge.net</a><br>
&gt; <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==--