bin-prot compile error related to libc version
Yaron Minsky
yminsky at janestreet.com
Thu Nov 10 15:48:07 GMT 2011
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
More information about the core
mailing list