Linking target block-curl.so /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_block_init': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:1068: undefined reference to `bdrv_register' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:1069: undefined reference to `bdrv_register' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:1070: undefined reference to `bdrv_register' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_sock_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3804: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_sock_cb': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:191: undefined reference to `aio_set_fd_handler' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:199: undefined reference to `aio_set_fd_handler' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:187: undefined reference to `aio_set_fd_handler' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:195: undefined reference to `aio_set_fd_handler' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_sock_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3804: undefined reference to `trace_events_enabled_count' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3804: undefined reference to `_TRACE_CURL_SOCK_CB_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_sock_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3807: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3807: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_mutex_lock': /home/fred/qemu-git/src/qemu/include/qemu/thread.h:109: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `aio_timer_init': /home/fred/qemu-git/src/qemu/include/block/aio.h:579: undefined reference to `timer_init_full' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_read_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3827: undefined reference to `trace_events_enabled_count' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3827: undefined reference to `_TRACE_CURL_READ_CB_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_read_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3830: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3830: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_timer_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3781: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_timer_cb': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:155: undefined reference to `qemu_clock_get_ns' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:154: undefined reference to `timer_mod' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:151: undefined reference to `timer_del' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_timer_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3781: undefined reference to `_TRACE_CURL_TIMER_CB_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_timer_cb': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3784: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3784: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_clean_state': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:553: undefined reference to `qemu_co_enter_next_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_multi_check_completion': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:383: undefined reference to `qemu_iovec_from_buf' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:396: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:397: undefined reference to `aio_co_wake' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:398: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:389: undefined reference to `qemu_iovec_memset' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:365: undefined reference to `error_report' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:367: undefined reference to `error_report' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_multi_do': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:428: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_detach_aio_context': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:567: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:583: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_close': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3919: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_close': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:945: undefined reference to `qemu_mutex_destroy' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_close': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3919: undefined reference to `_TRACE_CURL_CLOSE_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_close': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3922: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3922: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_open': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:680: undefined reference to `bdrv_apply_auto_read_only' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:695: undefined reference to `qemu_mutex_init' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:696: undefined reference to `error_abort' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:696: undefined reference to `qemu_opts_create' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:697: undefined reference to `qemu_opts_absorb_qdict' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:701: undefined reference to `qemu_opt_get_size' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:709: undefined reference to `qemu_opt_get_number' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:716: undefined reference to `qemu_opt_get_bool' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:719: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:720: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:737: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:743: undefined reference to `strstart' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:744: undefined reference to `strstart' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:752: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:753: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:756: undefined reference to `qcrypto_secret_lookup_as_utf8' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:763: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:764: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:766: undefined reference to `qcrypto_secret_lookup_as_utf8' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3850: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_open': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:773: undefined reference to `qemu_co_queue_init' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:774: undefined reference to `bdrv_get_aio_context' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:776: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:778: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:843: undefined reference to `qemu_mutex_destroy' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:849: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:729: undefined reference to `qcrypto_secret_lookup_as_utf8' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:778: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open_size': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3873: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_open': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:827: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:829: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:833: undefined reference to `bdrv_get_aio_context' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:835: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:821: undefined reference to `pstrcpy' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:839: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3850: undefined reference to `_TRACE_CURL_OPEN_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3853: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3853: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open_size': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3873: undefined reference to `_TRACE_CURL_OPEN_SIZE_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_open_size': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3876: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3876: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_open': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:746: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:712: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:704: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:723: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:739: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-curl.a(block_curl.c.o):/home/fred/qemu-git/src/qemu/build-full/../block/curl.c:689: more undefined references to `error_setg_internal' follow /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_multi_timeout_do': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:444: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:448: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_co_preadv': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:925: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_setup_preadv': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:863: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:877: undefined reference to `qemu_co_queue_wait_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_setup_preadv': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3896: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_setup_preadv': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:918: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_co_preadv': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:934: undefined reference to `qemu_coroutine_yield' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_setup_preadv': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3896: undefined reference to `_TRACE_CURL_SETUP_PREADV_DSTATE' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `_nocheck__trace_curl_setup_preadv': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3899: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3899: undefined reference to `qemu_log' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_find_buf': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:303: undefined reference to `qemu_iovec_from_buf' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:305: undefined reference to `qemu_iovec_memset' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_block_init': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:1071: undefined reference to `bdrv_register' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `qemu_mutex_unlock': /home/fred/qemu-git/src/qemu/include/qemu/thread.h:119: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_refresh_filename': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:973: undefined reference to `pstrcpy' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_parse_filename': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:559: undefined reference to `qdict_put_str' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_multi_do': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:431: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `curl_detach_aio_context': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:585: undefined reference to `timer_del' /usr/bin/ld: libblock-curl.a(block_curl.c.o): in function `do_qemu_init_curl_block_init': /home/fred/qemu-git/src/qemu/build-full/../block/curl.c:1074: undefined reference to `register_dso_module_init' collect2: error: ld returned 1 exit status make: *** [Makefile.ninja:1013: block-curl.so] Error 1 make: *** Waiting for unfinished jobs.... Linking target block-iscsi.so Linking target block-gluster.so /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' /usr/bin/ld: /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `bdrv_gluster_init': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1669: undefined reference to `bdrv_register' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1670: undefined reference to `bdrv_register' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1671: undefined reference to `bdrv_register' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_do_truncate': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1083: undefined reference to `PreallocMode_lookup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1083: undefined reference to `qapi_enum_lookup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1083: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1078: undefined reference to `error_setg_errno_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1047: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_co_pdiscard': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1315: undefined reference to `qemu_coroutine_self' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1316: undefined reference to `bdrv_get_aio_context' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1323: undefined reference to `qemu_coroutine_yield' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_co_pwrite_zeroes': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1022: undefined reference to `qemu_coroutine_self' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1023: undefined reference to `bdrv_get_aio_context' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1030: undefined reference to `qemu_coroutine_yield' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `glfs_clear_preopened': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:285: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:286: undefined reference to `g_free' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_close': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1253: undefined reference to `g_free' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_reopen_abort': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1004: undefined reference to `g_free' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_reopen_commit': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:983: undefined reference to `g_free' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `glfs_set_preopened': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:243: undefined reference to `g_malloc' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:245: undefined reference to `g_strdup' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_glfs_init': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:447: undefined reference to `parse_uint_full' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:449: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:476: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:483: undefined reference to `error_append_hint' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:480: undefined reference to `error_append_hint' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:489: undefined reference to `error_append_hint' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_parse_uri': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:357: undefined reference to `uri_parse' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:362: undefined reference to `g_malloc0' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:363: undefined reference to `g_malloc0' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `parse_volume_options': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:305: undefined reference to `g_strndup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:312: undefined reference to `g_strdup' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_parse_uri': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:386: undefined reference to `query_params_parse' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:413: undefined reference to `query_params_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:415: undefined reference to `uri_free' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_parse': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:697: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:698: undefined reference to `error_append_hint' /usr/bin/ld: libblock-gluster.a(block_gluster.c.o): in function `qemu_gluster_parse_json': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:525: undefined reference to `error_abort' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:525: undefined reference to `qemu_opts_create' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:526: undefined reference to `qemu_opts_absorb_qdict' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:530: undefined reference to `qdict_array_entries' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:536: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:541: undefined reference to `g_strdup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:543: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:548: undefined reference to `g_strdup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:549: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:586: undefined reference to `libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_block_initqemu_opts_create' ': /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:587/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2492: undefined reference to `bdrv_register: undefined reference to `qemu_opts_absorb_qdict' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:591: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:598: undefined reference to `g_strdup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:599: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 606/usr/bin/ld: : undefined reference to `g_strduplibblock-iscsi.a(block_iscsi.c.o)' : in function `qemu_mutex_lock': /home/fred/qemu-git/src/qemu/include/qemu/thread.h:109/usr/bin/ld: undefined reference to `: qemu_mutex_lock_func' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld: 611: undefined reference to `libblock-iscsi.a(block_iscsi.c.o)qemu_opt_get: in function `' iscsi_set_events': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 364: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:aio_set_fd_handler615' : undefined reference to `/usr/bin/ldqemu_opt_get: ' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: iscsi_process_read': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:619: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:655: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:404: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld663: undefined reference to `g_malloc0' /usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:671: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:552: undefined reference to `g_strdup_printf' /usr/bin/ldlibblock-iscsi.a(block_iscsi.c.o): : in function `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:iscsi_process_write553': : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:qdict_extract_subqdict416' : undefined reference to `/usr/bin/ldqemu_mutex_lock_func: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:556/usr/bin/ld: undefined reference to `: error_abort' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: iscsi_timed_check_events/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 556/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `378qemu_opts_create: undefined reference to `' qemu_mutex_lock_func/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 557/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `392qemu_opts_absorb_qdict: undefined reference to `' qemu_mutex_unlock_impl/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 561libblock-iscsi.a(block_iscsi.c.o): undefined reference to `: in function `qemu_opt_getqemu_clock_get_ms' ': /usr/bin/ld/home/fred/qemu-git/src/qemu/include/qemu/timer.h:: 118/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `568qemu_clock_get_ns: undefined reference to `' g_malloc0' /usr/bin/ld/usr/bin/ld: : libblock-iscsi.a(block_iscsi.c.o): in function `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:iscsi_detach_aio_context572': : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:SocketAddressType_lookup1524' : undefined reference to `aio_set_fd_handler/usr/bin/ld' : /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:5721529: undefined reference to `: undefined reference to `qapi_enum_parsetimer_del' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)582: in function `: undefined reference to `timer_freeqemu_opts_del': ' /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/usr/bin/ld627: : undefined reference to `g_free/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 586/usr/bin/ld: undefined reference to `: error_abort' libblock-iscsi.a(block_iscsi.c.o): in function `/usr/bin/ldiscsi_detach_aio_context: ': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:6341534: undefined reference to `: undefined reference to `qemu_opts_createtimer_del' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)635: in function `: undefined reference to `timer_freeqemu_opts_absorb_qdict': ' /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/usr/bin/ld627: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:g_free639' : undefined reference to `qemu_opt_get/usr/bin/ld' : /usr/bin/ldlibblock-iscsi.a(block_iscsi.c.o): : in function `iscsi_bh_cb/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 642/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `158qemu_opt_get: undefined reference to `' qemu_bh_delete/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 654: undefined reference to `libblock-iscsi.a(block_iscsi.c.o)g_strdup: in function `' iscsi_ioctl_bh_completion/usr/bin/ld': : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1007659: undefined reference to `: undefined reference to `qemu_bh_deleteg_malloc0' ' /usr/bin/ld: /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `libblock-gluster.a(block_gluster.c.o)iscsi_aio_cancel: in function `': qobject_unref_impl/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:': 325/home/fred/qemu-git/src/qemu/include/qapi/qmp/qobject.h:: undefined reference to `100qemu_mutex_lock_func: undefined reference to `' qobject_destroy/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 335: undefined reference to `libblock-gluster.a(block_gluster.c.o)qemu_aio_ref: in function `' qemu_gluster_parse_json/usr/bin/ld': : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:641340: undefined reference to `: undefined reference to `qemu_opt_getqemu_aio_unref' ' /usr/bin/ld: /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)649: in function `: undefined reference to `iscsi_readcapacity_syncerror_setg_internal': ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1474: : undefined reference to `error_setg_internal/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 651/usr/bin/ld: undefined reference to `: error_append_hint/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 1451/usr/bin/ld: undefined reference to `: error_setg_internal/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 678/usr/bin/ld: undefined reference to `: error_propagate/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 1471: undefined reference to `/usr/bin/lderror_setg_internal: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld679: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:qapi_free_SocketAddress1431' : undefined reference to `/usr/bin/lderror_setg_internal: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld680: : undefined reference to `libblock-iscsi.a(block_iscsi.c.o)qemu_opts_del: in function `' iscsi_co_wait_for_task/usr/bin/ld': : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:594681: undefined reference to `: undefined reference to `qemu_mutex_lock_funcg_free' ' /usr/bin/ld: /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:libblock-gluster.a(block_gluster.c.o)597: in function `: undefined reference to `qobject_unref_implqemu_mutex_unlock_impl': ' /home/fred/qemu-git/src/qemu/include/qapi/qmp/qobject.h:/usr/bin/ld100: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:qobject_destroy598' : undefined reference to `qemu_coroutine_yield/usr/bin/ld' : /usr/bin/ldlibblock-gluster.a(block_gluster.c.o): : in function `qemu_gluster_parselibblock-iscsi.a(block_iscsi.c.o)': : in function `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:iscsi_allocmap_update707': : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:error_append_hint515' : undefined reference to `bitmap_clear/usr/bin/ld' : /usr/bin/ld: libblock-gluster.a(block_gluster.c.o)/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: in function `512qemu_gluster_parse_uri: undefined reference to `': bitmap_set/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 403/usr/bin/ld: undefined reference to `: g_strdup' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: iscsi_do_inquiry': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:4071511: undefined reference to `: undefined reference to `g_strdup_printferror_setg_internal' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:4131504: undefined reference to `: undefined reference to `query_params_freeerror_setg_internal' ' /usr/bin/ld: /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 415/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `1511uri_free: undefined reference to `' error_setg_internal' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)375: in function `: undefined reference to `iscsi_parse_filenamewarn_report': ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1688: : undefined reference to `qdict_set_default_str/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 401/usr/bin/ld: undefined reference to `: g_strdup/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 1689/usr/bin/ld: undefined reference to `: qdict_set_default_str' libblock-gluster.a(block_gluster.c.o)/usr/bin/ld: in function `: qemu_gluster_parse_json/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:': 1690/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `563qdict_set_default_str: undefined reference to `' error_setg_internal/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1692: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:g_strdup_printf564' : undefined reference to `/usr/bin/lderror_append_hint: ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1693: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qdict_set_default_str628' : undefined reference to `/usr/bin/lderror_setg_internal: ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1694/usr/bin/ld: undefined reference to `: g_free' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld624: : undefined reference to `libblock-iscsi.a(block_iscsi.c.o)error_setg_internal: in function `' iscsi_parse_iscsi_option': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1606: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qemu_find_opts643' : undefined reference to `error_setg_internal/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1611: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qemu_opts_find532' : undefined reference to `error_setg_internal/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1619: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qemu_opt_get678' : undefined reference to `/usr/bin/lderror_propagate: ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1621: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qdict_set_default_str679' : undefined reference to `qapi_free_SocketAddress/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1624/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `680qemu_opt_get: undefined reference to `' qemu_opts_del' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1626681: undefined reference to `: undefined reference to `qdict_set_default_strg_free' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1629538: undefined reference to `: undefined reference to `qemu_opt_geterror_setg_internal' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1631545: undefined reference to `: undefined reference to `qdict_set_default_strerror_setg_internal' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1634libblock-gluster.a(block_gluster.c.o): undefined reference to `: in function `qemu_opt_getqemu_gluster_reopen_prepare' ': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 917/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `1636g_malloc0: undefined reference to `' qdict_set_default_str/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 922/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `1639g_malloc0: undefined reference to `' qemu_opt_get' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:9251643: undefined reference to `: undefined reference to `g_strdupg_ascii_strdown' ' /usr/bin/ld: /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:9621644: undefined reference to `: undefined reference to `qapi_free_BlockdevOptionsGlusterqdict_set_default_str' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:9471645: undefined reference to `: undefined reference to `error_setg_errno_internalg_free' ' /usr/bin/ld: /usr/bin/ld: libblock-gluster.a(block_gluster.c.o)/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: in function `1648qemu_gluster_open: undefined reference to `': qemu_opt_get/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 816: undefined reference to `/usr/bin/lderror_abort: ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1650: : undefined reference to `qdict_set_default_str/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 816/usr/bin/ld: undefined reference to `: qemu_opts_create' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: iscsi_parse_filename': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:8171700: undefined reference to `: undefined reference to `qemu_opts_absorb_qdictqdict_set_default_str' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:8221701: undefined reference to `: undefined reference to `qemu_opt_getqdict_set_default_str' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)824: in function `: undefined reference to `iscsi_reopen_prepareqemu_opt_get_number': ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld2106: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:error_setg_internal832' : undefined reference to `g_malloc0/usr/bin/ld' : /usr/bin/ldlibblock-iscsi.a(block_iscsi.c.o): : in function `iscsi_aio_ioctl/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 836/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `1044qemu_opt_get: undefined reference to `' qemu_aio_get/usr/bin/ld' : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld837: : undefined reference to `g_strdup/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 1090/usr/bin/ld: undefined reference to `: qemu_mutex_lock_func' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld839: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:g_strdup1126' : undefined reference to `/usr/bin/ldqemu_mutex_unlock_impl: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld883: : undefined reference to `qemu_opts_dellibblock-iscsi.a(block_iscsi.c.o)' : in function `/usr/bin/ldiscsi_ioctl_handle_emulated: ': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:8841029: undefined reference to `: undefined reference to `qapi_free_BlockdevOptionsGlusterbdrv_get_aio_context' ' /usr/bin/ld: /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:8881029: undefined reference to `: undefined reference to `g_freeaio_bh_new' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:8591032: undefined reference to `: undefined reference to `error_setg_errno_internalqemu_bh_schedule' ' /usr/bin/ld: /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 873libblock-iscsi.a(block_iscsi.c.o): undefined reference to `: in function `bdrv_apply_auto_read_onlyiscsi_aio_ioctl' ': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 1058: undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:error_report883' : undefined reference to `/usr/bin/ldqemu_opts_del: ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld1060: : undefined reference to `qemu_aio_unref/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 884/usr/bin/ld: undefined reference to `: qapi_free_BlockdevOptionsGluster/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 1106/usr/bin/ld: undefined reference to `: qemu_mutex_unlock_impl' libblock-gluster.a(block_gluster.c.o)/usr/bin/ld: in function `: qemu_gluster_co_create_opts/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:': 1108/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `1138qemu_aio_unref: undefined reference to `' g_malloc0' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:10661142: undefined reference to `: undefined reference to `error_reportg_malloc0' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:10681145: undefined reference to `: undefined reference to `qemu_aio_unrefqemu_opt_get_size_del' ' /usr/bin/ld/usr/bin/ld: : libblock-iscsi.a(block_iscsi.c.o)/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: in function `1148iscsi_translate_sense: undefined reference to `': qemu_opt_get_del/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:' 229: undefined reference to `/usr/bin/ldscsi_sense_to_errno: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/usr/bin/ld1149: : undefined reference to `PreallocMode_lookuplibblock-iscsi.a(block_iscsi.c.o)' : in function `/usr/bin/ldiscsi_co_generic_cb: ': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1149279: undefined reference to `: undefined reference to `qapi_enum_parseg_strdup' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)1151: in function `: undefined reference to `exp_randomg_free': ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/usr/bin/ld201: : undefined reference to `log/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:' 1158/usr/bin/ld: undefined reference to `: qemu_opt_get_number_del' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: iscsi_co_generic_cb/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 1167/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: undefined reference to `261qemu_opt_get_del: undefined reference to `' error_report/usr/bin/ld' : /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 1185: undefined reference to `libblock-iscsi.a(block_iscsi.c.o)qapi_free_BlockdevCreateOptions: in function `' aio_timer_init/usr/bin/ld': : /home/fred/qemu-git/src/qemu/include/block/aio.h:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:5791169: undefined reference to `: undefined reference to `timer_init_fullg_strdup' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)1153: in function `: undefined reference to `qemu_clock_get_mserror_propagate': ' /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/usr/bin/ld118: : undefined reference to `libblock-gluster.a(block_gluster.c.o)qemu_clock_get_ns: in function `' qemu_gluster_co_flush_to_disk': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: 1269: undefined reference to `libblock-iscsi.a(block_iscsi.c.o)qemu_coroutine_self: in function `' iscsi_co_generic_cb/usr/bin/ld': : /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:2681270: undefined reference to `: undefined reference to `timer_modbdrv_get_aio_context' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1278274: undefined reference to `: undefined reference to `qemu_coroutine_yielderror_report' ' /usr/bin/ld/usr/bin/ld: : libblock-gluster.a(block_gluster.c.o): in function `libblock-iscsi.a(block_iscsi.c.o)qemu_gluster_close: in function `': timer_new_full/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 1253: undefined reference to `/home/fred/qemu-git/src/qemu/include/qemu/timer.h:g_free530' : undefined reference to `/usr/bin/ldg_malloc0: ' libblock-gluster.a(block_gluster.c.o)/usr/bin/ld: in function `: qemu_gluster_co_rw': /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:5311201: undefined reference to `: undefined reference to `timer_init_fullqemu_coroutine_self' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)1202: in function `: undefined reference to `qemu_clock_get_msbdrv_get_aio_context': ' /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/usr/bin/ld118: : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:qemu_clock_get_ns1216' : undefined reference to `/usr/bin/ldqemu_coroutine_yield: ' /usr/bin/ldlibblock-iscsi.a(block_iscsi.c.o): : in function `/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:iscsi_attach_aio_context1201': : undefined reference to `/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:qemu_coroutine_self1552' : undefined reference to `/usr/bin/ldtimer_mod: ' /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:1202/usr/bin/ld: undefined reference to `: bdrv_get_aio_context' libblock-iscsi.a(block_iscsi.c.o)/usr/bin/ld: in function `: timer_new_full/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:': 1216: undefined reference to `/home/fred/qemu-git/src/qemu/include/qemu/timer.h:qemu_coroutine_yield530' : undefined reference to `g_malloc0/usr/bin/ld' : /usr/bin/ldlibblock-gluster.a(block_gluster.c.o): : in function `bdrv_gluster_init/home/fred/qemu-git/src/qemu/include/qemu/timer.h:': 531/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `1672timer_init_full: undefined reference to `' bdrv_register' /usr/bin/ld/usr/bin/ld: : libblock-iscsi.a(block_iscsi.c.o)libblock-gluster.a(block_gluster.c.o): in function `: in function `qemu_clock_get_msgluster_finish_aiocb': ': /home/fred/qemu-git/src/qemu/include/qemu/timer.h:/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:118759: undefined reference to `: undefined reference to `qemu_clock_get_nsaio_co_schedule' ' /usr/bin/ld/usr/bin/ld: : /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:759libblock-iscsi.a(block_iscsi.c.o): undefined reference to `: in function `aio_co_scheduleiscsi_close' ': /usr/bin/ld/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:: 2040/home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:: undefined reference to `759g_free: undefined reference to `' aio_co_schedule' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2041: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2043: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_free': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:456: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:457/usr/bin/ld: undefined reference to `: g_free' libblock-gluster.a(block_gluster.c.o): in function `/usr/bin/lddo_qemu_init_bdrv_gluster_init: ': /home/fred/qemu-git/src/qemu/build-full/../block/gluster.c:libblock-iscsi.a(block_iscsi.c.o)1675: in function `: undefined reference to `iscsi_closeregister_dso_module_init': ' /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2045: undefined reference to `qemu_mutex_destroy' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_free': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:456: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:457: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `bitmap_try_new': /home/fred/qemu-git/src/qemu/include/qemu/bitmap.h:96: undefined reference to `g_try_malloc0' /usr/bin/ld: /home/fred/qemu-git/src/qemu/include/qemu/bitmap.h:96: undefined reference to `g_try_malloc0' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_free': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:456: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:457: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_truncate': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2149: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2143: undefined reference to `error_propagate' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2131: undefined reference to `PreallocMode_lookup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2131: undefined reference to `qapi_enum_lookup' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2131: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2152: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1796: undefined reference to `error_abort' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1796: undefined reference to `qemu_opts_create' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1797: undefined reference to `qemu_opts_absorb_qdict' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1802: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1803: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1804: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1805: undefined reference to `qemu_opt_get_number' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `get_initiator_name': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1378: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1380: undefined reference to `g_strdup' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `apply_chap': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1321: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1326: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1327: undefined reference to `qemu_opt_get' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1334: undefined reference to `qcrypto_secret_lookup_as_utf8' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1348: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `apply_header_digest': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1356: undefined reference to `qemu_opt_get' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1873: undefined reference to `qemu_opt_get_number' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1890: undefined reference to `bdrv_get_aio_context' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1990: undefined reference to `qemu_mutex_init' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `apply_chap': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1340: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_save_designator': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1771: undefined reference to `g_malloc' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1774: undefined reference to `g_malloc' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `get_initiator_name': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1383: undefined reference to `qmp_query_uuid' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1389: undefined reference to `g_strdup_printf' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1391: undefined reference to `qapi_free_UuidInfo' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_modesense_sync': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1581: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `apply_header_digest': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1368: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1912: undefined reference to `bdrv_apply_auto_read_only' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `get_initiator_name': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1385: undefined reference to `qemu_get_vm_name' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `apply_chap': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1345: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1329: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1921: undefined reference to `error_propagate' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_modesense_sync': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1575: undefined reference to `error_report' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1586: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1808: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1839: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1845: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1859: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1883: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1822: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o):/home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1833: more undefined references to `error_setg_internal' follow /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_open': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2010: undefined reference to `qemu_opts_del' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2011: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_nop_timed_event': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1401: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `qemu_clock_get_ms': /home/fred/qemu-git/src/qemu/include/qemu/timer.h:118: undefined reference to `qemu_clock_get_ns' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_nop_timed_event': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1408: undefined reference to `timer_mod' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1404: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_schedule_bh': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:176: undefined reference to `aio_bh_new' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_aio_ioctl_cb': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:978: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_translate_sense': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:229: undefined reference to `scsi_sense_to_errno' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_flush': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:930: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:934: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:955: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:956: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:951: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_block_status': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:728: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:790: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:791: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:752: undefined reference to `error_report' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:790: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:791: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_is_valid': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:588: undefined reference to `find_next_zero_bit' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:588: undefined reference to `find_next_zero_bit' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_readv': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:863: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:894: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_is_allocated': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:575: undefined reference to `find_next_bit' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_readv': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:827: undefined reference to `qemu_iovec_memset' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `is_byte_request_lun_aligned': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_readv': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:918: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:919: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_is_allocated': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:575: undefined reference to `find_next_bit' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_readv': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:854: undefined reference to `qemu_iovec_memset' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:913: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_pdiscard': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1166: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1203: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1204: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `is_byte_request_lun_aligned': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_pdiscard': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1196: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_writev': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:628: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:657: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:689: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:690: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `is_byte_request_lun_aligned': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_writev': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:679: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_xcopy_data': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2300: undefined reference to `g_malloc0' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_copy_range_to': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2365: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_xcopy_task': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2194: undefined reference to `g_malloc0' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `_nocheck__trace_iscsi_xcopy': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3229: undefined reference to `trace_events_enabled_count' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_copy_range_to': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2391: undefined reference to `g_free' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2392: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2393: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `is_byte_request_lun_aligned': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `_nocheck__trace_iscsi_xcopy': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3229: undefined reference to `_TRACE_ISCSI_XCOPY_DSTATE' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `qemu_loglevel_mask': /home/fred/qemu-git/src/qemu/include/qemu/log-for-trace.h:29: undefined reference to `qemu_loglevel' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `_nocheck__trace_iscsi_xcopy': /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3232: undefined reference to `qemu_get_thread_id' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/./trace/trace-block.h:3232: undefined reference to `qemu_log' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_pwrite_zeroes': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1251: undefined reference to `qemu_mutex_lock_func' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_init_iscsitask': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:296: undefined reference to `qemu_coroutine_self' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_pwrite_zeroes': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1266: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1245: undefined reference to `g_try_malloc0' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1308: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1309: undefined reference to `g_free' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `is_byte_request_lun_aligned': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:436: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_pwrite_zeroes': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1295: undefined reference to `error_report' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_block_init': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2494: undefined reference to `bdrv_register' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `qemu_mutex_unlock': /home/fred/qemu-git/src/qemu/include/qemu/thread.h:119: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_process_read': collect2: error: ld returned 1 exit status /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:407: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_process_write': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:419: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_timed_check_events': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:394: undefined reference to `timer_mod' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_bh_cb': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:167: undefined reference to `qemu_aio_unref' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_ioctl_bh_completion': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1009: undefined reference to `qemu_aio_unref' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_aio_cancel': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:343: undefined reference to `qemu_mutex_unlock_impl' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_abort_task_cb': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:316: undefined reference to `qemu_aio_unref' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:316: undefined reference to `qemu_aio_unref' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_readcapacity_sync': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1471: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_generic_bh_cb': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:187: undefined reference to `aio_co_wake' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_retry_timer_expired': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:195: undefined reference to `aio_co_wake' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_allocmap_update': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:527: undefined reference to `bitmap_clear' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:524: undefined reference to `bitmap_set' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_copy_range_from': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2186: undefined reference to `bdrv_co_copy_range_to' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_parse_filename': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1680: undefined reference to `error_setg_internal' /usr/bin/ld: /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1667: undefined reference to `error_setg_internal' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_co_generic_cb': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:286: undefined reference to `replay_bh_schedule_oneshot_event' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_attach_aio_context': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:1560: undefined reference to `timer_mod' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `iscsi_schedule_bh': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:177: undefined reference to `qemu_bh_schedule' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o): in function `do_qemu_init_iscsi_block_init': /home/fred/qemu-git/src/qemu/build-full/../block/iscsi.c:2498: undefined reference to `register_dso_module_init' make: *** [Makefile.ninja:1016: block-gluster.so] Error 1 /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o):(.data.rel+0x80): undefined reference to `bdrv_co_create_opts_simple' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o):(.data.rel+0x220): undefined reference to `bdrv_create_opts_simple' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o):(.data.rel+0x3c0): undefined reference to `bdrv_co_create_opts_simple' /usr/bin/ld: libblock-iscsi.a(block_iscsi.c.o):(.data.rel+0x560): undefined reference to `bdrv_create_opts_simple' collect2: error: ld returned 1 exit status make: *** [Makefile.ninja:1019: block-iscsi.so] Error 1