>
>
> In that case, try listing dynlink explicitly, like:
>
>  ocamlfind ocamlc dynlink.cma -package json-static [etc]
>

$ ocamlfind ocamlc dynlink.cma -package json-static -syntax camlp4o -c
test.ml

$ ocamlfind ocamlc -I /home/conglun/godi/lib/ocaml/pkg-lib/camlp4
dynlink.cma -package json-static -syntax camlp4o -c t.ml


Error: Error while linking
/home/conglun/godi/lib/ocaml/std-lib/camlp4/camlp4lib.cma(Camlp4):
Reference to undefined global `Dynlink'


>
> Anyhow, it sounds like a bug in the META files that are supplied with
> your cygwin OCaml distribution.
>
>
I think you are right, the problem happens on the camlp4o or cygwin, which
can't load dynlink.  But I can't find problem in the camlp4's META  (in the
attachment)

Thanks,

Conglun

Attachment: META
Description: Binary data

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to