[Omake] Unrecognized ocamldep output

Aleksey Nogin anogin at hrl.com
Mon Apr 2 11:30:51 PDT 2007


Joel,

You are using some sort of OCaml 3.10 development version, right? The 
issue is that OCAMLDEP_MODULES_ENABLED was implemented before the 
"-modules" flag was added to OCaml and the ocamldep-postproc was written 
for the version of ocamldep that we distribute with OMake. It would seem 
that the output format of the OCaml's ocamldep is slightly different.

I've committed an untested fix for this in rev. 10318. Could you try 
downloading the OCaml.om from 
http://svn.metaprl.org/viewvc/*checkout*/mojave/omake-branches/0.9.8.x/lib/build/OCaml.om 
and see if it solves your problem?

Thanks!

Aleksey

On 02.04.2007 03:01, Joel Reymont wrote:

> Is this a known problem?
> 
> There's a circular dependency in xml-light so the original Makefile 
> specifies dependencies manually. I tried
> 
> OCAMLDEP_MODULES_ENABLED = true
> 
> but got the errors below.
> 
> Should I manually specify dependencies (how?) or is there an easy fix?
> 
>     THanks, Joel
> 
> ---
> 
> *** omake: reading OMakefiles
> *** omake: finished reading OMakefiles (0.0 sec)
> - scan . scan-ocaml-xmlParser.mli
> + ocamldep -modules xmlParser.mli | Shell.ocamldep-postproc()
> Unrecognized ocamldep output: xmlParser.mli: Dtd Lexing Xml
> - scan . scan-ocaml-xmlParser.ml
> + ocamldep -modules xmlParser.ml | Shell.ocamldep-postproc()
> Unrecognized ocamldep output: xmlParser.ml: Dtd Lexing List Printf Stack 
> Xml Xml_lexer
> 
> -- 
> http://wagerlabs.com/

-- 
Aleksey Nogin, Research Staff Member
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list