All of lore.kernel.org
 help / color / mirror / Atom feed
From: wenchao xia <xiaxia347os@163.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com,
	qemu-devel@nongnu.org, pbonzini@redhat.com,
	xiawenc@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH V6 1/5] libqblock build system
Date: Tue, 09 Oct 2012 08:01:45 +0800	[thread overview]
Message-ID: <50736969.9000607@163.com> (raw)
In-Reply-To: <50722ECD.5060801@163.com>

>>> +######################################################################
>>> +# 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
> [xiawenc@RedHat62GAWSWenchao xiawenc]$ pwd
> /extend_disk/xiawenc
> [xiawenc@RedHat62GAWSWenchao 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	other threads:[~2012-10-09  0:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-07  5:32 [Qemu-devel] [PATCH V6 0/5] libqblock qemu block layer library Wenchao Xia
2012-10-07  5:32 ` [Qemu-devel] [PATCH V6 1/5] libqblock build system Wenchao Xia
2012-10-07 20:35   ` Blue Swirl
2012-10-08  1:39     ` wenchao xia
2012-10-09  0:01       ` wenchao xia [this message]
2012-10-09 14:25         ` Paolo Bonzini
2012-10-11  1:39           ` wenchao xia
2012-10-07  5:32 ` [Qemu-devel] [PATCH V6 2/5] libqblock type defines Wenchao Xia
2012-10-07  5:32 ` [Qemu-devel] [PATCH V6 3/5] libqblock API Wenchao Xia
2012-10-07  5:32 ` [Qemu-devel] [PATCH V6 4/5] libqblock test build system Wenchao Xia
2012-10-07  5:32 ` [Qemu-devel] [PATCH V6 5/5] libqblock test example Wenchao Xia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50736969.9000607@163.com \
    --to=xiaxia347os@163.com \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=xiawenc@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.