wtetzner / bitstring

Automatically exported from code.google.com/p/bitstring
GNU General Public License v2.0
0 stars 0 forks source link

camlp4 error #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.  I am trying to make bitstring from source.  This is a debian 7 system 
with ocaml 4.01.0.  The error doesnt make sense to me since I am certain I have 
the most up-to-date ocaml.

Any help much appreciated.  

ocamlfind ocamlc -g  \
          -I +camlp4 -pp camlp4of -c bitstring_persistent.mli
File "bitstring_persistent.mli", line 1:
Error: /usr/lib/ocaml/camlp4/Camlp4.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make: *** [bitstring_persistent.cmi] Error 2

Original issue reported on code.google.com by trl...@gmail.com on 7 Mar 2014 at 5:48

GoogleCodeExporter commented 8 years ago
You need to recompile your program with the same ocaml compiler for all parts.

Original comment by richard....@gmail.com on 8 Mar 2014 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by richard....@gmail.com on 8 Mar 2014 at 7:19