juliano@tufbot:~/Desktop/NXT_Python/pybluez-0.9.2$ python setup.py install running install running build running build_py running build_ext building '_bluetooth' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c bluez/btmodule.c -o build/temp.linux-i686-2.4/bluez/btmodule.o In file included from bluez/btmodule.c:20: bluez/btmodule.h:5:33: error: bluetooth/bluetooth.h: No such file or directory bluez/btmodule.h:6:27: error: bluetooth/sdp.h: No such file or directory bluez/btmodule.h:7:31: error: bluetooth/sdp_lib.h: No such file or directory In file included from bluez/btmodule.c:20: bluez/btmodule.h:35: error: syntax error before ‘sdp_session_t’ bluez/btmodule.h:35: warning: no semicolon at end of struct or union bluez/btmodule.h:36: warning: type defaults to ‘int’ in declaration of ‘PySocketSockObject’ bluez/btmodule.h:36: warning: data definition has no type or storage class bluez/btmodule.c:36:27: error: bluetooth/hci.h: No such file or directory bluez/btmodule.c:37:31: error: bluetooth/hci_lib.h: No such file or directory bluez/btmodule.c:38:30: error: bluetooth/rfcomm.h: No such file or directory bluez/btmodule.c:39:29: error: bluetooth/l2cap.h: No such file or directory bluez/btmodule.c:40:27: error: bluetooth/sco.h: No such file or directory In file included from bluez/btmodule.c:44: bluez/btsdp.h:9: error: syntax error before ‘sdp_session_t’ bluez/btsdp.h:9: warning: no semicolon at end of struct or union bluez/btsdp.h:14: error: syntax error before ‘}’ token bluez/btsdp.h:14: warning: type defaults to ‘int’ in declaration of ‘PySDPSessionObject’ bluez/btsdp.h:14: warning: data definition has no type or storage class bluez/btmodule.c:105: error: syntax error before ‘*’ token bluez/btmodule.c:106: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘internal_setblocking’: bluez/btmodule.c:110: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:110: error: (Each undeclared identifier is reported only once bluez/btmodule.c:110: error: for each function it appears in.) bluez/btmodule.c:111: error: ‘block’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:128: error: syntax error before ‘*’ token bluez/btmodule.c:129: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘internal_select’: bluez/btmodule.c:135: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:149: error: ‘writing’ undeclared (first use in this function) bluez/btmodule.c:146: error: invalid lvalue in asm output 0 bluez/btmodule.c: At top level: bluez/btmodule.c:163: error: syntax error before ‘*’ token bluez/btmodule.c:165: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘init_sockobject’: bluez/btmodule.c:166: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:166: error: ‘fd’ undeclared (first use in this function) bluez/btmodule.c:167: error: ‘family’ undeclared (first use in this function) bluez/btmodule.c:168: error: ‘type’ undeclared (first use in this function) bluez/btmodule.c:169: error: ‘proto’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:184: error: syntax error before ‘*’ token bluez/btmodule.c:186: warning: return type defaults to ‘int’ bluez/btmodule.c: In function ‘new_sockobject’: bluez/btmodule.c:187: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:188: error: syntax error before ‘)’ token bluez/btmodule.c: At top level: bluez/btmodule.c:203: error: syntax error before ‘*’ token bluez/btmodule.c:204: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘makesockaddr’: bluez/btmodule.c:205: error: ‘addrlen’ undeclared (first use in this function) bluez/btmodule.c:212: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:213: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c:216: error: ‘addr’ undeclared (first use in this function) bluez/btmodule.c:218: error: ‘BTPROTO_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:221: warning: implicit declaration of function ‘ba2str’ bluez/btmodule.c:221: error: dereferencing pointer to incomplete type bluez/btmodule.c:222: warning: implicit declaration of function ‘btohs’ bluez/btmodule.c:222: error: dereferencing pointer to incomplete type bluez/btmodule.c:224: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:227: error: dereferencing pointer to incomplete type bluez/btmodule.c:228: error: dereferencing pointer to incomplete type bluez/btmodule.c:230: error: ‘BTPROTO_SCO’ undeclared (first use in this function) bluez/btmodule.c:233: error: dereferencing pointer to incomplete type bluez/btmodule.c: At top level: bluez/btmodule.c:251: error: syntax error before ‘*’ token bluez/btmodule.c:253: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘getsockaddrarg’: bluez/btmodule.c:254: error: ‘addr_ret’ undeclared (first use in this function) bluez/btmodule.c:256: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:258: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c:262: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:262: error: dereferencing pointer to incomplete type bluez/btmodule.c:266: error: ‘len_ret’ undeclared (first use in this function) bluez/btmodule.c:266: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_hci’ bluez/btmodule.c:269: error: ‘BTPROTO_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:274: error: dereferencing pointer to incomplete type bluez/btmodule.c:279: warning: implicit declaration of function ‘str2ba’ bluez/btmodule.c:279: error: dereferencing pointer to incomplete type bluez/btmodule.c:282: error: dereferencing pointer to incomplete type bluez/btmodule.c:287: error: dereferencing pointer to incomplete type bluez/btmodule.c:287: warning: implicit declaration of function ‘htobs’ bluez/btmodule.c:287: error: dereferencing pointer to incomplete type bluez/btmodule.c:289: error: dereferencing pointer to incomplete type bluez/btmodule.c:293: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:298: error: dereferencing pointer to incomplete type bluez/btmodule.c:303: error: dereferencing pointer to incomplete type bluez/btmodule.c:304: error: dereferencing pointer to incomplete type bluez/btmodule.c:307: error: ‘BTPROTO_SCO’ undeclared (first use in this function) bluez/btmodule.c:317: error: dereferencing pointer to incomplete type bluez/btmodule.c:318: error: dereferencing pointer to incomplete type bluez/btmodule.c: At top level: bluez/btmodule.c:336: error: syntax error before ‘*’ token bluez/btmodule.c:337: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘getsockaddrlen’: bluez/btmodule.c:338: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:340: error: ‘BTPROTO_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:341: error: ‘len_ret’ undeclared (first use in this function) bluez/btmodule.c:341: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_l2’ bluez/btmodule.c:343: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:344: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_rc’ bluez/btmodule.c:346: error: ‘BTPROTO_SCO’ undeclared (first use in this function) bluez/btmodule.c:347: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_sco’ bluez/btmodule.c:349: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c:350: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_hci’ bluez/btmodule.c: At top level: bluez/btmodule.c:359: error: syntax error before ‘uuid_t’ bluez/btmodule.c:360: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘str2uuid’: bluez/btmodule.c:364: error: ‘uuid_str’ undeclared (first use in this function) bluez/btmodule.c:394: error: ‘uuid’ undeclared (first use in this function) bluez/btmodule.c:394: warning: implicit declaration of function ‘sdp_uuid128_create’ bluez/btmodule.c:399: warning: implicit declaration of function ‘sdp_uuid32_create’ bluez/btmodule.c:404: warning: implicit declaration of function ‘sdp_uuid16_create’ bluez/btmodule.c: At top level: bluez/btmodule.c:412: warning: type defaults to ‘int’ in declaration of ‘uuid_t’ bluez/btmodule.c:412: error: syntax error before ‘*’ token bluez/btmodule.c:413: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘uuid2str’: bluez/btmodule.c:414: error: ‘uuid’ undeclared (first use in this function) bluez/btmodule.c:414: error: ‘SDP_UUID16’ undeclared (first use in this function) bluez/btmodule.c:415: error: ‘dest’ undeclared (first use in this function) bluez/btmodule.c:416: error: ‘SDP_UUID32’ undeclared (first use in this function) bluez/btmodule.c:418: error: ‘SDP_UUID128’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:435: error: syntax error before ‘*’ token bluez/btmodule.c:436: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_accept’: bluez/btmodule.c:445: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:503: error: syntax error before ‘*’ token bluez/btmodule.c:504: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_setblocking’: bluez/btmodule.c:507: error: ‘arg’ undeclared (first use in this function) bluez/btmodule.c:511: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:532: error: syntax error before ‘*’ token bluez/btmodule.c:533: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_settimeout’: bluez/btmodule.c:536: error: ‘arg’ undeclared (first use in this function) bluez/btmodule.c:548: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:566: error: syntax error before ‘*’ token bluez/btmodule.c:567: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_gettimeout’: bluez/btmodule.c:568: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:589: error: syntax error before ‘*’ token bluez/btmodule.c:590: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_setsockopt’: bluez/btmodule.c:598: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:609: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:629: error: syntax error before ‘*’ token bluez/btmodule.c:630: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_getsockopt’: bluez/btmodule.c:638: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:645: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:680: error: syntax error before ‘*’ token bluez/btmodule.c:681: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_bind’: bluez/btmodule.c:686: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:686: error: ‘addro’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:716: error: syntax error before ‘*’ token bluez/btmodule.c:717: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_close’: bluez/btmodule.c:720: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:728: warning: implicit declaration of function ‘sdp_close’ bluez/btmodule.c: At top level: bluez/btmodule.c:743: error: syntax error before ‘*’ token bluez/btmodule.c:745: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘internal_connect’: bluez/btmodule.c:749: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:749: error: ‘addr’ undeclared (first use in this function) bluez/btmodule.c:749: error: ‘addrlen’ undeclared (first use in this function) bluez/btmodule.c:763: error: ‘timeoutp’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:771: error: syntax error before ‘*’ token bluez/btmodule.c:772: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_connect’: bluez/btmodule.c:778: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:778: error: ‘addro’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:806: error: syntax error before ‘*’ token bluez/btmodule.c:807: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_connect_ex’: bluez/btmodule.c:813: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:813: error: ‘addro’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:833: error: syntax error before ‘*’ token bluez/btmodule.c:834: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_fileno’: bluez/btmodule.c:835: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:848: error: syntax error before ‘*’ token bluez/btmodule.c:849: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_dup’: bluez/btmodule.c:853: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:876: error: syntax error before ‘*’ token bluez/btmodule.c:877: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_getsockname’: bluez/btmodule.c:882: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:902: error: syntax error before ‘*’ token bluez/btmodule.c:903: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_getpeername’: bluez/btmodule.c:908: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:931: error: syntax error before ‘*’ token bluez/btmodule.c:932: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_listen’: bluez/btmodule.c:936: error: ‘arg’ undeclared (first use in this function) bluez/btmodule.c:942: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:969: error: syntax error before ‘*’ token bluez/btmodule.c:970: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_makefile’: bluez/btmodule.c:978: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:980: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1004: error: syntax error before ‘*’ token bluez/btmodule.c:1005: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_recv’: bluez/btmodule.c:1009: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:1023: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1054: error: syntax error before ‘*’ token bluez/btmodule.c:1055: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_recvfrom’: bluez/btmodule.c:1063: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:1066: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1114: error: syntax error before ‘*’ token bluez/btmodule.c:1115: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_send’: bluez/btmodule.c:1119: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:1123: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1148: error: syntax error before ‘*’ token bluez/btmodule.c:1149: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_sendall’: bluez/btmodule.c:1153: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:1158: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1192: error: syntax error before ‘*’ token bluez/btmodule.c:1193: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_sendto’: bluez/btmodule.c:1200: error: ‘args’ undeclared (first use in this function) bluez/btmodule.c:1207: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1235: error: syntax error before ‘*’ token bluez/btmodule.c:1236: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_shutdown’: bluez/btmodule.c:1240: error: ‘arg’ undeclared (first use in this function) bluez/btmodule.c:1244: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1261: error: syntax error before ‘*’ token bluez/btmodule.c:1262: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_getsockid’: bluez/btmodule.c:1264: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1331: error: syntax error before ‘*’ token bluez/btmodule.c:1332: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_dealloc’: bluez/btmodule.c:1334: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: At top level: bluez/btmodule.c:1351: error: syntax error before ‘*’ token bluez/btmodule.c:1352: warning: function declaration isn’t a prototype bluez/btmodule.c: In function ‘sock_repr’: bluez/btmodule.c:1368: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: In function ‘sock_new’: bluez/btmodule.c:1384: error: syntax error before ‘)’ token bluez/btmodule.c:1385: error: syntax error before ‘)’ token bluez/btmodule.c:1386: error: syntax error before ‘)’ token bluez/btmodule.c: In function ‘sock_initobj’: bluez/btmodule.c:1398: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:1398: error: syntax error before ‘)’ token bluez/btmodule.c:1400: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:1409: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c:1412: error: ‘BTPROTO_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:1418: error: ‘BTPROTO_SCO’ undeclared (first use in this function) bluez/btmodule.c: In function ‘bt_fromfd’: bluez/btmodule.c:1499: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c: In function ‘bt_btohl’: bluez/btmodule.c:1577: warning: implicit declaration of function ‘btohl’ bluez/btmodule.c: In function ‘bt_htobl’: bluez/btmodule.c:1634: warning: implicit declaration of function ‘htobl’ bluez/btmodule.c: In function ‘bt_hci_open_dev’: bluez/btmodule.c:1755: error: ‘s’ undeclared (first use in this function) bluez/btmodule.c:1764: warning: implicit declaration of function ‘hci_get_route’ bluez/btmodule.c:1773: warning: implicit declaration of function ‘hci_open_dev’ bluez/btmodule.c:1776: error: syntax error before ‘)’ token bluez/btmodule.c:1777: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c: In function ‘bt_hci_close_dev’: bluez/btmodule.c:1799: warning: implicit declaration of function ‘hci_close_dev’ bluez/btmodule.c: In function ‘bt_hci_send_cmd’: bluez/btmodule.c:1824: error: ‘socko’ undeclared (first use in this function) bluez/btmodule.c:1837: warning: implicit declaration of function ‘hci_send_cmd’ bluez/btmodule.c: In function ‘bt_hci_send_req’: bluez/btmodule.c:1856: error: ‘socko’ undeclared (first use in this function) bluez/btmodule.c:1860: error: variable ‘req’ has initializer but incomplete type bluez/btmodule.c:1860: warning: excess elements in struct initializer bluez/btmodule.c:1860: warning: (near initialization for ‘req’) bluez/btmodule.c:1860: error: storage size of ‘req’ isn’t known bluez/btmodule.c:1875: warning: implicit declaration of function ‘hci_send_req’ bluez/btmodule.c:1860: warning: unused variable ‘req’ bluez/btmodule.c: In function ‘bt_hci_inquiry’: bluez/btmodule.c:1905: error: ‘inquiry_info’ undeclared (first use in this function) bluez/btmodule.c:1905: error: ‘info’ undeclared (first use in this function) bluez/btmodule.c:1906: error: ‘socko’ undeclared (first use in this function) bluez/btmodule.c:1908: error: dereferencing pointer to incomplete type bluez/btmodule.c:1920: error: ‘IREQ_CACHE_FLUSH’ undeclared (first use in this function) bluez/btmodule.c:1924: error: dereferencing pointer to incomplete type bluez/btmodule.c:1925: error: dereferencing pointer to incomplete type bluez/btmodule.c:1926: error: dereferencing pointer to incomplete type bluez/btmodule.c:1927: error: dereferencing pointer to incomplete type bluez/btmodule.c:1929: error: dereferencing pointer to incomplete type bluez/btmodule.c:1930: error: dereferencing pointer to incomplete type bluez/btmodule.c:1931: error: dereferencing pointer to incomplete type bluez/btmodule.c:1934: error: ‘HCIINQUIRY’ undeclared (first use in this function) bluez/btmodule.c:1939: error: syntax error before ‘)’ token bluez/btmodule.c:1939: error: dereferencing pointer to incomplete type bluez/btmodule.c:1945: error: dereferencing pointer to incomplete type bluez/btmodule.c:1908: warning: unused variable ‘buf’ bluez/btmodule.c: In function ‘bt_hci_read_remote_name’: bluez/btmodule.c:1975: error: ‘bdaddr_t’ undeclared (first use in this function) bluez/btmodule.c:1975: error: syntax error before ‘ba’ bluez/btmodule.c:1978: error: ‘socko’ undeclared (first use in this function) bluez/btmodule.c:1989: error: ‘ba’ undeclared (first use in this function) bluez/btmodule.c:1995: warning: implicit declaration of function ‘hci_read_remote_name’ bluez/btmodule.c: In function ‘bt_hci_filter_new’: bluez/btmodule.c:2020: error: storage size of ‘flt’ isn’t known bluez/btmodule.c:2022: warning: implicit declaration of function ‘hci_filter_clear’ bluez/btmodule.c:2020: warning: unused variable ‘flt’ bluez/btmodule.c: In function ‘bt_hci_filter_set_ptype’: bluez/btmodule.c:2050: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2050: warning: implicit declaration of function ‘hci_filter_set_ptype’ bluez/btmodule.c:2050: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_clear_ptype’: bluez/btmodule.c:2051: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2051: warning: implicit declaration of function ‘hci_filter_clear_ptype’ bluez/btmodule.c:2051: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_test_ptype’: bluez/btmodule.c:2052: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2052: warning: implicit declaration of function ‘hci_filter_test_ptype’ bluez/btmodule.c:2052: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_set_event’: bluez/btmodule.c:2054: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2054: warning: implicit declaration of function ‘hci_filter_set_event’ bluez/btmodule.c:2054: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_clear_event’: bluez/btmodule.c:2055: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2055: warning: implicit declaration of function ‘hci_filter_clear_event’ bluez/btmodule.c:2055: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_test_event’: bluez/btmodule.c:2056: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2056: warning: implicit declaration of function ‘hci_filter_test_event’ bluez/btmodule.c:2056: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_set_opcode’: bluez/btmodule.c:2058: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2058: warning: implicit declaration of function ‘hci_filter_set_opcode’ bluez/btmodule.c:2058: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_test_opcode’: bluez/btmodule.c:2059: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2059: warning: implicit declaration of function ‘hci_filter_test_opcode’ bluez/btmodule.c:2059: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_all_events’: bluez/btmodule.c:2080: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2080: warning: implicit declaration of function ‘hci_filter_all_events’ bluez/btmodule.c:2080: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_clear’: bluez/btmodule.c:2081: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2081: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_all_ptypes’: bluez/btmodule.c:2082: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2082: warning: implicit declaration of function ‘hci_filter_all_ptypes’ bluez/btmodule.c:2082: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_hci_filter_clear_opcode’: bluez/btmodule.c:2083: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c:2083: warning: implicit declaration of function ‘hci_filter_clear_opcode’ bluez/btmodule.c:2083: error: invalid application of ‘sizeof’ to incomplete type ‘struct hci_filter’ bluez/btmodule.c: In function ‘bt_cmd_opcode_pack’: bluez/btmodule.c:2092: warning: implicit declaration of function ‘cmd_opcode_pack’ bluez/btmodule.c: In function ‘bt_cmd_opcode_ogf’: bluez/btmodule.c:2105: warning: implicit declaration of function ‘cmd_opcode_ogf’ bluez/btmodule.c: In function ‘bt_cmd_opcode_ocf’: bluez/btmodule.c:2117: warning: implicit declaration of function ‘cmd_opcode_ocf’ bluez/btmodule.c: In function ‘bt_ba2str’: bluez/btmodule.c:2132: error: ‘bdaddr_t’ undeclared (first use in this function) bluez/btmodule.c:2132: error: syntax error before ‘)’ token bluez/btmodule.c: In function ‘bt_str2ba’: bluez/btmodule.c:2145: error: ‘bdaddr_t’ undeclared (first use in this function) bluez/btmodule.c:2145: error: syntax error before ‘ba’ bluez/btmodule.c:2147: error: ‘ba’ undeclared (first use in this function) bluez/btmodule.c: In function ‘bt_hci_devid’: bluez/btmodule.c:2173: warning: implicit declaration of function ‘hci_devid’ bluez/btmodule.c: In function ‘bt_sdp_advertise_service’: bluez/btmodule.c:2198: error: ‘socko’ undeclared (first use in this function) bluez/btmodule.c:2205: error: ‘uuid_t’ undeclared (first use in this function) bluez/btmodule.c:2205: error: syntax error before ‘svc_uuid’ bluez/btmodule.c:2204: warning: unused variable ‘desclen’ bluez/btmodule.c:2204: warning: unused variable ‘provlen’ bluez/btmodule.c:2204: warning: unused variable ‘namelen’ bluez/btmodule.c:2203: warning: unused variable ‘protocols’ bluez/btmodule.c:2203: warning: unused variable ‘profiles’ bluez/btmodule.c:2203: warning: unused variable ‘service_classes’ bluez/btmodule.c:2202: warning: unused variable ‘description’ bluez/btmodule.c:2201: warning: unused variable ‘provider’ bluez/btmodule.c:2200: warning: unused variable ‘service_id_str’ bluez/btmodule.c:2199: warning: unused variable ‘name’ bluez/btmodule.c:2205: warning: no return statement in function returning non-void bluez/btmodule.c: At top level: bluez/btmodule.c:2211: error: syntax error before ‘root_uuid’ bluez/btmodule.c:2211: warning: type defaults to ‘int’ in declaration of ‘root_uuid’ bluez/btmodule.c:2211: warning: type defaults to ‘int’ in declaration of ‘l2cap_uuid’ bluez/btmodule.c:2211: warning: type defaults to ‘int’ in declaration of ‘rfcomm_uuid’ bluez/btmodule.c:2211: warning: data definition has no type or storage class bluez/btmodule.c:2212: error: syntax error before ‘*’ token bluez/btmodule.c:2212: warning: type defaults to ‘int’ in declaration of ‘l2cap_list’ bluez/btmodule.c:2213: warning: type defaults to ‘int’ in declaration of ‘rfcomm_list’ bluez/btmodule.c:2214: warning: type defaults to ‘int’ in declaration of ‘root_list’ bluez/btmodule.c:2215: warning: type defaults to ‘int’ in declaration of ‘proto_list’ bluez/btmodule.c:2216: warning: type defaults to ‘int’ in declaration of ‘profile_list’ bluez/btmodule.c:2217: warning: type defaults to ‘int’ in declaration of ‘svc_class_list’ bluez/btmodule.c:2218: warning: type defaults to ‘int’ in declaration of ‘access_proto_list’ bluez/btmodule.c:2218: warning: data definition has no type or storage class bluez/btmodule.c:2219: error: syntax error before ‘*’ token bluez/btmodule.c:2219: warning: type defaults to ‘int’ in declaration of ‘channel’ bluez/btmodule.c:2219: warning: type defaults to ‘int’ in declaration of ‘psm’ bluez/btmodule.c:2219: warning: data definition has no type or storage class bluez/btmodule.c:2221: error: syntax error before ‘record’ bluez/btmodule.c:2221: warning: type defaults to ‘int’ in declaration of ‘record’ bluez/btmodule.c:2221: warning: data definition has no type or storage class bluez/btmodule.c:2222: error: syntax error before ‘*’ token bluez/btmodule.c:2222: warning: type defaults to ‘int’ in declaration of ‘session’ bluez/btmodule.c:2222: warning: data definition has no type or storage class bluez/btmodule.c:2225: error: syntax error before ‘if’ bluez/btmodule.c:2278: error: ‘profiles’ undeclared here (not in a function) bluez/btmodule.c:2278: error: initializer element is not constant bluez/btmodule.c:2279: error: syntax error before ‘if’ bluez/btmodule.c:2320: warning: type defaults to ‘int’ in declaration of ‘_save’ bluez/btmodule.c:2320: warning: initialization makes integer from pointer without a cast bluez/btmodule.c:2320: error: initializer element is not constant bluez/btmodule.c:2320: warning: data definition has no type or storage class bluez/btmodule.c:2321: warning: type defaults to ‘int’ in declaration of ‘res’ bluez/btmodule.c:2321: error: ‘socko’ undeclared here (not in a function) bluez/btmodule.c:2321: error: initializer element is not constant bluez/btmodule.c:2321: warning: data definition has no type or storage class bluez/btmodule.c:2322: warning: type defaults to ‘int’ in declaration of ‘PyEval_RestoreThread’ bluez/btmodule.c:2322: warning: parameter names (without types) in function declaration bluez/btmodule.c:2322: error: conflicting types for ‘PyEval_RestoreThread’ /usr/include/python2.4/ceval.h:119: error: previous declaration of ‘PyEval_RestoreThread’ was here bluez/btmodule.c:2322: warning: data definition has no type or storage class bluez/btmodule.c:2322: error: syntax error before ‘}’ token bluez/btmodule.c:2327: warning: type defaults to ‘int’ in declaration of ‘sockaddr’ bluez/btmodule.c:2327: error: conflicting types for ‘sockaddr’ bluez/btmodule.c:2210: error: previous declaration of ‘sockaddr’ was here bluez/btmodule.c:2327: warning: initialization makes integer from pointer without a cast bluez/btmodule.c:2327: warning: data definition has no type or storage class bluez/btmodule.c:2330: error: syntax error before ‘if’ bluez/btmodule.c:2346: error: syntax error before ‘&’ token bluez/btmodule.c:2351: error: syntax error before ‘&’ token bluez/btmodule.c:2351: warning: type defaults to ‘int’ in declaration of ‘sdp_uuid16_create’ bluez/btmodule.c:2351: warning: function declaration isn’t a prototype bluez/btmodule.c:2351: warning: data definition has no type or storage class bluez/btmodule.c:2352: warning: type defaults to ‘int’ in declaration of ‘root_list’ bluez/btmodule.c:2352: error: conflicting types for ‘root_list’ bluez/btmodule.c:2214: error: previous definition of ‘root_list’ was here bluez/btmodule.c:2352: warning: implicit declaration of function ‘sdp_list_append’ bluez/btmodule.c:2352: error: initializer element is not constant bluez/btmodule.c:2352: warning: data definition has no type or storage class bluez/btmodule.c:2353: error: syntax error before ‘&’ token bluez/btmodule.c:2353: warning: type defaults to ‘int’ in declaration of ‘sdp_set_browse_groups’ bluez/btmodule.c:2353: warning: function declaration isn’t a prototype bluez/btmodule.c:2353: warning: data definition has no type or storage class bluez/btmodule.c:2356: error: syntax error before ‘&’ token bluez/btmodule.c:2356: warning: type defaults to ‘int’ in declaration of ‘sdp_uuid16_create’ bluez/btmodule.c:2356: warning: function declaration isn’t a prototype bluez/btmodule.c:2356: warning: data definition has no type or storage class bluez/btmodule.c:2357: warning: type defaults to ‘int’ in declaration of ‘l2cap_list’ bluez/btmodule.c:2357: error: conflicting types for ‘l2cap_list’ bluez/btmodule.c:2212: error: previous definition of ‘l2cap_list’ was here bluez/btmodule.c:2357: error: initializer element is not constant bluez/btmodule.c:2357: warning: data definition has no type or storage class bluez/btmodule.c:2358: warning: type defaults to ‘int’ in declaration of ‘proto_list’ bluez/btmodule.c:2358: error: conflicting types for ‘proto_list’ bluez/btmodule.c:2215: error: previous definition of ‘proto_list’ was here bluez/btmodule.c:2358: error: initializer element is not constant bluez/btmodule.c:2358: warning: data definition has no type or storage class bluez/btmodule.c:2360: error: syntax error before ‘if’ bluez/btmodule.c:2364: error: syntax error before ‘&’ token bluez/btmodule.c:2364: warning: type defaults to ‘int’ in declaration of ‘sdp_uuid16_create’ bluez/btmodule.c:2364: warning: function declaration isn’t a prototype bluez/btmodule.c:2364: warning: data definition has no type or storage class bluez/btmodule.c:2365: warning: type defaults to ‘int’ in declaration of ‘channel’ bluez/btmodule.c:2365: error: conflicting types for ‘channel’ bluez/btmodule.c:2219: error: previous definition of ‘channel’ was here bluez/btmodule.c:2365: warning: implicit declaration of function ‘sdp_data_alloc’ bluez/btmodule.c:2365: error: ‘SDP_UINT8’ undeclared here (not in a function) bluez/btmodule.c:2365: error: ‘rfcomm_channel’ undeclared here (not in a function) bluez/btmodule.c:2365: error: initializer element is not constant bluez/btmodule.c:2365: warning: data definition has no type or storage class bluez/btmodule.c:2366: warning: type defaults to ‘int’ in declaration of ‘rfcomm_list’ bluez/btmodule.c:2366: error: conflicting types for ‘rfcomm_list’ bluez/btmodule.c:2213: error: previous definition of ‘rfcomm_list’ was here bluez/btmodule.c:2366: error: initializer element is not constant bluez/btmodule.c:2366: warning: data definition has no type or storage class bluez/btmodule.c:2367: warning: type defaults to ‘int’ in declaration of ‘sdp_list_append’ bluez/btmodule.c:2367: warning: parameter names (without types) in function declaration bluez/btmodule.c:2367: warning: data definition has no type or storage class bluez/btmodule.c:2368: warning: type defaults to ‘int’ in declaration of ‘sdp_list_append’ bluez/btmodule.c:2368: warning: parameter names (without types) in function declaration bluez/btmodule.c:2368: warning: data definition has no type or storage class bluez/btmodule.c:2370: error: syntax error before ‘}’ token bluez/btmodule.c:2374: warning: type defaults to ‘int’ in declaration of ‘psm’ bluez/btmodule.c:2374: error: conflicting types for ‘psm’ bluez/btmodule.c:2219: error: previous definition of ‘psm’ was here bluez/btmodule.c:2374: error: ‘SDP_UINT16’ undeclared here (not in a function) bluez/btmodule.c:2374: error: ‘l2cap_psm’ undeclared here (not in a function) bluez/btmodule.c:2374: error: initializer element is not constant bluez/btmodule.c:2374: warning: data definition has no type or storage class bluez/btmodule.c:2375: warning: type defaults to ‘int’ in declaration of ‘sdp_list_append’ bluez/btmodule.c:2375: warning: parameter names (without types) in function declaration bluez/btmodule.c:2375: warning: data definition has no type or storage class bluez/btmodule.c:2376: error: syntax error before ‘}’ token bluez/btmodule.c:2379: error: ‘protocols’ undeclared here (not in a function) bluez/btmodule.c:2379: warning: type defaults to ‘int’ in declaration of ‘extra_protos_array’ bluez/btmodule.c:2379: error: variable-size type declared outside of any function bluez/btmodule.c:2379: warning: data definition has no type or storage class bluez/btmodule.c:2380: error: syntax error before ‘if’ bluez/btmodule.c:2383: error: initializer element is not constant bluez/btmodule.c:2384: error: syntax error before ‘(’ token bluez/btmodule.c:2384: warning: type defaults to ‘int’ in declaration of ‘str2uuid’ bluez/btmodule.c:2384: warning: function declaration isn’t a prototype bluez/btmodule.c:2384: warning: type defaults to ‘int’ in declaration of ‘proto_uuid’ bluez/btmodule.c:2384: error: syntax error before ‘)’ token bluez/btmodule.c:2386: warning: type defaults to ‘int’ in declaration of ‘new_list’ bluez/btmodule.c:2386: warning: data definition has no type or storage class bluez/btmodule.c:2387: warning: type defaults to ‘int’ in declaration of ‘new_list’ bluez/btmodule.c:2387: error: conflicting types for ‘new_list’ bluez/btmodule.c:2386: error: previous declaration of ‘new_list’ was here bluez/btmodule.c:2387: error: initializer element is not constant bluez/btmodule.c:2387: warning: data definition has no type or storage class bluez/btmodule.c:2388: warning: type defaults to ‘int’ in declaration of ‘proto_list’ bluez/btmodule.c:2388: error: conflicting types for ‘proto_list’ bluez/btmodule.c:2215: error: previous definition of ‘proto_list’ was here bluez/btmodule.c:2388: error: initializer element is not constant bluez/btmodule.c:2388: warning: data definition has no type or storage class bluez/btmodule.c:2391: warning: type defaults to ‘int’ in declaration of ‘extra_protos_array’ bluez/btmodule.c:2391: error: variable-size type declared outside of any function bluez/btmodule.c:2391: error: variable-sized object may not be initialized bluez/btmodule.c:2391: error: conflicting types for ‘extra_protos_array’ bluez/btmodule.c:2379: error: previous declaration of ‘extra_protos_array’ was here bluez/btmodule.c:2391: warning: data definition has no type or storage class bluez/btmodule.c:2392: error: syntax error before ‘}’ token bluez/btmodule.c:2395: warning: type defaults to ‘int’ in declaration of ‘access_proto_list’ bluez/btmodule.c:2395: error: conflicting types for ‘access_proto_list’ bluez/btmodule.c:2218: error: previous definition of ‘access_proto_list’ was here bluez/btmodule.c:2395: error: initializer element is not constant bluez/btmodule.c:2395: warning: data definition has no type or storage class bluez/btmodule.c:2396: error: syntax error before ‘&’ token bluez/btmodule.c:2396: warning: type defaults to ‘int’ in declaration of ‘sdp_set_access_protos’ bluez/btmodule.c:2396: warning: function declaration isn’t a prototype bluez/btmodule.c:2396: warning: data definition has no type or storage class bluez/btmodule.c:2401: error: redefinition of ‘item’ bluez/btmodule.c:2383: error: previous definition of ‘item’ was here bluez/btmodule.c:2401: error: ‘service_classes’ undeclared here (not in a function) bluez/btmodule.c:2401: error: initializer element is not constant bluez/btmodule.c:2402: error: syntax error before ‘(’ token bluez/btmodule.c:2402: warning: type defaults to ‘int’ in declaration of ‘str2uuid’ bluez/btmodule.c:2402: warning: function declaration isn’t a prototype bluez/btmodule.c:2402: warning: type defaults to ‘int’ in declaration of ‘svc_class_uuid’ bluez/btmodule.c:2402: error: syntax error before ‘)’ token bluez/btmodule.c:2403: warning: type defaults to ‘int’ in declaration of ‘svc_class_list’ bluez/btmodule.c:2403: error: conflicting types for ‘svc_class_list’ bluez/btmodule.c:2217: error: previous definition of ‘svc_class_list’ was here bluez/btmodule.c:2404: error: initializer element is not constant bluez/btmodule.c:2404: warning: data definition has no type or storage class bluez/btmodule.c:2405: error: syntax error before ‘}’ token bluez/btmodule.c:2406: error: syntax error before ‘&’ token bluez/btmodule.c:2406: warning: type defaults to ‘int’ in declaration of ‘sdp_set_service_classes’ bluez/btmodule.c:2406: warning: function declaration isn’t a prototype bluez/btmodule.c:2406: warning: data definition has no type or storage class bluez/btmodule.c:2411: warning: type defaults to ‘int’ in declaration of ‘profile_desc’ bluez/btmodule.c:2412: error: ‘sdp_profile_desc_t’ undeclared here (not in a function) bluez/btmodule.c:2412: error: syntax error before ‘)’ token bluez/btmodule.c:2413: error: redefinition of ‘tuple’ bluez/btmodule.c:2278: error: previous definition of ‘tuple’ was here bluez/btmodule.c:2413: error: initializer element is not constant bluez/btmodule.c:2414: error: syntax error before string constant bluez/btmodule.c:2415: warning: type defaults to ‘int’ in declaration of ‘PyArg_ParseTuple’ bluez/btmodule.c:2415: warning: function declaration isn’t a prototype bluez/btmodule.c:2415: error: conflicting types for ‘PyArg_ParseTuple’ bluez/btmodule.c:2415: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration /usr/include/python2.4/modsupport.h:13: error: previous declaration of ‘PyArg_ParseTuple’ was here bluez/btmodule.c:2415: warning: data definition has no type or storage class bluez/btmodule.c:2416: error: syntax error before ‘&’ token bluez/btmodule.c:2416: warning: type defaults to ‘int’ in declaration of ‘str2uuid’ bluez/btmodule.c:2416: warning: function declaration isn’t a prototype bluez/btmodule.c:2416: warning: data definition has no type or storage class bluez/btmodule.c:2417: warning: type defaults to ‘int’ in declaration of ‘profile_list’ bluez/btmodule.c:2417: error: conflicting types for ‘profile_list’ bluez/btmodule.c:2216: error: previous definition of ‘profile_list’ was here bluez/btmodule.c:2417: error: initializer element is not constant bluez/btmodule.c:2417: warning: data definition has no type or storage class bluez/btmodule.c:2418: error: syntax error before ‘}’ token bluez/btmodule.c:2419: error: syntax error before ‘&’ token bluez/btmodule.c:2419: warning: type defaults to ‘int’ in declaration of ‘sdp_set_profile_descs’ bluez/btmodule.c:2419: warning: function declaration isn’t a prototype bluez/btmodule.c:2419: warning: data definition has no type or storage class bluez/btmodule.c:2422: error: syntax error before ‘&’ token bluez/btmodule.c:2422: warning: type defaults to ‘int’ in declaration of ‘sdp_set_info_attr’ bluez/btmodule.c:2422: warning: function declaration isn’t a prototype bluez/btmodule.c:2422: warning: data definition has no type or storage class bluez/btmodule.c:2429: warning: type defaults to ‘int’ in declaration of ‘_save’ bluez/btmodule.c:2429: error: redefinition of ‘_save’ bluez/btmodule.c:2320: error: previous definition of ‘_save’ was here bluez/btmodule.c:2429: warning: initialization makes integer from pointer without a cast bluez/btmodule.c:2429: error: initializer element is not constant bluez/btmodule.c:2429: warning: data definition has no type or storage class bluez/btmodule.c:2430: warning: type defaults to ‘int’ in declaration of ‘session’ bluez/btmodule.c:2430: error: conflicting types for ‘session’ bluez/btmodule.c:2222: error: previous definition of ‘session’ was here bluez/btmodule.c:2430: warning: implicit declaration of function ‘sdp_connect’ bluez/btmodule.c:2430: error: ‘BDADDR_ANY’ undeclared here (not in a function) bluez/btmodule.c:2430: error: ‘BDADDR_LOCAL’ undeclared here (not in a function) bluez/btmodule.c:2430: error: initializer element is not constant bluez/btmodule.c:2430: warning: data definition has no type or storage class bluez/btmodule.c:2431: error: syntax error before ‘->’ token bluez/btmodule.c:2432: warning: type defaults to ‘int’ in declaration of ‘err’ bluez/btmodule.c:2432: error: redefinition of ‘err’ bluez/btmodule.c:2223: error: previous definition of ‘err’ was here bluez/btmodule.c:2432: warning: implicit declaration of function ‘sdp_record_register’ bluez/btmodule.c:2432: error: initializer element is not constant bluez/btmodule.c:2432: warning: data definition has no type or storage class bluez/btmodule.c:2433: warning: type defaults to ‘int’ in declaration of ‘PyEval_RestoreThread’ bluez/btmodule.c:2433: warning: parameter names (without types) in function declaration bluez/btmodule.c:2433: error: conflicting types for ‘PyEval_RestoreThread’ /usr/include/python2.4/ceval.h:119: error: previous declaration of ‘PyEval_RestoreThread’ was here bluez/btmodule.c:2433: warning: data definition has no type or storage class bluez/btmodule.c:2433: error: syntax error before ‘}’ token bluez/btmodule.c:2438: error: syntax error before numeric constant bluez/btmodule.c:2438: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2438: warning: function declaration isn’t a prototype bluez/btmodule.c:2438: warning: data definition has no type or storage class bluez/btmodule.c:2439: error: syntax error before numeric constant bluez/btmodule.c:2439: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2439: warning: function declaration isn’t a prototype bluez/btmodule.c:2439: warning: data definition has no type or storage class bluez/btmodule.c:2443: error: syntax error before numeric constant bluez/btmodule.c:2443: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2443: warning: function declaration isn’t a prototype bluez/btmodule.c:2443: warning: data definition has no type or storage class bluez/btmodule.c:2444: error: syntax error before numeric constant bluez/btmodule.c:2444: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2444: warning: function declaration isn’t a prototype bluez/btmodule.c:2444: warning: data definition has no type or storage class bluez/btmodule.c:2445: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2445: warning: parameter names (without types) in function declaration bluez/btmodule.c:2445: warning: data definition has no type or storage class bluez/btmodule.c:2446: warning: type defaults to ‘int’ in declaration of ‘sdp_list_free’ bluez/btmodule.c:2446: warning: parameter names (without types) in function declaration bluez/btmodule.c:2446: warning: data definition has no type or storage class bluez/btmodule.c:2448: error: syntax error before ‘if’ bluez/btmodule.c:2454: error: syntax error before ‘&’ token bluez/btmodule.c: In function ‘init_bluetooth’: bluez/btmodule.c:2608: error: ‘SOL_HCI’ undeclared (first use in this function) bluez/btmodule.c:2609: error: ‘HCI_DATA_DIR’ undeclared (first use in this function) bluez/btmodule.c:2610: error: ‘HCI_TIME_STAMP’ undeclared (first use in this function) bluez/btmodule.c:2611: error: ‘HCI_FILTER’ undeclared (first use in this function) bluez/btmodule.c:2612: error: ‘HCI_MAX_EVENT_SIZE’ undeclared (first use in this function) bluez/btmodule.c:2613: error: ‘HCI_EVENT_HDR_SIZE’ undeclared (first use in this function) bluez/btmodule.c:2615: error: ‘BTPROTO_HCI’ undeclared (first use in this function) bluez/btmodule.c:2616: error: ‘BTPROTO_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:2617: error: ‘BTPROTO_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:2618: error: ‘BTPROTO_SCO’ undeclared (first use in this function) bluez/btmodule.c:3129: error: ‘SOL_L2CAP’ undeclared (first use in this function) bluez/btmodule.c:3130: error: ‘SOL_RFCOMM’ undeclared (first use in this function) bluez/btmodule.c:3131: error: ‘SOL_SCO’ undeclared (first use in this function) bluez/btmodule.c:3132: error: ‘SCO_OPTIONS’ undeclared (first use in this function) bluez/btmodule.c:3133: error: ‘L2CAP_OPTIONS’ undeclared (first use in this function) bluez/btmodule.c:3136: error: ‘HCIDEVUP’ undeclared (first use in this function) bluez/btmodule.c:3137: error: ‘HCIDEVDOWN’ undeclared (first use in this function) bluez/btmodule.c:3138: error: ‘HCIDEVRESET’ undeclared (first use in this function) bluez/btmodule.c:3139: error: ‘HCIDEVRESTAT’ undeclared (first use in this function) bluez/btmodule.c:3140: error: ‘HCIGETDEVLIST’ undeclared (first use in this function) bluez/btmodule.c:3141: error: ‘HCIGETDEVINFO’ undeclared (first use in this function) bluez/btmodule.c:3142: error: ‘HCIGETCONNLIST’ undeclared (first use in this function) bluez/btmodule.c:3143: error: ‘HCIGETCONNINFO’ undeclared (first use in this function) bluez/btmodule.c:3144: error: ‘HCISETRAW’ undeclared (first use in this function) bluez/btmodule.c:3145: error: ‘HCISETSCAN’ undeclared (first use in this function) bluez/btmodule.c:3146: error: ‘HCISETAUTH’ undeclared (first use in this function) bluez/btmodule.c:3147: error: ‘HCISETENCRYPT’ undeclared (first use in this function) bluez/btmodule.c:3148: error: ‘HCISETPTYPE’ undeclared (first use in this function) bluez/btmodule.c:3149: error: ‘HCISETLINKPOL’ undeclared (first use in this function) bluez/btmodule.c:3150: error: ‘HCISETLINKMODE’ undeclared (first use in this function) bluez/btmodule.c:3151: error: ‘HCISETACLMTU’ undeclared (first use in this function) bluez/btmodule.c:3152: error: ‘HCISETSCOMTU’ undeclared (first use in this function) bluez/btmodule.c:3153: error: ‘HCIINQUIRY’ undeclared (first use in this function) bluez/btmodule.c:3155: error: ‘ACL_LINK’ undeclared (first use in this function) bluez/btmodule.c:3156: error: ‘SCO_LINK’ undeclared (first use in this function) bluez/btmodule.c:3159: error: ‘RFCOMM_LM’ undeclared (first use in this function) bluez/btmodule.c:3160: error: ‘RFCOMM_LM_MASTER’ undeclared (first use in this function) bluez/btmodule.c:3161: error: ‘RFCOMM_LM_AUTH’ undeclared (first use in this function) bluez/btmodule.c:3162: error: ‘RFCOMM_LM_ENCRYPT’ undeclared (first use in this function) bluez/btmodule.c:3163: error: ‘RFCOMM_LM_TRUSTED’ undeclared (first use in this function) bluez/btmodule.c:3164: error: ‘RFCOMM_LM_RELIABLE’ undeclared (first use in this function) bluez/btmodule.c:3165: error: ‘RFCOMM_LM_SECURE’ undeclared (first use in this function) bluez/btmodule.c:3168: error: ‘L2CAP_LM’ undeclared (first use in this function) bluez/btmodule.c:3169: error: ‘L2CAP_LM_MASTER’ undeclared (first use in this function) bluez/btmodule.c:3170: error: ‘L2CAP_LM_AUTH’ undeclared (first use in this function) bluez/btmodule.c:3171: error: ‘L2CAP_LM_ENCRYPT’ undeclared (first use in this function) bluez/btmodule.c:3172: error: ‘L2CAP_LM_TRUSTED’ undeclared (first use in this function) bluez/btmodule.c:3173: error: ‘L2CAP_LM_RELIABLE’ undeclared (first use in this function) bluez/btmodule.c:3174: error: ‘L2CAP_LM_SECURE’ undeclared (first use in this function) bluez/btmodule.c:3176: error: ‘L2CAP_COMMAND_REJ’ undeclared (first use in this function) bluez/btmodule.c:3177: error: ‘L2CAP_CONN_REQ’ undeclared (first use in this function) bluez/btmodule.c:3178: error: ‘L2CAP_CONN_RSP’ undeclared (first use in this function) bluez/btmodule.c:3179: error: ‘L2CAP_CONF_REQ’ undeclared (first use in this function) bluez/btmodule.c:3180: error: ‘L2CAP_CONF_RSP’ undeclared (first use in this function) bluez/btmodule.c:3181: error: ‘L2CAP_DISCONN_REQ’ undeclared (first use in this function) bluez/btmodule.c:3182: error: ‘L2CAP_DISCONN_RSP’ undeclared (first use in this function) bluez/btmodule.c:3183: error: ‘L2CAP_ECHO_REQ’ undeclared (first use in this function) bluez/btmodule.c:3184: error: ‘L2CAP_ECHO_RSP’ undeclared (first use in this function) bluez/btmodule.c:3185: error: ‘L2CAP_INFO_REQ’ undeclared (first use in this function) bluez/btmodule.c:3186: error: ‘L2CAP_INFO_RSP’ undeclared (first use in this function) error: command 'gcc' failed with exit status 1