FYI, while "make" succeeded in this directory on Friday, I ran "make clean" today from the top, then "make" and got this: Making all in examples make[3]: Entering directory `/home/j/w/co/libguestfs/ocaml/examples' ocamlfind ocamlopt \ -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs File "lvs.ml", line 11, characters 10-24: Error: Unbound value Guestfs.create make[3]: *** [lvs] Error 2 make[3]: Leaving directory `/home/j/w/co/libguestfs/ocaml/examples' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/j/w/co/libguestfs/ocaml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/j/w/co/libguestfs' make: *** [all] Error 2 [Exit 2]
Richard W.M. Jones
2009-Oct-05 10:02 UTC
[Libguestfs] FYI, lvs.ml: Unbound value Guestfs.create
On Sun, Oct 04, 2009 at 11:31:57AM +0200, Jim Meyering wrote:> FYI, while "make" succeeded in this directory on Friday, > I ran "make clean" today from the top, then "make" and got this: > > Making all in examples > make[3]: Entering directory `/home/j/w/co/libguestfs/ocaml/examples' > ocamlfind ocamlopt \ > -warn-error A -I .. mlguestfs.cmxa lvs.ml -o lvs > File "lvs.ml", line 11, characters 10-24: > Error: Unbound value Guestfs.createYou would get this error only if the file ocaml/guestfs.cmi didn't exist. Is it possible that the ocaml/examples directory is being compiled before the ocaml/ directory (ie. parallel make)? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
Maybe Matching Threads
- File "lvs.ml", line 11... : Error: Unbound value Guestfs.create
- [PATCH] Fix building on architectures where ocamlopt is not available
- enable build for ocaml bytecode
- [PATCH] build: add simple custom silent rules for automake
- [PATCH] Bugfix: ocaml: Rebuild the tests from source if the main library changes