Which version of ocaml/camlp4 are you using ?
Which version of odn are you trying to build ?

On Mon, May 30, 2011 at 1:04 PM, Daniel Bünzli <daniel.buenzli@erratique.ch> wrote:
Hello,

Trying to compile/install oasis by hand. Building odn fails as
follows. Any idea, I'm not much (at all, I should say) into camlp4 ?

Best,

Daniel

> ocaml setup.ml -build
I: Running command '/usr/local/bin/ocamlbuild src/odn.cma src/odn.cmxa
src/odn.a src/pa_noodn.cma src/pa_odn.cma tests/test.byte -tag debug'
Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamlc -c -g -package type-conv -package
camlp4.quotations.o -package camlp4.lib -syntax camlp4o -I src -I
type-conv-2.3.0/lib -o src/pa_odn.cmo src/pa_odn.ml
File "src/pa_odn.ml", line 207, characters 21-33:
Error: This expression has type
        Camlp4.PreCast.Ast.Loc.t ->
        Camlp4.PreCast.Ast.ctyp -> Camlp4.PreCast.Ast.expr
      but an expression was expected of type
        Camlp4.PreCast.Ast.Loc.t -> Camlp4.PreCast.Ast.ctyp -> 'a -> 'b
Command exited with code 2.
Compilation unsuccessful after building 12 targets (11 cached) in 00:00:00.
E: Command '/usr/local/bin/ocamlbuild src/odn.cma src/odn.cmxa
src/odn.a src/pa_noodn.cma src/pa_odn.cma tests/test.byte -tag debug'
terminated with error code 10

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs