1. 16 Dec, 2013 1 commit
  2. 09 Dec, 2013 1 commit
    • Stefan Weil's avatar
      libcacard: Fix compilation for older versions of glib (bug #1258168) · 5ad04fb6
      Stefan Weil authored
      See https://bugs.launchpad.net/bugs/1258168
      
      libcacard/vscclient.c: In function 'do_socket_read':
      libcacard/vscclient.c:410: warning: implicit declaration of function 'g_warn_if_reached'
      libcacard/vscclient.c:410: warning: nested extern declaration of 'g_warn_if_reached'
      libcacard/vscclient.c: In function 'main':
      libcacard/vscclient.c:763: warning: implicit declaration of function 'g_byte_array_unref'
      libcacard/vscclient.c:763: warning: nested extern declaration of 'g_byte_array_unref'
      ...
      libcacard/vscclient.o: In function `do_socket_read':
      libcacard/vscclient.c:410: undefined reference to `g_warn_if_reached'
      libcacard/vscclient.o: In function `main':
      libcacard/vscclient.c:763: undefined reference to `g_byte_array_unref'
      
      g_warn_if_reached was added in glib 2.16, and g_byte_array_unref is
      supported since glib 2.22. QEMU requires glib 2.12, so both names must
      not be used.
      
      Instead of showing a warning for code which should not be reached,
      vscclient better stop running, so g_warn_if_reached is not useful for
      vscclient.
      
      In libcacard/vsclient.c, g_byte_array_unref can be replaced by
      g_byte_array_free. This is not generally true, so adding a compatibility
      layer in include/glib-compat.h is no option here.
      Reported-by: default avatarLaurent Desnogues <laurent.desnogues@gmail.com>
      Reported-by: default avatarDon Slutz <dslutz@verizon.com>
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      5ad04fb6
  3. 02 Dec, 2013 2 commits
  4. 20 Sep, 2013 1 commit
  5. 18 Sep, 2013 1 commit
  6. 01 Sep, 2013 1 commit
  7. 21 Jun, 2013 1 commit
  8. 12 Jun, 2013 1 commit
  9. 24 Apr, 2013 11 commits
  10. 30 Jan, 2013 1 commit
  11. 12 Jan, 2013 12 commits
  12. 19 Dec, 2012 1 commit
  13. 19 Nov, 2012 2 commits
  14. 05 Oct, 2012 2 commits
  15. 21 Jun, 2012 1 commit
    • Blue Swirl's avatar
      libcacard: build fixes · 47ecbdf0
      Blue Swirl authored
      Link trace objects to fix these errors:
        LINK  vscclient
      oslib-posix.o: In function `trace_qemu_vfree':
      /src/qemu/obj-amd64/./trace.h:39: undefined reference to `trace1'
      oslib-posix.o: In function `trace_qemu_memalign':
      /src/qemu/obj-amd64/./trace.h:31: undefined reference to `trace3'
      oslib-posix.o: In function `trace_qemu_vmalloc':
      /src/qemu/obj-amd64/./trace.h:35: undefined reference to `trace2'
      
      Add LDFLAGS to vscclient link command.
      
      Clean up also in subdirectories of libcacard.
      
      Use quiet-command for sed invocation.
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      Reviewed-by: default avatarAndreas Färber <afaerber@suse.de>
      Acked-by: default avatarAlon Levy <alevy@redhat.com>
      47ecbdf0
  16. 07 Jun, 2012 1 commit