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