[Omake] Cygwin build stops with lm_debug.ml

Frank J Lhota Frank_J_Lhota at raytheon.com
Wed Nov 26 09:53:11 PST 2008


I tried building omake under Cygwin, using the following tools:

GNU Make 3.81
gcc version 3.4.4
ocaml version 3.10.2

Here is the output from the 'make all' command:

make[1]: Entering directory `/usr/src/omake-0.9.8.5/boot'
make[1]: `Makefile.dep' is up to date.
make[1]: Leaving directory `/usr/src/omake-0.9.8.5/boot'
make[1]: Entering directory `/usr/src/omake-0.9.8.5/boot'
make[1]: `omake' is up to date.
make[1]: Leaving directory `/usr/src/omake-0.9.8.5/boot'
touch .config
OMAKEFLAGS= OMAKEPATH=lib ./omake-boot --dotomake .omake --force-dotomake 
-j2 main
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.81 sec)
*** omake: warning: stdout is not a tty, disabling the progress bar
   (use --progress to override).
- build src/libmojave lm_debug.cmx
+ ocamlopt.opt -warn-error A -w Ae -I . -c lm_debug.ml
File "lm_debug.ml", line 127, characters 14-30:
This expression has type string but is here used with type
  ('a -> 'b -> 'c -> 'd, out_channel, unit) format =
    ('a -> 'b -> 'c -> 'd, out_channel, unit, unit, unit, unit) format6
- build src/libmojave lm_printf.o
+ ocamlopt.opt -warn-error A -w Ae -I . -c lm_printf.ml
File "lm_printf.ml", line 99, characters 45-53:
This expression has type string but is here used with type
  ('a -> 'b, unit, string) format =
    ('a -> 'b, unit, string, string, string, string) format6
*** omake: 429/1149 targets are up to date
*** omake: failed (3.73 sec, 0/105 scans, 2/96 rules, 1/889 digests)
*** omake: targets were not rebuilt because of errors:
   src/libmojave/lm_debug.cmx
   src/libmojave/lm_debug.o
   src/libmojave/lm_printf.cmx
   src/libmojave/lm_printf.o
make: *** [all] Error 2

What caused this problem? Is there an easy fix?

Sincerely,
Frank J. Lhota


More information about the Omake mailing list