ocaml-core - Google Groups: Message Pending [{IOyIp92l7aziaioCd2UwAf9YhCToNZdN0}]

Yaron Minsky yminsky at gmail.com
Fri Nov 11 00:11:04 GMT 2011


On Nov 10, 2011 2:36 PM, "ocaml-core" <ocaml-core+msgappr at googlegroups.com>
wrote:

>   A message has been sent to the ocaml-core<http://groups.google.com/group/ocaml-core?hl=en_US>group and is awaiting approval. We've included this message for your review.
>
> The message requires moderation because the user does not have permission
> to post.
>
> You can approve or reject<http://groups.google.com/group/ocaml-core/pendmsg?hl=en_US>this message or you can approve this message by replying to this email.
>  [image: Visit Google Groups]
>
> Start <https://groups.google.com/groups/create?hl=en_US&src=email> your
> own group, visit <http://groups.google.com/support/?hl=en_US&src=email>the help center, or
> report <https://groups.google.com/groups/abuse?hl=en_US&src=email> abuse.
>
>
> ---------- Forwarded message ----------
> From: Markus Mottl <markus.mottl at gmail.com>
> To: Yaron Minsky <yminsky at janestreet.com>
> Date: Thu, 10 Nov 2011 14:36:22 -0500
> Subject: Re: bin-prot compile error related to libc version
> Hi,
>
> the "official" packages are now on OCaml Forge.  This was the agreed
> upon repository where Till and I created the final release.  The idea
> was to eventually drop our separate download sites and use OCaml Forge
> only.  Godi uses the OCaml Forge packages.
>
> Concerning the error above: indeed, glibc 2.5 does not support these
> functions yet, they were apparently introduced with glibc 2.9 in 2009
> only.
>
> I have updated bin-prot by defining the required macros if they are
> undefined.  The new distribution is online, both at OCaml Forge and in
> Godi.  Please let me know if there are still any build errors or if
> the test suite fails.  I cannot easily test old platforms myself.
>
> Regards,
> Markus
>
> On Thu, Nov 10, 2011 at 10:48, Yaron Minsky <yminsky at janestreet.com>
> wrote:
> > Looping Markus in.
> >
> > Have you tried to setup the released tarballs from the website?  I
> > wonder if they have this problem too.
> >
> > Anyone know offhand who put together the Godi packages?  I agree that
> > those version numbers confuse me.  I know there was some
> > cross-platform compatibility work that was done for Debian that was
> > working its way upstream, but I'm not sure of the state of play.
> >
> > Markus, do you know what's going on here?
> >
> > y
> >
> > On 10/11/11 08:53, Ashish Agarwal wrote:
> >> Platforms: CentOS 5.5, RHEL 5.1, and RHEL 5.3
> >> bin-prot version 2.0.6
> >> typ-conv version: 3.0.4
> >>
> >> However, version numbers on both jane street and Markus's websites are
> >> lower than this, so I'm unclear where the godi versions are coming from.
> >>
> >> $ godi_list | grep prot
> >> godi-bin-prot                  inst:-          src:2.0.6godi1
> >>
> >> $ godi_list | grep conv
> >> godi-type-conv                 inst:-          src:3.0.4godi1
> >>
> >>
> >> On Wed, Nov 9, 2011 at 9:12 PM, Yaron Minsky <yminsky at gmail.com> wrote:
> >>
> >> > Just to be clear, what platform are you running on, and what version
> of
> >> > bin-prot and type-conv are you using?
> >> >
> >> >
> >> > On Wed, Nov 9, 2011 at 12:11 PM, Ashish Agarwal <
> agarwal1975 at gmail.com>wrote:
> >> >
> >> >> When compiling bin-prot via godi, I get the error below. We have libc
> >> >> version 2.5, which seems not to support the missing functions. Is
> this
> >> >> dependency removed in any branch? (Also, let me know if there is a
> better
> >> >> mailing list to use for bin-prot.)
> >> >>
> >> >> I: Running command '/home/aa144/local/godi/bin/ocamlbuild
> >> >> syntax/pa_bin_prot.cma lib/libbin_prot.a lib/dllbin_prot.so
> >> >> lib/bin_prot.cma lib/bin_prot.cmxa lib/bin_prot.a
> lib_test/example.byte
> >> >> -tag debug'
> >> >> Finished, 1 target (0 cached) in 00:00:00.
> >> >> + ocamlfind ocamlc -ccopt -pipe -ccopt -g -ccopt -fPIC -ccopt -O2
> -ccopt
> >> >> -fomit-frame-pointer -ccopt -fsigned-char -ccopt -Wall -ccopt
> -pedantic
> >> >> -ccopt -Wextra -ccopt -Wunused -ccopt -Werror -ccopt -Wno-long-long
> -c
> >> >> lib/write_stubs.c
> >> >> cc1: warnings being treated as errors
> >> >> lib/write_stubs.c: In function 'do_write_int16':
> >> >> lib/write_stubs.c:76: warning: implicit declaration of function
> 'htole16'
> >> >> lib/write_stubs.c: In function 'do_write_int32':
> >> >> lib/write_stubs.c:90: warning: implicit declaration of function
> 'htole32'
> >> >> lib/write_stubs.c: In function 'do_write_int64':
> >> >> lib/write_stubs.c:105: warning: implicit declaration of function
> 'htole64'
> >> >> lib/write_stubs.c: In function 'write_network16_int_stub':
> >> >> lib/write_stubs.c:557: warning: implicit declaration of function
> 'htobe16'
> >> >> lib/write_stubs.c: In function 'write_network32_int_stub':
> >> >> lib/write_stubs.c:567: warning: implicit declaration of function
> 'htobe32'
> >> >> lib/write_stubs.c: In function 'write_network64_int_stub':
> >> >> lib/write_stubs.c:588: warning: implicit declaration of function
> 'htobe64'
> >> >> Command exited with code 2.
> >> >> Compilation unsuccessful after building 8 targets (0 cached) in
> 00:00:01.
> >> >> E: Command '/home/aa144/local/godi/bin/ocamlbuild
> syntax/pa_bin_prot.cma
> >> >> lib/libbin_prot.a lib/dllbin_prot.so lib/bin_prot.cma
> lib/bin_prot.cmxa
> >> >> lib/bin_prot.a lib_test/example.byte -tag debug' terminated with
> error code
> >> >> 10
> >> >> make[7]: *** [all] Error 1
> >> >>
> >> >>
> >> >
> >
> > --
> > Yaron Minsky
> >
>
>
>
> --
> Markus Mottl        http://www.ocaml.info        markus.mottl at gmail.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/core/attachments/20111110/d01c926a/attachment-0001.html>


More information about the core mailing list