[ocaml-ctypes] Build error when compiling Ctypes on centos 5

Thomas Braibant thomas.braibant at gmail.com
Wed May 13 13:51:40 BST 2015


For some obscure reason, I need to compile Ctypes on centos 5.x in a hurry.
Unfortunately, I get the following error message in the compilation process

### stderr ###
# make: Circular _build/src/ctypes/ctypes_primitive_types.cmx <-
_build/src/ctypes/ctypes_primitive_types.cmx dependency dropped.
# make: Circular _build/src/ctypes/ctypes_memory_stubs.cmx <-
_build/src/ctypes/ctypes_memory_stubs.cmx dependency dropped.
# In file included from
/home/vagrant/ocamlbrew/ocaml-4.02.1/.opam/4.02.1+PIC/build/ctypes.0.4.0/src/ctypes/posix_types_stubs.c:8:
#
/home/vagrant/ocamlbrew/ocaml-4.02.1/.opam/4.02.1+PIC/build/ctypes.0.4.0/src/ctypes/ctypes_primitives.h:99:3:
error: #error "No suitable OCaml type available for representing long longs"
# make: *** [_build/src/ctypes/posix_types_stubs.o] Error 2

I would be very grateful if someone had an idea of a workaround.

Best,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/ctypes/attachments/20150513/dc068653/attachment.html>


More information about the Ctypes mailing list