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

2012-10-10 Thread wenchao xia
于 2012-10-9 22:25, Paolo Bonzini 写道: Il 09/10/2012 02:01, wenchao xia ha scritto: 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

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

2012-10-09 Thread Paolo Bonzini
Il 09/10/2012 02:01, wenchao xia ha scritto: >> >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 x

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

2012-10-08 Thread wenchao xia
+## +# 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-am

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

2012-10-07 Thread wenchao xia
On Sun, Oct 7, 2012 at 5:32 AM, Wenchao Xia wrote: From: Wenchao Xia Libqblock was placed in new directory ./libqblock, libtool will build dynamic library there, source files of block layer remains in ./block. So block related source code will generate 3 sets of binary, first is old ones

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

2012-10-07 Thread Blue Swirl
On Sun, Oct 7, 2012 at 5:32 AM, Wenchao Xia wrote: > From: Wenchao Xia > > Libqblock was placed in new directory ./libqblock, libtool will build > dynamic library there, source files of block layer remains in ./block. > So block related source code will generate 3 sets of binary, first is old >

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

2012-10-06 Thread Wenchao Xia
From: Wenchao Xia Libqblock was placed in new directory ./libqblock, libtool will build dynamic library there, source files of block layer remains in ./block. So block related source code will generate 3 sets of binary, first is old ones used in qemu, second and third are non PIC and PIC ones i