compile error on Mac OS X 10.10 (Yosemite)

Ashish Agarwal <[email protected]> Tue, 21 Oct 2014 07:54:02 -0400
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CAMu2m2LYn=Gxr_5gSgtrZOfAoQt=jjH1OWLnF8swjOj8S=VUOg@mail.gmail.com>
--===============7543348260640403211==
Content-Type: multipart/alternative; boundary=001a11c13f44fabc470505ed7d2f

--001a11c13f44fabc470505ed7d2f
Content-Type: text/plain; charset=UTF-8

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

--001a11c13f44fabc470505ed7d2f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>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&#39;m =
compiling via opam, which provides ocamlnet 3.7.6.</div><div><br></div><div=
><br></div><div># ocamlfind ocamlc -g =C2=A0-I ../../src/netstring -package=
 &quot;unix&quot; =C2=A0-w -3-25 -c =C2=A0<a href=3D"http://main.ml">main.m=
l</a></div><div># rm -f ocamlrpcgen ocamlrpcgen</div><div># OCAMLPATH=3D&qu=
ot;..:$OCAMLPATH&quot; \</div><div># <span class=3D"" style=3D"white-space:=
pre">	</span>ocamlfind ocamlc -g =C2=A0-I ../../src/netstring -package &quo=
t;unix&quot; =C2=A0-w -3-25 -custom -o ocamlrpcgen \</div><div># <span clas=
s=3D"" style=3D"white-space:pre">		</span>-package unix,netstring,str \</di=
v><div># <span class=3D"" style=3D"white-space:pre">		</span>rpc_generator.=
cma main.cmo -linkpkg</div><div># rm <a href=3D"http://lexer.ml">lexer.ml</=
a></div><div>### stderr ###</div><div># ...[truncated]</div><div># Undefine=
d symbols for architecture x86_64:</div><div># =C2=A0 &quot;_mkfifoat&quot;=
, referenced from:</div><div># =C2=A0 =C2=A0 =C2=A0 _netsys_mkfifoat in lib=
netsys.a(netsys_c.o)</div><div># =C2=A0 =C2=A0 =C2=A0(maybe you meant: _net=
sys_mkfifoat)</div><div># ld: symbol(s) not found for architecture x86_64</=
div><div># clang: error: linker command failed with exit code 1 (use -v to =
see invocation)</div><div># File &quot;_none_&quot;, line 1:</div><div># Er=
ror: Error while building custom runtime system</div><div># make[1]: *** [o=
camlrpcgen] Error 2</div><div># make: *** [all] Error 2</div><div><br></div=
></div>

--001a11c13f44fabc470505ed7d2f--


--===============7543348260640403211==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--===============7543348260640403211==
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

--===============7543348260640403211==--