[libvirt] Compiling Error

Alex Jia ajia at redhat.com
Tue May 29 02:43:04 UTC 2012


On 05/29/2012 01:36 AM, Dipankar Sarma wrote:
> On Mon, May 28, 2012 at 11:13:23AM +0100, Daniel P. Berrange wrote:
>> On Mon, May 28, 2012 at 02:24:16AM -0400, Alex Jia wrote:
>>> Hi all,
>>> I met some compiling error since May 26:
>>> <snip>
>>> make[3]: Entering directory `/home/ajia/Workspace/libvirt/src'
>>>    CCLD   libvirt_driver_qemu.la
>>> libtool: link: `libvirt_qemu_probes.lo' is not a valid libtool object
>> I see that too
'make' still can't work now:

   Considering target file `libvirt_driver_qemu.la'.
    File `libvirt_driver_qemu.la' does not exist.
     Considering target file `libvirt_qemu_probes.lo'.
       Considering target file `libvirt_qemu_probes.o'.
         Considering target file `libvirt_qemu_probes.d'.
          Finished prerequisites of target file `libvirt_qemu_probes.d'.
         No need to remake target `libvirt_qemu_probes.d'.
        Finished prerequisites of target file `libvirt_qemu_probes.o'.
        Prerequisite `libvirt_qemu_probes.d' is older than target 
`libvirt_qemu_probes.o'.
       No need to remake target `libvirt_qemu_probes.o'.
      Finished prerequisites of target file `libvirt_qemu_probes.lo'.
      Prerequisite `libvirt_qemu_probes.o' is older than target 
`libvirt_qemu_probes.lo'.
     No need to remake target `libvirt_qemu_probes.lo'.
     Pruning file `libvirt_qemu_probes.o'.
    Finished prerequisites of target file `libvirt_driver_qemu.la'.
   Must remake target `libvirt_driver_qemu.la'.
make[3]: Entering directory `/home/ajia/Workspace/libvirt/src'
   CCLD   libvirt_driver_qemu.la
libtool: link: cannot find the library `libvirt_driver_qemu_impl.la' or 
unhandled argument `libvirt_driver_qemu_impl.la'
make[3]: *** [libvirt_driver_qemu.la] Error 1
make[3]: Leaving directory `/home/ajia/Workspace/libvirt/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ajia/Workspace/libvirt/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ajia/Workspace/libvirt'
make: *** [all] Error 2
[root at 202 libvirt]# find . -name libvirt_qemu_probes.d
./src/libvirt_qemu_probes.d
[root at 202 libvirt]# find . -name libvirt_qemu_probes.o
./src/libvirt_qemu_probes.o
[root at 202 libvirt]# find . -name libvirt_qemu_probes.lo
[root at 202 libvirt]# find . -name libvirt_driver_qemu.la

Notes, nothing is returned for the above 2 files.

Regards,
Alex
>>> Notes, in fact, libvirt_driver_qemu.la hasn't been generated:
>>> [root at 202 libvirt]# find . -name libvirt_driver_qemu.la
>>> [root at 202 libvirt]# find . -name libvirt_qemu_probes.lo
>> Yes, it looks like a dependency bug in the Makefile.am - I'm
>> just testing a possible fix
> 'make rpm' seems to be broken as well right now -
>
> make[2]: *** No rule to make target `locking/test_libvirt_sanlock.aug.in', needed by `distdir'.  Stop.
> make[2]: Leaving directory `/home/dipankar/src/powerpc/libvirt-ppc/src'
> make[1]: *** [distdir] Error 1
Yeah, I see that too.
> Thanks
> Dipankar
>




More information about the libvir-list mailing list