bin-prot compile error related to libc version

Ashish Agarwal agarwal1975 at gmail.com
Thu Nov 10 20:29:59 GMT 2011


Thanks for the quick updates! I successfully compiled on all of our
clusters.

On Thu, Nov 10, 2011 at 2:46 PM, Yaron Minsky <yminsky at janestreet.com>wrote:

> Thanks Markus.  I was tricked by the fact that your website doesn't
> point to the ocamlforge site.
>
> We need to do a better job of integrating.  I'm hoping we'll have our
> internal processes cleaned up soon, and that will make it easier to
> sync-up.
>
> y
>
> On 10/11/11 14:36, Markus Mottl wrote:
> > 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
>
> --
> Yaron Minsky
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/core/attachments/20111110/ffd4ef09/attachment-0001.html>


More information about the core mailing list