On 13 May 2015 at 13:51, Thomas Braibant <[email protected]> wrote:
> 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
>
[...]
> /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"

That's odd.  Could you post the output of the following program?

#include <stdio.h>
#include <limits.h>
#include <stdint.h>
#include <inttypes.h>

int main(void)
{
  printf("ULLONG_MAX: %llu\nUINT64_MAX: %" PRIu64"\n",
         ULLONG_MAX, UINT64_MAX);
  return 0;
}
_______________________________________________
Ctypes mailing list
[email protected]
http://lists.ocaml.org/listinfo/ctypes

Reply via email to