Hello, I'm trying to build coccinelle with new ocaml version and have a problem that some things that worked with old version now fail, for example (with coccinelle from experimental):
/usr/share/doc/coccinelle-doc/examples/hello% spatch --sp-file
hello-ocaml.cocci helloworld.c
init_defs_builtins: /usr/lib/coccinelle/standard.h
Using native version of ocamlc/ocamlopt/ocamldep
ocamlopt.opt -shared -o /tmp/ocaml_cocci_0764fc.cmxs -g -I /usr/lib/ocaml -I
/usr/lib/coccinelle/ocaml /tmp/ocaml_cocci_0764fc.ml
File "/tmp/ocaml_cocci_0764fc.ml", line 15, characters 6-36:
Error: Unbound value Iteration.add_pending_instance
Fatal error: exception
Yes_prepare_ocamlcocci.CompileFailure("/tmp/ocaml_cocci_0764fc.ml")
My understanding that /usr/lib/coccinelle/ocaml/exposed_modules.cmi used
to contain definition for Iteration, but with new ocaml it is gone.
Maybe somebody here has any idea how to get it work correctly?
Regards,
Eugeniy Meshcheryakov
signature.asc
Description: PGP signature

