Re: compile error on Mac OS X 10.10 (Yosemite)

Gerd Stolpmann <[email protected]> Thu, 23 Oct 2014 12:41:53 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <1414060913.24223.2.camel@thinkpad>
--===============2884894716909927523==
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-KAPHoyglwqOJaHgBt8JL"


--=-KAPHoyglwqOJaHgBt8JL
Content-Type: text/plain; charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable

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.
>=20
>=20
>=20
>=20
> # ocamlfind ocamlc -g  -I ../../src/netstring -package "unix"  -w
> -3-25 -c  main.ml
> # rm -f ocamlrpcgen ocamlrpcgen
> # OCAMLPATH=3D"..:$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
>=20
>=20
> -------------------------------------------------------------------------=
-----
> 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

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


--=-KAPHoyglwqOJaHgBt8JL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJUSNtxAAoJEAaM4b9ZLB5TuwcH/jQ5as+rB+XyXjhIRClxAVep
VPRKkdFUfJCeg/jBKjUlzPkOHgZK8sn71kxuPwHljGRWw3wpEFXGGb3xtbBFXAIP
HyFYnxviq3WBWVHNGFezwhi9BOFXe4l3DU3zD3lqaGfVUI58yYA8f7yEvQsRFJUY
1RKiFOThn79cUKKPsdKPvdoTTZo+PiOVrEuACDuKOQZ90IVyAUGBwSrQfCWtTQ0K
xtTMQCuw1m9LrIHwd6UP9S+LpvWTzRSFom0EyKjo2uPOXc5uUvwe7Wd6HzOG7vFD
8uROXl+nJcwiiBIWve/GZghDJTolfRJew8wo2w+quvu5u2SVlmLej4uMhtEoIN8=
=wIsj
-----END PGP SIGNATURE-----

--=-KAPHoyglwqOJaHgBt8JL--



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

------------------------------------------------------------------------------

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

--===============2884894716909927523==--