Re: Error compiling virt-mem-2.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard W.M. Jones wrote:
On Thu, Aug 14, 2008 at 04:45:17PM +0530, M.R Niranjan  wrote:
File "virt_mem_types.ml", line 78, characters 6-19:
Unbound value D.memory_peek

Hi, i updated my ocaml-libvirt to 0.4.4.2-1 and issue "make" command, i get the below error

<snip>
[root@dhcp7-90 virt-mem-0.3.0]# make
for d in lib uname dmesg ps ifconfig mem extract/fedora-koji extract/codegen; do \
         make -C $d all; \
         if [ $? -ne 0 ]; then exit 1; fi; \
       done
make[1]: Entering directory `/opt/virt-mem-0.3.0/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/virt-mem-0.3.0/lib'
make[1]: Entering directory `/opt/virt-mem-0.3.0/uname'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/virt-mem-0.3.0/uname'
make[1]: Entering directory `/opt/virt-mem-0.3.0/dmesg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/virt-mem-0.3.0/dmesg'
make[1]: Entering directory `/opt/virt-mem-0.3.0/ps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/virt-mem-0.3.0/ps'
make[1]: Entering directory `/opt/virt-mem-0.3.0/ifconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/virt-mem-0.3.0/ifconfig'
make[1]: Entering directory `/opt/virt-mem-0.3.0/mem'
ocamlfind ocamlopt \
-syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -I ../lib -linkpkg bitstring.cmxa ../lib/virt_mem.cmxa ../uname/virt_uname.cmx ../dmesg/virt_dmesg.cmx ../ps/virt_ps.cmx ../ifconfig/virt_ifconfig.cmx virt_mem_main.cmx -o virt-mem.opt
/usr/bin/ld: cannot find -lvirt
collect2: ld returned 1 exit status
Error during linking
make[1]: *** [virt-mem.opt] Error 2
make[1]: Leaving directory `/opt/virt-mem-0.3.0/mem'
make: *** [all] Error 1
</snip>

I am sure i am missing some thing,  Any ideas ?

Regards
Niranjan
OK, so now you're getting a different error.

This is because you need a newer ocaml-libvirt (try 0.4.4.2).  The one
you have doesn't support the libvirt virDomainMemoryPeek call, which
was only added to libvirt quite recently.

I will add a check into the configure file for that, and also a better
error message.

Rich.


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux