bin-prot compile error related to libc version
Yaron Minsky
yminsky at gmail.com
Thu Nov 10 02:12:52 GMT 2011
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/core/attachments/20111109/ecb5625c/attachment-0001.html>
More information about the core
mailing list