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:06:14PM +0530, M.R Niranjan  wrote:
You mean, before i run make , i should type "make depend" and then run "make" and "make install" ?

Yes, exactly.

I tried this, and i still got the error

I did first ./configure --prefix=/usr/local/virt-mem

then i ran make depend and i got the same error

<snip for virt-mem-0.2.8>
make depend
for d in lib uname dmesg ps mem extract/fedora-koji extract/codegen; do \
make -C $d depend; \
if [ $? -ne 0 ]; then exit 1; fi; \
done
make[1]: Entering directory `/opt/virt-mem-0.2.8/lib'
rm -f .depend
ocamlfind ocamldep -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -syntax bitstring.syntax kernel_net_device.mli kernel_task_struct.mli virt_mem_kallsyms.mli virt_mem_ksyms.mli virt_mem.mli virt_mem_mmap.mli virt_mem_types.mli virt_mem_utsname.mli kernel_net_device.ml kernel_task_struct.ml test_mmap.ml virt_mem_capture.ml virt_mem_gettext.ml virt_mem_kallsyms.ml virt_mem_ksyms.ml virt_mem.ml virt_mem_mmap.ml virt_mem_types.ml virt_mem_utils.ml virt_mem_utsname.ml virt_mem_version.ml > .depend
make[1]: Leaving directory `/opt/virt-mem-0.2.8/lib'
make[1]: Entering directory `/opt/virt-mem-0.2.8/lib'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/lib'
make[1]: Entering directory `/opt/virt-mem-0.2.8/uname'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/uname'
make[1]: Entering directory `/opt/virt-mem-0.2.8/dmesg'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/dmesg'
make[1]: Entering directory `/opt/virt-mem-0.2.8/ps'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/ps'
make[1]: Entering directory `/opt/virt-mem-0.2.8/mem'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/mem'
make[1]: Entering directory `/opt/virt-mem-0.2.8/extract/fedora-koji'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/extract/fedora-koji'
make[1]: Entering directory `/opt/virt-mem-0.2.8/extract/codegen'
make[1]: Nothing to be done for `depend'.
make[1]: Leaving directory `/opt/virt-mem-0.2.8/extract/codegen'
[root@dhcp7-90 virt-mem-0.2.8]# make
for d in lib uname dmesg ps mem extract/fedora-koji extract/codegen po; do \
make -C $d all; \
if [ $? -ne 0 ]; then exit 1; fi; \
done
make[1]: Entering directory `/opt/virt-mem-0.2.8/lib'
ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_gettext.ml ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_version.ml ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_utils.ml gcc -g -O2 -Wall -Werror -I/usr/lib64/ocaml -I.. -c -o virt_mem_mmap_c.o virt_mem_mmap_c.c ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_mmap.mli ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_mmap.ml ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c kernel_task_struct.mli ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c kernel_task_struct.ml ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c kernel_net_device.mli ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c kernel_net_device.ml ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_types.mli ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_types.ml
File "virt_mem_types.ml", line 78, characters 6-19:
Unbound value D.memory_peek
make[1]: *** [virt_mem_types.cmo] Error 2
make[1]: Leaving directory `/opt/virt-mem-0.2.8/lib'
make: *** [all] Error 1
</snip>

You might also want to try out version 0.3.0 which I (quietly)
put out yesterday.
I get the same above error for 0.3.0 also (Unbound value D.memory_peek) , I ran "make depend" before i ran "make"

<snip>
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'
ocamlfind ocamlc -dtypes -g -syntax bitstring.syntax -package unix,bigarray,extlib,libvirt,xml-light,bitstring.syntax -c virt_mem_types.ml
File "virt_mem_types.ml", line 103, characters 6-19:
Unbound value D.memory_peek
make[1]: *** [virt_mem_types.cmo] Error 2
make[1]: Leaving directory `/opt/virt-mem-0.3.0/lib'
make: *** [all] Error 1
</snip>

Regards
Niranjan
I'm currently rewriting the parsing code again so it can load all
kernel structures automatically -- this turned out to be necessary for
virt-ifconfig because things like the network interface addresses are
stored in multiple, indirect, linked lists of structures/
sub-structures/ sub-sub-..., and writing code to navigate through
those manually was getting very tedious.  Should have something to
show for this by the weekend.

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