HEAD compilation failure using Avahi from svn



It seems there are missing #include... and maybe an API change

        gnome-vfs-dns-sd.c:839: error: syntax error before "AvahiServiceBrowser"
        gnome-vfs-dns-sd.c:839: warning: no semicolon at end of struct or union
        gnome-vfs-dns-sd.c:851: error: syntax error before '}' token
        gnome-vfs-dns-sd.c: In function `free_browse_handle':
        gnome-vfs-dns-sd.c:859: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:860: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:862: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:863: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:864: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:865: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:868: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:870: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:871: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:871: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `unicast_browse_idle':
        gnome-vfs-dns-sd.c:884: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:885: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:886: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:887: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:889: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:890: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:894: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:896: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `unicast_browse_thread':
        gnome-vfs-dns-sd.c:909: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:909: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:910: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:911: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:912: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: At top level:
        gnome-vfs-dns-sd.c:920: error: syntax error before '*' token
        gnome-vfs-dns-sd.c: In function `avahi_browse_callback':
        gnome-vfs-dns-sd.c:931: error: `userdata' undeclared (first use in this function )
        gnome-vfs-dns-sd.c:931: error: (Each undeclared identifier is reported only once
        gnome-vfs-dns-sd.c:931: error: for each function it appears in.)
        gnome-vfs-dns-sd.c:933: error: `name' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:934: error: `type' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:935: error: `domain' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:937: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:938: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:939: error: `event' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:941: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_browse':
        gnome-vfs-dns-sd.c:1086: error: invalid application of `sizeof' to incomplete ty pe `gnome-vfs-dns-sd.h'
        gnome-vfs-dns-sd.c:1087: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1088: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1089: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1090: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1091: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1096: error: `AvahiServiceBrowser' undeclared (first use in t his function)
        gnome-vfs-dns-sd.c:1096: error: `sb' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1098: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1101: warning: implicit declaration of function `avahi_servic e_browser_new'
        gnome-vfs-dns-sd.c:1101: warning: nested extern declaration of `avahi_service_br owser_new'
        gnome-vfs-dns-sd.c:1103: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1136: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1139: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1140: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_stop_browse':
        gnome-vfs-dns-sd.c:1160: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1162: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1163: warning: implicit declaration of function `avahi_servic e_browser_free'
        gnome-vfs-dns-sd.c:1163: warning: nested extern declaration of `avahi_service_br owser_free'
        gnome-vfs-dns-sd.c:1163: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1172: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1175: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: At top level:
        gnome-vfs-dns-sd.c:1197: error: syntax error before "AvahiServiceResolver"
        gnome-vfs-dns-sd.c:1197: warning: no semicolon at end of struct or union
        gnome-vfs-dns-sd.c:1209: error: syntax error before '}' token
        gnome-vfs-dns-sd.c: In function `free_resolve_handle':
        gnome-vfs-dns-sd.c:1215: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1216: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1217: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1219: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1220: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1222: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1223: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1223: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `unicast_resolve_idle':
        gnome-vfs-dns-sd.c:1237: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1238: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1239: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1240: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1242: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1243: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1245: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1246: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1248: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1249: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1251: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1252: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1253: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `unicast_resolve_thread':
        gnome-vfs-dns-sd.c:1270: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1270: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1271: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1272: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1273: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1273: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1274: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1274: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: At top level:
        gnome-vfs-dns-sd.c:1283: error: syntax error before '*' token
        gnome-vfs-dns-sd.c: In function `avahi_resolve_async_callback':
        gnome-vfs-dns-sd.c:1303: error: `user_data' undeclared (first use in this functi on)
        gnome-vfs-dns-sd.c:1304: error: `event' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1305: error: `txt' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1311: error: `name' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1312: error: `type' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1313: error: `domain' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1315: error: `address' undeclared (first use in this function )
        gnome-vfs-dns-sd.c:1316: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1320: error: `port' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1322: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1323: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1324: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1330: error: `AVAHI_RESOLVER_TIMEOUT' undeclared (first use i n this function)
        gnome-vfs-dns-sd.c:1331: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1336: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1339: warning: implicit declaration of function `avahi_servic e_resolver_free'
        gnome-vfs-dns-sd.c:1339: warning: nested extern declaration of `avahi_service_re solver_free'
        gnome-vfs-dns-sd.c:1339: error: `r' undeclared (first use in this function)
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_resolve':
        gnome-vfs-dns-sd.c:1491: error: invalid application of `sizeof' to incomplete ty pe `gnome-vfs-dns-sd.h'
        gnome-vfs-dns-sd.c:1492: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1493: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1494: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1495: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1496: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1497: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1502: error: `AvahiServiceResolver' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1502: error: `sr' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1504: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1507: warning: implicit declaration of function `avahi_servic e_resolver_new'
        gnome-vfs-dns-sd.c:1507: warning: nested extern declaration of `avahi_service_re solver_new'
        gnome-vfs-dns-sd.c:1511: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1549: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1552: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1553: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_cancel_resolve':
        gnome-vfs-dns-sd.c:1573: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1575: warning: nested extern declaration of `avahi_service_re solver_free'
        gnome-vfs-dns-sd.c:1575: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c:1595: error: dereferencing pointer to incomplete type
        gnome-vfs-dns-sd.c: At top level:
        gnome-vfs-dns-sd.c:1642: error: syntax error before '*' token
        gnome-vfs-dns-sd.c: In function `avahi_browse_sync_callback':
        gnome-vfs-dns-sd.c:1656: error: `user_data' undeclared (first use in this functi on)
        gnome-vfs-dns-sd.c:1659: error: `name' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1660: error: `type' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1661: error: `domain' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1663: error: `event' undeclared (first use in this function)
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_browse_sync':
        gnome-vfs-dns-sd.c:1806: error: `AvahiServiceBrowser' undeclared (first use in t his function)
        gnome-vfs-dns-sd.c:1806: error: `sb' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1833: warning: nested extern declaration of `avahi_service_br owser_new'
        gnome-vfs-dns-sd.c:1843: warning: implicit declaration of function `avahi_elapse _time'
        gnome-vfs-dns-sd.c:1843: warning: nested extern declaration of `avahi_elapse_tim e'
        gnome-vfs-dns-sd.c:1852: warning: nested extern declaration of `avahi_service_br owser_free'
        gnome-vfs-dns-sd.c: At top level:
        gnome-vfs-dns-sd.c:1952: error: syntax error before '*' token
        gnome-vfs-dns-sd.c: In function `avahi_resolve_sync_callback':
        gnome-vfs-dns-sd.c:1968: error: `user_data' undeclared (first use in this functi on)
        gnome-vfs-dns-sd.c:1969: error: `event' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1971: error: `address' undeclared (first use in this function )
        gnome-vfs-dns-sd.c:1973: error: `port' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1974: error: `txt' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:1979: warning: nested extern declaration of `avahi_service_re solver_free'
        gnome-vfs-dns-sd.c:1979: error: `r' undeclared (first use in this function)
        gnome-vfs-dns-sd.c: In function `gnome_vfs_dns_sd_resolve_sync':
        gnome-vfs-dns-sd.c:2061: error: `AvahiServiceResolver' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:2061: error: `sr' undeclared (first use in this function)
        gnome-vfs-dns-sd.c:2082: warning: nested extern declaration of `avahi_service_re solver_new'
        make[3]: *** [gnome-vfs-dns-sd.lo] Error 1
        




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]