block-qcow2.c:1385: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:1385: error: expected ‘;’ before ‘offset’ block-qcow2.c:1386: error: ‘uint32_t’ undeclared (first use in this function) block-qcow2.c:1386: error: expected ‘;’ before ‘extra_data_size’ block-qcow2.c:1388: error: ‘offset’ undeclared (first use in this function) block-qcow2.c:1388: error: ‘BDRVQcowState’ has no member named ‘snapshots_offset’ block-qcow2.c:1389: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1389: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1390: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1392: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1394: warning: passing argument 3 of ‘bdrv_pread’ makes integer from pointer without a cast block-qcow2.c:1394: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1397: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1398: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1398: error: ‘QCowSnapshotHeader’ has no member named ‘l1_table_offset’ block-qcow2.c:1399: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1399: warning: implicit declaration of function ‘be32_to_cpu’ block-qcow2.c:1399: error: ‘QCowSnapshotHeader’ has no member named ‘l1_size’ block-qcow2.c:1400: error: ‘QCowSnapshot’ has no member named ‘vm_state_size’ block-qcow2.c:1400: error: ‘QCowSnapshotHeader’ has no member named ‘vm_state_size’ block-qcow2.c:1401: error: ‘QCowSnapshot’ has no member named ‘date_sec’ block-qcow2.c:1401: error: ‘QCowSnapshotHeader’ has no member named ‘date_sec’ block-qcow2.c:1402: error: ‘QCowSnapshot’ has no member named ‘date_nsec’ block-qcow2.c:1402: error: ‘QCowSnapshotHeader’ has no member named ‘date_nsec’ block-qcow2.c:1403: error: ‘QCowSnapshot’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1403: error: ‘QCowSnapshotHeader’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1404: error: ‘extra_data_size’ undeclared (first use in this function) block-qcow2.c:1404: error: ‘QCowSnapshotHeader’ has no member named ‘extra_data_size’ block-qcow2.c:1406: error: ‘QCowSnapshotHeader’ has no member named ‘id_str_size’ block-qcow2.c:1407: error: ‘QCowSnapshotHeader’ has no member named ‘name_size’ block-qcow2.c:1411: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1412: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1414: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1414: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1417: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1419: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1420: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1422: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1422: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1425: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1427: error: ‘BDRVQcowState’ has no member named ‘snapshots_size’ block-qcow2.c:1427: error: ‘BDRVQcowState’ has no member named ‘snapshots_offset’ block-qcow2.c: In function ‘qcow_write_snapshots’: block-qcow2.c:1437: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1441: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1441: error: expected ‘;’ before ‘data64’ block-qcow2.c:1442: error: ‘uint32_t’ undeclared (first use in this function) block-qcow2.c:1442: error: expected ‘;’ before ‘data32’ block-qcow2.c:1443: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:1443: error: expected ‘;’ before ‘offset’ block-qcow2.c:1446: error: ‘offset’ undeclared (first use in this function) block-qcow2.c:1447: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1448: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1451: warning: incompatible implicit declaration of built-in function ‘strlen’ block-qcow2.c:1451: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1452: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1456: error: ‘snapshots_offset’ undeclared (first use in this function) block-qcow2.c:1459: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1460: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1461: warning: incompatible implicit declaration of built-in function ‘memset’ block-qcow2.c:1462: error: ‘QCowSnapshotHeader’ has no member named ‘l1_table_offset’ block-qcow2.c:1462: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1463: error: ‘QCowSnapshotHeader’ has no member named ‘l1_size’ block-qcow2.c:1463: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1464: error: ‘QCowSnapshotHeader’ has no member named ‘vm_state_size’ block-qcow2.c:1464: error: ‘QCowSnapshot’ has no member named ‘vm_state_size’ block-qcow2.c:1465: error: ‘QCowSnapshotHeader’ has no member named ‘date_sec’ block-qcow2.c:1465: error: ‘QCowSnapshot’ has no member named ‘date_sec’ block-qcow2.c:1466: error: ‘QCowSnapshotHeader’ has no member named ‘date_nsec’ block-qcow2.c:1466: error: ‘QCowSnapshot’ has no member named ‘date_nsec’ block-qcow2.c:1467: error: ‘QCowSnapshotHeader’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1467: error: ‘QCowSnapshot’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1469: warning: incompatible implicit declaration of built-in function ‘strlen’ block-qcow2.c:1469: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1470: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1471: error: ‘QCowSnapshotHeader’ has no member named ‘id_str_size’ block-qcow2.c:1472: error: ‘QCowSnapshotHeader’ has no member named ‘name_size’ block-qcow2.c:1474: warning: passing argument 3 of ‘bdrv_pwrite’ makes integer from pointer without a cast block-qcow2.c:1474: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1477: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1477: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1480: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1480: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1486: error: ‘data64’ undeclared (first use in this function) block-qcow2.c:1487: error: ‘size_t’ undeclared (first use in this function) block-qcow2.c:1487: error: ‘QCowHeader’ has no member named ‘snapshots_offset’ block-qcow2.c:1488: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1490: error: ‘data32’ undeclared (first use in this function) block-qcow2.c:1490: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1491: error: ‘QCowHeader’ has no member named ‘nb_snapshots’ block-qcow2.c:1492: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1496: error: ‘BDRVQcowState’ has no member named ‘snapshots_offset’ block-qcow2.c:1496: error: ‘BDRVQcowState’ has no member named ‘snapshots_size’ block-qcow2.c:1496: error: too many arguments to function ‘free_clusters’ block-qcow2.c:1497: error: ‘BDRVQcowState’ has no member named ‘snapshots_offset’ block-qcow2.c:1498: error: ‘BDRVQcowState’ has no member named ‘snapshots_size’ block-qcow2.c: In function ‘find_new_snapshot_id’: block-qcow2.c:1507: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1511: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1512: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1513: warning: implicit declaration of function ‘strtoul’ block-qcow2.c:1513: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1513: error: ‘NULL’ undeclared (first use in this function) block-qcow2.c:1517: warning: implicit declaration of function ‘snprintf’ block-qcow2.c:1517: warning: incompatible implicit declaration of built-in function ‘snprintf’ block-qcow2.c: In function ‘find_snapshot_by_id’: block-qcow2.c:1522: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1525: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1526: warning: implicit declaration of function ‘strcmp’ block-qcow2.c:1526: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c: In function ‘find_snapshot_by_id_or_name’: block-qcow2.c:1534: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1540: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1541: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c: In function ‘qcow_snapshot_create’: block-qcow2.c:1551: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1554: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1554: error: ‘l1_table’ undeclared (first use in this function) block-qcow2.c:1554: error: ‘NULL’ undeclared (first use in this function) block-qcow2.c:1556: warning: incompatible implicit declaration of built-in function ‘memset’ block-qcow2.c:1565: error: ‘ENOENT’ undeclared (first use in this function) block-qcow2.c:1567: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1568: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1570: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1571: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1573: error: ‘QCowSnapshot’ has no member named ‘vm_state_size’ block-qcow2.c:1573: error: ‘QEMUSnapshotInfo’ has no member named ‘vm_state_size’ block-qcow2.c:1574: error: ‘QCowSnapshot’ has no member named ‘date_sec’ block-qcow2.c:1574: error: ‘QEMUSnapshotInfo’ has no member named ‘date_sec’ block-qcow2.c:1575: error: ‘QCowSnapshot’ has no member named ‘date_nsec’ block-qcow2.c:1575: error: ‘QEMUSnapshotInfo’ has no member named ‘date_nsec’ block-qcow2.c:1576: error: ‘QCowSnapshot’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1576: error: ‘QEMUSnapshotInfo’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1578: error: ‘BDRVQcowState’ has no member named ‘l1_table_offset’ block-qcow2.c:1578: error: too many arguments to function ‘update_snapshot_refcount’ block-qcow2.c:1583: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1584: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1590: error: ‘BDRVQcowState’ has no member named ‘l1_table’ block-qcow2.c:1592: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1593: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1599: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1599: warning: assignment makes pointer from integer without a cast block-qcow2.c:1602: warning: incompatible implicit declaration of built-in function ‘memcpy’ block-qcow2.c:1602: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1602: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1603: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1604: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1604: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1613: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c: In function ‘qcow_snapshot_goto’: block-qcow2.c:1622: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1628: error: ‘ENOENT’ undeclared (first use in this function) block-qcow2.c:1629: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1631: error: ‘BDRVQcowState’ has no member named ‘l1_table_offset’ block-qcow2.c:1631: error: too many arguments to function ‘update_snapshot_refcount’ block-qcow2.c:1634: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1637: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1638: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1640: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1641: error: ‘BDRVQcowState’ has no member named ‘l1_table’ block-qcow2.c:1641: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1643: error: ‘BDRVQcowState’ has no member named ‘l1_table_offset’ block-qcow2.c:1644: error: ‘BDRVQcowState’ has no member named ‘l1_table’ block-qcow2.c:1644: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1647: error: ‘BDRVQcowState’ has no member named ‘l1_table’ block-qcow2.c:1650: error: ‘BDRVQcowState’ has no member named ‘l1_table_offset’ block-qcow2.c:1650: error: too many arguments to function ‘update_snapshot_refcount’ block-qcow2.c:1658: error: ‘EIO’ undeclared (first use in this function) block-qcow2.c: In function ‘qcow_snapshot_delete’: block-qcow2.c:1663: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1669: error: ‘ENOENT’ undeclared (first use in this function) block-qcow2.c:1670: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1672: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1672: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1672: error: too many arguments to function ‘update_snapshot_refcount’ block-qcow2.c:1676: error: ‘BDRVQcowState’ has no member named ‘l1_table_offset’ block-qcow2.c:1676: error: too many arguments to function ‘update_snapshot_refcount’ block-qcow2.c:1679: error: ‘QCowSnapshot’ has no member named ‘l1_table_offset’ block-qcow2.c:1679: error: ‘QCowSnapshot’ has no member named ‘l1_size’ block-qcow2.c:1679: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1679: error: too many arguments to function ‘free_clusters’ block-qcow2.c:1681: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1682: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1683: warning: implicit declaration of function ‘memmove’ block-qcow2.c:1683: warning: incompatible implicit declaration of built-in function ‘memmove’ block-qcow2.c:1683: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1684: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c: In function ‘qcow_snapshot_list’: block-qcow2.c:1699: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1704: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1704: warning: assignment makes pointer from integer without a cast block-qcow2.c:1707: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1709: error: ‘BDRVQcowState’ has no member named ‘snapshots’ block-qcow2.c:1711: error: ‘QCowSnapshot’ has no member named ‘id_str’ block-qcow2.c:1713: error: ‘QCowSnapshot’ has no member named ‘name’ block-qcow2.c:1714: error: ‘QEMUSnapshotInfo’ has no member named ‘vm_state_size’ block-qcow2.c:1714: error: ‘QCowSnapshot’ has no member named ‘vm_state_size’ block-qcow2.c:1715: error: ‘QEMUSnapshotInfo’ has no member named ‘date_sec’ block-qcow2.c:1715: error: ‘QCowSnapshot’ has no member named ‘date_sec’ block-qcow2.c:1716: error: ‘QEMUSnapshotInfo’ has no member named ‘date_nsec’ block-qcow2.c:1716: error: ‘QCowSnapshot’ has no member named ‘date_nsec’ block-qcow2.c:1717: error: ‘QEMUSnapshotInfo’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1717: error: ‘QCowSnapshot’ has no member named ‘vm_clock_nsec’ block-qcow2.c:1720: error: ‘BDRVQcowState’ has no member named ‘nb_snapshots’ block-qcow2.c:1723: error: ‘NULL’ undeclared (first use in this function) block-qcow2.c:1724: error: ‘ENOMEM’ undeclared (first use in this function) block-qcow2.c: In function ‘refcount_init’: block-qcow2.c:1732: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1735: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1736: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1738: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1738: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1739: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1740: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1742: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1743: error: ‘BDRVQcowState’ has no member named ‘refcount_table_offset’ block-qcow2.c:1744: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1744: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1747: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1748: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1752: error: ‘ENOMEM’ undeclared (first use in this function) block-qcow2.c: In function ‘refcount_close’: block-qcow2.c:1757: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1758: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1759: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c: At top level: block-qcow2.c:1764: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c: In function ‘load_refcount_block’: block-qcow2.c:1766: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1768: error: ‘refcount_block_offset’ undeclared (first use in this function) block-qcow2.c:1768: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1769: error: too many arguments to function ‘bdrv_pread’ block-qcow2.c:1771: error: ‘EIO’ undeclared (first use in this function) block-qcow2.c:1772: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache_offset’ block-qcow2.c: At top level: block-qcow2.c:1776: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c: In function ‘get_refcount’: block-qcow2.c:1778: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1780: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:1780: error: expected ‘;’ before ‘refcount_block_offset’ block-qcow2.c:1782: error: ‘cluster_index’ undeclared (first use in this function) block-qcow2.c:1783: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1785: error: ‘refcount_block_offset’ undeclared (first use in this function) block-qcow2.c:1785: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1788: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache_offset’ block-qcow2.c:1790: error: too many arguments to function ‘load_refcount_block’ block-qcow2.c:1795: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c: At top level: block-qcow2.c:1799: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alloc_clusters_noref’ block-qcow2.c:1826: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alloc_clusters’ block-qcow2.c:1837: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘alloc_bytes’ block-qcow2.c:1876: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c:1876: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c: In function ‘free_clusters’: block-qcow2.c:1878: error: ‘offset’ undeclared (first use in this function) block-qcow2.c:1878: error: ‘size’ undeclared (first use in this function) block-qcow2.c:1878: error: too many arguments to function ‘update_refcount’ block-qcow2.c: In function ‘grow_refcount_table’: block-qcow2.c:1883: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1885: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1885: error: ‘new_table’ undeclared (first use in this function) block-qcow2.c:1886: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:1886: error: expected ‘;’ before ‘table_offset’ block-qcow2.c:1887: error: expected ‘;’ before ‘data64’ block-qcow2.c:1888: error: ‘uint32_t’ undeclared (first use in this function) block-qcow2.c:1888: error: expected ‘;’ before ‘data32’ block-qcow2.c:1890: error: expected ‘;’ before ‘old_table_offset’ block-qcow2.c:1892: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1895: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1914: error: ‘ENOMEM’ undeclared (first use in this function) block-qcow2.c:1915: warning: incompatible implicit declaration of built-in function ‘memcpy’ block-qcow2.c:1915: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1916: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1917: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1920: error: ‘table_offset’ undeclared (first use in this function) block-qcow2.c:1920: warning: implicit declaration of function ‘alloc_clusters_noref’ block-qcow2.c:1921: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1924: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1927: error: ‘data64’ undeclared (first use in this function) block-qcow2.c:1928: error: ‘size_t’ undeclared (first use in this function) block-qcow2.c:1928: error: ‘QCowHeader’ has no member named ‘refcount_table_offset’ block-qcow2.c:1929: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1931: error: ‘data32’ undeclared (first use in this function) block-qcow2.c:1932: error: ‘QCowHeader’ has no member named ‘refcount_table_clusters’ block-qcow2.c:1933: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1935: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1936: error: ‘old_table_offset’ undeclared (first use in this function) block-qcow2.c:1936: error: ‘BDRVQcowState’ has no member named ‘refcount_table_offset’ block-qcow2.c:1937: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1938: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1939: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1940: error: ‘BDRVQcowState’ has no member named ‘refcount_table_offset’ block-qcow2.c:1942: error: too many arguments to function ‘update_refcount’ block-qcow2.c:1943: error: too many arguments to function ‘free_clusters’ block-qcow2.c:1946: error: too many arguments to function ‘free_clusters’ block-qcow2.c:1948: error: ‘EIO’ undeclared (first use in this function) block-qcow2.c: At top level: block-qcow2.c:1954: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c: In function ‘update_cluster_refcount’: block-qcow2.c:1957: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:1958: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:1958: error: expected ‘;’ before ‘offset’ block-qcow2.c:1960: error: ‘uint64_t’ undeclared (first use in this function) block-qcow2.c:1960: error: expected ‘;’ before ‘data64’ block-qcow2.c:1962: error: ‘cluster_index’ undeclared (first use in this function) block-qcow2.c:1963: error: ‘BDRVQcowState’ has no member named ‘refcount_table_size’ block-qcow2.c:1965: error: ‘EINVAL’ undeclared (first use in this function) block-qcow2.c:1970: error: ‘refcount_block_offset’ undeclared (first use in this function) block-qcow2.c:1970: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1976: error: ‘offset’ undeclared (first use in this function) block-qcow2.c:1977: warning: incompatible implicit declaration of built-in function ‘memset’ block-qcow2.c:1977: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1978: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:1978: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1981: error: ‘BDRVQcowState’ has no member named ‘refcount_table’ block-qcow2.c:1982: error: ‘data64’ undeclared (first use in this function) block-qcow2.c:1983: error: ‘BDRVQcowState’ has no member named ‘refcount_table_offset’ block-qcow2.c:1985: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c:1990: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache_offset’ block-qcow2.c:1991: error: too many arguments to function ‘update_refcount’ block-qcow2.c:1993: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache_offset’ block-qcow2.c:1994: error: too many arguments to function ‘load_refcount_block’ block-qcow2.c:1995: error: ‘EIO’ undeclared (first use in this function) block-qcow2.c:2001: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:2005: error: ‘BDRVQcowState’ has no member named ‘free_cluster_index’ block-qcow2.c:2006: error: ‘BDRVQcowState’ has no member named ‘free_cluster_index’ block-qcow2.c:2008: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:2011: error: ‘BDRVQcowState’ has no member named ‘refcount_block_cache’ block-qcow2.c:2011: error: too many arguments to function ‘bdrv_pwrite’ block-qcow2.c: At top level: block-qcow2.c:2017: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c:2017: error: expected declaration specifiers or ‘...’ before ‘int64_t’ block-qcow2.c: In function ‘update_refcount’: block-qcow2.c:2020: error: ‘BlockDriverState’ has no member named ‘opaque’ block-qcow2.c:2021: error: ‘int64_t’ undeclared (first use in this function) block-qcow2.c:2021: error: expected ‘;’ before ‘start’ block-qcow2.c:2027: error: ‘length’ undeclared (first use in this function) block-qcow2.c:2029: error: ‘start’ undeclared (first use in this function) block-qcow2.c:2029: error: ‘offset’ undeclared (first use in this function) block-qcow2.c:2030: error: ‘last’ undeclared (first use in this function) block-qcow2.c:2031: error: ‘cluster_offset’ undeclared (first use in this function) block-qcow2.c:2033: error: too many arguments to function ‘update_cluster_refcount’ block-qcow2.c: At top level: block-qcow2.c:2230: error: ‘qcow_probe’ undeclared here (not in a function) block-qcow2.c:2230: warning: excess elements in struct initializer block-qcow2.c:2230: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2231: warning: excess elements in struct initializer block-qcow2.c:2231: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2232: error: ‘NULL’ undeclared here (not in a function) block-qcow2.c:2232: warning: excess elements in struct initializer block-qcow2.c:2232: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2233: warning: excess elements in struct initializer block-qcow2.c:2233: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2234: warning: excess elements in struct initializer block-qcow2.c:2234: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2235: warning: excess elements in struct initializer block-qcow2.c:2235: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2236: warning: excess elements in struct initializer block-qcow2.c:2236: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2237: warning: excess elements in struct initializer block-qcow2.c:2237: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2238: warning: excess elements in struct initializer block-qcow2.c:2238: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2239: warning: excess elements in struct initializer block-qcow2.c:2239: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2241: error: unknown field ‘bdrv_aio_read’ specified in initializer block-qcow2.c:2241: warning: excess elements in struct initializer block-qcow2.c:2241: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2242: error: unknown field ‘bdrv_aio_write’ specified in initializer block-qcow2.c:2242: error: ‘qcow_aio_write’ undeclared here (not in a function) block-qcow2.c:2242: warning: excess elements in struct initializer block-qcow2.c:2242: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2243: error: unknown field ‘bdrv_aio_cancel’ specified in initializer block-qcow2.c:2243: warning: excess elements in struct initializer block-qcow2.c:2243: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2244: error: unknown field ‘aiocb_size’ specified in initializer block-qcow2.c:2244: warning: excess elements in struct initializer block-qcow2.c:2244: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2245: error: unknown field ‘bdrv_write_compressed’ specified in initializer block-qcow2.c:2245: error: ‘qcow_write_compressed’ undeclared here (not in a function) block-qcow2.c:2245: warning: excess elements in struct initializer block-qcow2.c:2245: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2247: error: unknown field ‘bdrv_snapshot_create’ specified in initializer block-qcow2.c:2247: warning: excess elements in struct initializer block-qcow2.c:2247: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2248: error: unknown field ‘bdrv_snapshot_goto’ specified in initializer block-qcow2.c:2248: warning: excess elements in struct initializer block-qcow2.c:2248: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2249: error: unknown field ‘bdrv_snapshot_delete’ specified in initializer block-qcow2.c:2249: warning: excess elements in struct initializer block-qcow2.c:2249: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2250: error: unknown field ‘bdrv_snapshot_list’ specified in initializer block-qcow2.c:2250: warning: excess elements in struct initializer block-qcow2.c:2250: warning: (near initialization for ‘bdrv_qcow2’) block-qcow2.c:2251: error: unknown field ‘bdrv_get_info’ specified in initializer block-qcow2.c:2251: warning: excess elements in struct initializer block-qcow2.c:2251: warning: (near initialization for ‘bdrv_qcow2’) make: *** [qemu-img] Error 1 tomas@tomas-desktop:~/qemu-neo1973$