[pve-devel] backup RFC preview

Alexandre DERUMIER aderumier at odiso.com
Mon Nov 19 12:23:44 CET 2012


>>Does it help when you specify the correct target-list (else it tries to build all targets) 
>>
>>./configure --target-list x86_64-softmmu ... 

Doesn't help, but I have found the problem, I have a part of the patch which doesn't apply

--- a/Makefile
+++ b/Makefile
@@ -186,7 +186,7 @@ tools-obj-$(CONFIG_POSIX) += compatfd.o
 qemu-img$(EXESUF): qemu-img.o $(tools-obj-y) $(block-obj-y)
 qemu-nbd$(EXESUF): qemu-nbd.o $(tools-obj-y) $(block-obj-y)
 qemu-io$(EXESUF): qemu-io.o cmd.o $(tools-obj-y) $(block-obj-y)
-vma$(EXESUF): vma.o vma-writer.o vma-reader.o $(tools-obj-y) $(block-obj-y)
+vma$(EXESUF): vma.o vma-reader.o $(tools-obj-y) $(block-obj-y)


I have made the change manually,

But now I got an

  CC    qemu-io.o
  CC    cmd.o
  LINK  qemu-io
  CC    fsdev/virtfs-proxy-helper.o
  CC    fsdev/virtio-9p-marshal.o
  LINK  fsdev/virtfs-proxy-helper
  CC    vma.o
  CC    vma-reader.o
  LINK  vma
osdep.o: In function `qemu_close':
/root/qemu2/qemu/osdep.c:212: undefined reference to `monitor_fdset_dup_fd_find'
/root/qemu2/qemu/osdep.c:218: undefined reference to `monitor_fdset_dup_fd_remove'
osdep.o: In function `qemu_open':
/root/qemu2/qemu/osdep.c:166: undefined reference to `monitor_fdset_get_fd'
/root/qemu2/qemu/osdep.c:176: undefined reference to `monitor_fdset_dup_fd_add'
qemu-sockets.o: In function `socket_connect':
/root/qemu2/qemu/qemu-sockets.c:906: undefined reference to `monitor_get_fd'
qemu-sockets.o: In function `socket_listen':
/root/qemu2/qemu/qemu-sockets.c:937: undefined reference to `monitor_get_fd'
collect2: ld returned 1 exit status
make: *** [vma] Error 1


any idea ?


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 19 Novembre 2012 11:23:48 
Objet: RE: [pve-devel] backup RFC preview 


> I'm trying to build qemu with your patchs (I'm a bit late,I didn't have time last 
> week) 
> 
> I have errors on missing glib.h, softfloat.h, but files exists.... 
> 
> /root/qemu/fpu/softfloat.h 
> /usr/include/glib-2.0/glib.h 
> 
> 
> any idea ? maybe some missing envvars ? 

Does it help when you specify the correct target-list (else it tries to build all targets) 

./configure --target-list x86_64-softmmu ... 



More information about the pve-devel mailing list