qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V6 1/5] libqblock build system


From: wenchao xia
Subject: Re: [Qemu-devel] [PATCH V6 1/5] libqblock build system
Date: Tue, 09 Oct 2012 08:01:45 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

+######################################################################
+# Support building shared library libqblock
+libqblock.la:
+       $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C libqblock
V="$(V)" TARGET_DIR="$*/" libqblock.la,)

Does not work for out of tree build:
$ make -C obj-amd64 libqblock.la
make: Entering directory `/src/qemu/obj-amd64'
make: Entering an unknown directory
make: *** libqblock: No such file or directory.  Stop.
make: Leaving an unknown directory
make: *** [libqblock.la] Error 2
make: Leaving directory `/src/qemu/obj-amd64'

If I fake what 'configure' should be doing and add the directory and
link to Makefile, there are still problems:
$ make -C obj-amd64 libqblock.la
make: Entering directory `/src/qemu/obj-amd64'
make[1]: *** No rule to make target `libqblock.lo', needed by
`libqblock.la'.  Stop.
make: *** [libqblock.la] Error 2

   Could u give more tip about this error? what is obj-amd64?
My understanding is you tried to build the library from another
directory similar as:
/extend_disk/xiawenc/qemu/qemu have the qemu source code, then
address@hidden xiawenc]$ pwd
/extend_disk/xiawenc
address@hidden xiawenc]$ make -C qemu/qemu libqblock.la
failed.
Please correct me.

I think the library should be built by default, like vscclient which
probably nobody uses.

   libvirt can't link to it now for OOM issue, but I will wrapper the
APIs with RPC later.

  I can't reproduce the issue, hope you can show how to make it happen.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]