Re: Linker error (virStorageFileResize) while compiling latest libvirt git source

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

 



On 02/01/2012 10:05 PM, Laine Stump wrote:
On 02/01/2012 11:01 AM, Deepak C Shetty wrote:
Requesting zheeshan to look, as this API was added recently by him, as i see on the list...

jdenemar just pushed a fix.


Do you mean the 'bogus warning about the uninit variable' fix, it does not fix the ld 'undefined reference' error
i just git pull'ed and did make, it still fails as below.



On 02/01/2012 08:25 PM, Deepak C Shetty wrote:
make  all-am
make[3]: Entering directory `/home/dpkshetty/work/libvirt/libvirt/daemon'
  GEN    qemu_dispatch.h
  GEN    remote_dispatch.h
  CC     libvirtd-remote_protocol.o
  CC     libvirtd-qemu_protocol.o
  CC     libvirtd-remote.o
  CC     libvirtd-libvirtd.o
  CC     libvirtd-stream.o
In file included from remote.c:107:0:
remote_dispatch.h: In function 'remoteDispatchDomainGetDiskErrorsHelper': remote.c:3611:9: warning: 'len' may be used uninitialized in this function [-Wuninitialized]
At top level:
cc1: warning: unrecognized command line option "-Wno-suggest-attribute=const" cc1: warning: unrecognized command line option "-Wno-suggest-attribute=pure"
  CCLD   libvirtd
libtool: link: warning: library `/usr/lib/i386-linux-gnu/libgcrypt.la' was moved. libtool: link: warning: library `/usr/lib/i386-linux-gnu/libgcrypt.la' was moved. ../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_process.o): In function `qemuProcessStart': /home/dpkshetty/work/libvirt/libvirt/src/qemu/qemu_process.c:3343: undefined reference to `virCommandAllowCap' ../src/.libs/libvirt_driver_storage.a(libvirt_driver_storage_la-storage_backend_fs.o): In function `virStorageBackendFileSystemVolResize': /home/dpkshetty/work/libvirt/libvirt/src/storage/storage_backend_fs.c:1234: undefined reference to `virStorageFileResize'
collect2: ld returned 1 exit status
make[3]: *** [libvirtd] Error 1
make[3]: Leaving directory `/home/dpkshetty/work/libvirt/libvirt/daemon'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dpkshetty/work/libvirt/libvirt/daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dpkshetty/work/libvirt/libvirt'
make: *** [all] Error 2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]