[Pkg-libvirt-maintainers] virt-df package
Richard W.M. Jones
rjones at redhat.com
Thu Jul 10 22:11:29 UTC 2008
On Thu, Jul 10, 2008 at 06:05:19PM -0300, Marco Sinhoreli wrote:
> Attached the error while built virt-df.
> ocamlfind ocamldep -package unix,extlib -I +bitmatch -pp "camlp4o -I`ocamlc -where`/bitmatch pa_bitmatch.cmo" diskimage.mli diskimage_ext2.mli diskimage_fat.mli diskimage_impl.mli diskimage_linux_swap.mli diskimage_linux_swsuspend.mli diskimage_lvm2.mli diskimage_lvm2_metadata.mli diskimage_mbr.mli diskimage_ntfs.mli int63.mli int63_on_32.mli int63_on_64.mli diskimage.ml diskimage_ext2.ml diskimage_fat.ml diskimage_impl.ml diskimage_linux_swap.ml diskimage_linux_swsuspend.ml diskimage_lvm2.ml diskimage_lvm2_metadata.ml diskimage_mbr.ml diskimage_ntfs.ml int63.ml int63_on_32.ml int63_on_64.ml test_int63.ml > .depend
> Camlp4: Uncaught exception: DynLoader.Error ("/usr/lib/ocaml/3.10.2/bitmatch/pa_bitmatch.cmo", "error while linking /usr/lib/ocaml/3.10.2/bitmatch/pa_bitmatch.cmo.\nReference to undefined global `Bitmatch'")
>
> Preprocessing error on file diskimage.mli
> Camlp4: Uncaught exception: DynLoader.Error ("/usr/lib/ocaml/3.10.2/bitmatch/pa_bitmatch.cmo", "error while linking /usr/lib/ocaml/3.10.2/bitmatch/pa_bitmatch.cmo.\nReference to undefined global `Bitmatch'")
The fix for this is to change virt-df to use the META file method.
Sylvain can show you how to do this, and/or I'll make a patch upstream
in a few days. The fix is pretty simple, and I just did the exact
same fix for virt-mem.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 59 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
More information about the Pkg-libvirt-maintainers
mailing list