Skip to content

Syntax error in autogenerated db_actions.ml #23

@superbobry

Description

@superbobry

Hello, I'm trying to build the latest xen-api on CentOS5; here's what I got so far:

File "db_actions.ml", line 1293, characters 17-20:
Error: Syntax error
*** omake: 421/2819 targets are up to date                                                                           
*** omake: failed (1.54 sec, 8/56 scans, 7/142 rules, 18/1074 digests)
*** omake: targets were not rebuilt because of errors:                                                               
   <scanner ocaml/autogen/scan-ocaml-db_actions.ml>
make: *** [all] Error 2

Obviously, it's ocaml/idl/ocaml_backend/gen_db_actions.ml:223 which is causing trouble:

221    let open_db_module =
222        "let __t = Context.database_of __context in\n" ^
223            "let module DB = (val (Db_cache.get __t) : Db_interface.DB_ACCESS) in\n"

I'm pretty new to OCaml and can't figure out what's wrong by myself, any hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions