Advertisement
Guest User

Untitled

a guest
Mar 8th, 2012
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.52 KB | None | 0 0
  1. $sudo python setup.py installrunning install
  2. running build
  3. running build_ext
  4. building 'usb' extension
  5. llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pyusb.c -o build/temp.macosx-10.7-intel-2.7/pyusb.o -I/sw/include -I/usr/local/lib -l/opt/local/lib
  6. In file included from pyusb.c:11:
  7. pyusb.h:6:17: error: usb.h: No such file or directory
  8. In file included from pyusb.c:11:
  9. pyusb.h:121: error: expected specifier-qualifier-list before ‘usb_dev_handle’
  10. pyusb.h:132: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  11. pyusb.h:132: warning: its scope is only this definition or declaration, which is probably not what you want
  12. pyusb.h:136: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  13. pyusb.h:141: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  14. pyusb.h:145: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  15. pyusb.h:150: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  16. pyusb.h:154: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  17. pyusb.h:172: warning: ‘struct usb_bus’ declared inside parameter list
  18. pyusb.c: In function ‘PyUSB_Error’:
  19. pyusb.c:38: warning: implicit declaration of function ‘usb_strerror’
  20. pyusb.c:38: warning: initialization makes pointer from integer without a cast
  21. pyusb.c: In function ‘installModuleConstants’:
  22. pyusb.c:263: error: ‘USB_CLASS_PER_INTERFACE’ undeclared (first use in this function)
  23. pyusb.c:263: error: (Each undeclared identifier is reported only once
  24. pyusb.c:263: error: for each function it appears in.)
  25. pyusb.c:264: error: ‘USB_CLASS_AUDIO’ undeclared (first use in this function)
  26. pyusb.c:265: error: ‘USB_CLASS_COMM’ undeclared (first use in this function)
  27. pyusb.c:266: error: ‘USB_CLASS_HID’ undeclared (first use in this function)
  28. pyusb.c:267: error: ‘USB_CLASS_PRINTER’ undeclared (first use in this function)
  29. pyusb.c:268: error: ‘USB_CLASS_MASS_STORAGE’ undeclared (first use in this function)
  30. pyusb.c:269: error: ‘USB_CLASS_HUB’ undeclared (first use in this function)
  31. pyusb.c:270: error: ‘USB_CLASS_DATA’ undeclared (first use in this function)
  32. pyusb.c:271: error: ‘USB_CLASS_VENDOR_SPEC’ undeclared (first use in this function)
  33. pyusb.c:272: error: ‘USB_DT_DEVICE’ undeclared (first use in this function)
  34. pyusb.c:273: error: ‘USB_DT_CONFIG’ undeclared (first use in this function)
  35. pyusb.c:274: error: ‘USB_DT_STRING’ undeclared (first use in this function)
  36. pyusb.c:275: error: ‘USB_DT_INTERFACE’ undeclared (first use in this function)
  37. pyusb.c:276: error: ‘USB_DT_ENDPOINT’ undeclared (first use in this function)
  38. pyusb.c:277: error: ‘USB_DT_HID’ undeclared (first use in this function)
  39. pyusb.c:278: error: ‘USB_DT_REPORT’ undeclared (first use in this function)
  40. pyusb.c:279: error: ‘USB_DT_PHYSICAL’ undeclared (first use in this function)
  41. pyusb.c:280: error: ‘USB_DT_HUB’ undeclared (first use in this function)
  42. pyusb.c:281: error: ‘USB_DT_DEVICE_SIZE’ undeclared (first use in this function)
  43. pyusb.c:282: error: ‘USB_DT_CONFIG_SIZE’ undeclared (first use in this function)
  44. pyusb.c:283: error: ‘USB_DT_INTERFACE_SIZE’ undeclared (first use in this function)
  45. pyusb.c:284: error: ‘USB_DT_ENDPOINT_SIZE’ undeclared (first use in this function)
  46. pyusb.c:285: error: ‘USB_DT_ENDPOINT_AUDIO_SIZE’ undeclared (first use in this function)
  47. pyusb.c:286: error: ‘USB_DT_HUB_NONVAR_SIZE’ undeclared (first use in this function)
  48. pyusb.c:287: error: ‘USB_MAXENDPOINTS’ undeclared (first use in this function)
  49. pyusb.c:288: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
  50. pyusb.c:289: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
  51. pyusb.c:290: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
  52. pyusb.c:291: error: ‘USB_ENDPOINT_TYPE_CONTROL’ undeclared (first use in this function)
  53. pyusb.c:292: error: ‘USB_ENDPOINT_TYPE_ISOCHRONOUS’ undeclared (first use in this function)
  54. pyusb.c:293: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
  55. pyusb.c:294: error: ‘USB_ENDPOINT_TYPE_INTERRUPT’ undeclared (first use in this function)
  56. pyusb.c:295: error: ‘USB_MAXINTERFACES’ undeclared (first use in this function)
  57. pyusb.c:296: error: ‘USB_MAXALTSETTING’ undeclared (first use in this function)
  58. pyusb.c:297: error: ‘USB_MAXCONFIG’ undeclared (first use in this function)
  59. pyusb.c:298: error: ‘USB_REQ_GET_STATUS’ undeclared (first use in this function)
  60. pyusb.c:299: error: ‘USB_REQ_CLEAR_FEATURE’ undeclared (first use in this function)
  61. pyusb.c:300: error: ‘USB_REQ_SET_FEATURE’ undeclared (first use in this function)
  62. pyusb.c:301: error: ‘USB_REQ_SET_ADDRESS’ undeclared (first use in this function)
  63. pyusb.c:302: error: ‘USB_REQ_GET_DESCRIPTOR’ undeclared (first use in this function)
  64. pyusb.c:303: error: ‘USB_REQ_SET_DESCRIPTOR’ undeclared (first use in this function)
  65. pyusb.c:304: error: ‘USB_REQ_GET_CONFIGURATION’ undeclared (first use in this function)
  66. pyusb.c:305: error: ‘USB_REQ_SET_CONFIGURATION’ undeclared (first use in this function)
  67. pyusb.c:306: error: ‘USB_REQ_GET_INTERFACE’ undeclared (first use in this function)
  68. pyusb.c:307: error: ‘USB_REQ_SET_INTERFACE’ undeclared (first use in this function)
  69. pyusb.c:308: error: ‘USB_REQ_SYNCH_FRAME’ undeclared (first use in this function)
  70. pyusb.c:309: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
  71. pyusb.c:310: error: ‘USB_TYPE_CLASS’ undeclared (first use in this function)
  72. pyusb.c:311: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
  73. pyusb.c:312: error: ‘USB_TYPE_RESERVED’ undeclared (first use in this function)
  74. pyusb.c:313: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
  75. pyusb.c:314: error: ‘USB_RECIP_INTERFACE’ undeclared (first use in this function)
  76. pyusb.c:315: error: ‘USB_RECIP_ENDPOINT’ undeclared (first use in this function)
  77. pyusb.c:316: error: ‘USB_RECIP_OTHER’ undeclared (first use in this function)
  78. pyusb.c:317: error: ‘USB_ENDPOINT_IN’ undeclared (first use in this function)
  79. pyusb.c:318: error: ‘USB_ENDPOINT_OUT’ undeclared (first use in this function)
  80. pyusb.c:319: error: ‘USB_ERROR_BEGIN’ undeclared (first use in this function)
  81. pyusb.c: At top level:
  82. pyusb.c:422: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  83. pyusb.c:423: error: conflicting types for ‘set_Endpoint_fields’
  84. pyusb.h:132: error: previous declaration of ‘set_Endpoint_fields’ was here
  85. pyusb.c: In function ‘set_Endpoint_fields’:
  86. pyusb.c:424: error: dereferencing pointer to incomplete type
  87. pyusb.c:425: error: dereferencing pointer to incomplete type
  88. pyusb.c:426: error: dereferencing pointer to incomplete type
  89. pyusb.c:427: error: dereferencing pointer to incomplete type
  90. pyusb.c:428: error: dereferencing pointer to incomplete type
  91. pyusb.c: At top level:
  92. pyusb.c:434: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  93. pyusb.c:435: error: conflicting types for ‘new_Endpoint’
  94. pyusb.h:136: error: previous declaration of ‘new_Endpoint’ was here
  95. pyusb.c: In function ‘new_Endpoint’:
  96. pyusb.c:442: warning: passing argument 2 of ‘set_Endpoint_fields’ from incompatible pointer type
  97. pyusb.c: At top level:
  98. pyusb.c:562: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  99. pyusb.c:563: error: conflicting types for ‘set_Interface_fields’
  100. pyusb.h:141: error: previous declaration of ‘set_Interface_fields’ was here
  101. pyusb.c: In function ‘set_Interface_fields’:
  102. pyusb.c:566: error: dereferencing pointer to incomplete type
  103. pyusb.c:567: error: dereferencing pointer to incomplete type
  104. pyusb.c:568: error: dereferencing pointer to incomplete type
  105. pyusb.c:569: error: dereferencing pointer to incomplete type
  106. pyusb.c:570: error: dereferencing pointer to incomplete type
  107. pyusb.c:571: error: dereferencing pointer to incomplete type
  108. pyusb.c:573: error: dereferencing pointer to incomplete type
  109. pyusb.c:579: error: dereferencing pointer to incomplete type
  110. pyusb.c:580: error: dereferencing pointer to incomplete type
  111. pyusb.c: At top level:
  112. pyusb.c:586: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  113. pyusb.c:587: error: conflicting types for ‘new_Interface’
  114. pyusb.h:145: error: previous declaration of ‘new_Interface’ was here
  115. pyusb.c: In function ‘new_Interface’:
  116. pyusb.c:593: warning: passing argument 2 of ‘set_Interface_fields’ from incompatible pointer type
  117. pyusb.c: At top level:
  118. pyusb.c:721: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  119. pyusb.c:722: error: conflicting types for ‘set_Configuration_fields’
  120. pyusb.h:150: error: previous declaration of ‘set_Configuration_fields’ was here
  121. pyusb.c: In function ‘set_Configuration_fields’:
  122. pyusb.c:726: error: dereferencing pointer to incomplete type
  123. pyusb.c:727: error: dereferencing pointer to incomplete type
  124. pyusb.c:728: error: dereferencing pointer to incomplete type
  125. pyusb.c:729: error: dereferencing pointer to incomplete type
  126. pyusb.c:730: error: dereferencing pointer to incomplete type
  127. pyusb.c:731: error: dereferencing pointer to incomplete type
  128. pyusb.c:733: error: dereferencing pointer to incomplete type
  129. pyusb.c:737: error: dereferencing pointer to incomplete type
  130. pyusb.c:738: error: dereferencing pointer to incomplete type
  131. pyusb.c:744: error: dereferencing pointer to incomplete type
  132. pyusb.c: At top level:
  133. pyusb.c:753: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  134. pyusb.c:754: error: conflicting types for ‘new_Configuration’
  135. pyusb.h:154: error: previous declaration of ‘new_Configuration’ was here
  136. pyusb.c: In function ‘new_Configuration’:
  137. pyusb.c:760: warning: passing argument 2 of ‘set_Configuration_fields’ from incompatible pointer type
  138. pyusb.c: In function ‘set_Device_fields’:
  139. pyusb.c:948: error: dereferencing pointer to incomplete type
  140. pyusb.c:951: error: dereferencing pointer to incomplete type
  141. pyusb.c:952: error: dereferencing pointer to incomplete type
  142. pyusb.c:954: error: dereferencing pointer to incomplete type
  143. pyusb.c:955: error: dereferencing pointer to incomplete type
  144. pyusb.c:958: error: dereferencing pointer to incomplete type
  145. pyusb.c:959: error: dereferencing pointer to incomplete type
  146. pyusb.c:961: error: dereferencing pointer to incomplete type
  147. pyusb.c:962: error: dereferencing pointer to incomplete type
  148. pyusb.c:965: error: dereferencing pointer to incomplete type
  149. pyusb.c:966: error: dereferencing pointer to incomplete type
  150. pyusb.c:967: error: dereferencing pointer to incomplete type
  151. pyusb.c:968: error: dereferencing pointer to incomplete type
  152. pyusb.c:969: error: dereferencing pointer to incomplete type
  153. pyusb.c:970: error: dereferencing pointer to incomplete type
  154. pyusb.c:971: error: dereferencing pointer to incomplete type
  155. pyusb.c:972: error: dereferencing pointer to incomplete type
  156. pyusb.c:973: error: dereferencing pointer to incomplete type
  157. pyusb.c:974: error: dereferencing pointer to incomplete type
  158. pyusb.c:974: error: dereferencing pointer to incomplete type
  159. pyusb.c:976: error: dereferencing pointer to incomplete type
  160. pyusb.c:978: error: dereferencing pointer to incomplete type
  161. pyusb.c:983: error: dereferencing pointer to incomplete type
  162. pyusb.c:987: error: dereferencing pointer to incomplete type
  163. pyusb.c:988: error: dereferencing pointer to incomplete type
  164. pyusb.c: At top level:
  165. pyusb.c:1097: warning: ‘struct usb_bus’ declared inside parameter list
  166. pyusb.c:1098: error: conflicting types for ‘new_Bus’
  167. pyusb.h:172: error: previous declaration of ‘new_Bus’ was here
  168. pyusb.c: In function ‘new_Bus’:
  169. pyusb.c:1106: error: dereferencing pointer to incomplete type
  170. pyusb.c:1107: error: dereferencing pointer to incomplete type
  171. pyusb.c:1107: error: dereferencing pointer to incomplete type
  172. pyusb.c:1108: error: dereferencing pointer to incomplete type
  173. pyusb.c:1108: warning: left-hand operand of comma expression has no effect
  174. pyusb.c:1108: warning: value computed is not used
  175. pyusb.c:1108: error: dereferencing pointer to incomplete type
  176. pyusb.c:1116: error: dereferencing pointer to incomplete type
  177. pyusb.c:1116: warning: left-hand operand of comma expression has no effect
  178. pyusb.c:1116: warning: value computed is not used
  179. pyusb.c:1116: error: dereferencing pointer to incomplete type
  180. pyusb.c:1116: warning: left-hand operand of comma expression has no effect
  181. pyusb.c:1116: warning: value computed is not used
  182. pyusb.c: In function ‘Py_usb_DeviceHandle_controlMsg’:
  183. pyusb.c:1215: warning: implicit declaration of function ‘usb_control_msg’
  184. pyusb.c:1215: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  185. pyusb.c: In function ‘Py_usb_DeviceHandle_setConfiguration’:
  186. pyusb.c:1269: warning: implicit declaration of function ‘usb_set_configuration’
  187. pyusb.c:1269: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  188. pyusb.c: In function ‘Py_usb_DeviceHandle_claimInterface’:
  189. pyusb.c:1307: warning: implicit declaration of function ‘usb_claim_interface’
  190. pyusb.c:1307: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  191. pyusb.c:1312: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  192. pyusb.c: In function ‘Py_usb_DeviceHandle_detachKernelDriver’:
  193. pyusb.c:1327: warning: unused variable ‘_self’
  194. pyusb.c: In function ‘Py_usb_DeviceHandle_releaseInterface’:
  195. pyusb.c:1368: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  196. pyusb.c:1371: warning: implicit declaration of function ‘usb_release_interface’
  197. pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  198. pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  199. pyusb.c:1378: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  200. pyusb.c: In function ‘Py_usb_DeviceHandle_setAltInterface’:
  201. pyusb.c:1415: warning: implicit declaration of function ‘usb_set_altinterface’
  202. pyusb.c:1415: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  203. pyusb.c: In function ‘Py_usb_DeviceHandle_bulkWrite’:
  204. pyusb.c:1466: warning: implicit declaration of function ‘usb_bulk_write’
  205. pyusb.c:1466: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  206. pyusb.c: In function ‘Py_usb_DeviceHandle_bulkRead’:
  207. pyusb.c:1519: warning: implicit declaration of function ‘usb_bulk_read’
  208. pyusb.c:1519: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  209. pyusb.c: In function ‘Py_usb_DeviceHandle_interruptWrite’:
  210. pyusb.c:1574: warning: implicit declaration of function ‘usb_interrupt_write’
  211. pyusb.c:1574: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  212. pyusb.c: In function ‘Py_usb_DeviceHandle_interruptRead’:
  213. pyusb.c:1626: warning: implicit declaration of function ‘usb_interrupt_read’
  214. pyusb.c:1626: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  215. pyusb.c: In function ‘Py_usb_DeviceHandle_resetEndpoint’:
  216. pyusb.c:1661: warning: implicit declaration of function ‘usb_resetep’
  217. pyusb.c:1661: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  218. pyusb.c: In function ‘Py_usb_DeviceHandle_reset’:
  219. pyusb.c:1680: warning: implicit declaration of function ‘usb_reset’
  220. pyusb.c:1680: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  221. pyusb.c: In function ‘Py_usb_DeviceHandle_clearHalt’:
  222. pyusb.c:1712: warning: implicit declaration of function ‘usb_clear_halt’
  223. pyusb.c:1712: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  224. pyusb.c: In function ‘Py_usb_DeviceHandle_getString’:
  225. pyusb.c:1769: warning: implicit declaration of function ‘usb_get_string_simple’
  226. pyusb.c:1769: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  227. pyusb.c:1773: warning: implicit declaration of function ‘usb_get_string’
  228. pyusb.c:1773: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  229. pyusb.c: In function ‘Py_usb_DeviceHandle_getDescriptor’:
  230. pyusb.c:1844: warning: implicit declaration of function ‘usb_get_descriptor’
  231. pyusb.c:1844: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  232. pyusb.c:1846: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
  233. pyusb.c:1846: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  234. pyusb.c: In function ‘Py_usb_DeviceHandle_del’:
  235. pyusb.c:2021: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  236. pyusb.c:2024: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  237. pyusb.c:2025: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  238. pyusb.c:2026: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  239. pyusb.c:2029: warning: implicit declaration of function ‘usb_close’
  240. pyusb.c:2029: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  241. pyusb.c: In function ‘new_DeviceHandle’:
  242. pyusb.c:2095: warning: implicit declaration of function ‘usb_open’
  243. pyusb.c:2095: warning: assignment makes pointer from integer without a cast
  244. pyusb.c:2103: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  245. pyusb.c:2104: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  246. pyusb.c: In function ‘busses’:
  247. pyusb.c:2124: warning: implicit declaration of function ‘usb_find_busses’
  248. pyusb.c:2131: warning: implicit declaration of function ‘usb_find_devices’
  249. pyusb.c:2138: warning: implicit declaration of function ‘usb_get_busses’
  250. pyusb.c:2138: warning: assignment makes pointer from integer without a cast
  251. pyusb.c:2145: error: dereferencing pointer to incomplete type
  252. pyusb.c:2149: error: dereferencing pointer to incomplete type
  253. pyusb.c:2150: warning: passing argument 1 of ‘new_Bus’ from incompatible pointer type
  254. pyusb.c: In function ‘initusb’:
  255. pyusb.c:2210: warning: implicit declaration of function ‘usb_init’
  256. In file included from pyusb.c:11:
  257. pyusb.h:6:17: error: usb.h: No such file or directory
  258. In file included from pyusb.c:11:
  259. pyusb.h:121: error: expected specifier-qualifier-list before ‘usb_dev_handle’
  260. pyusb.h:132: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  261. pyusb.h:132: warning: its scope is only this definition or declaration, which is probably not what you want
  262. pyusb.h:136: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  263. pyusb.h:141: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  264. pyusb.h:145: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  265. pyusb.h:150: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  266. pyusb.h:154: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  267. pyusb.h:172: warning: ‘struct usb_bus’ declared inside parameter list
  268. pyusb.c: In function ‘PyUSB_Error’:
  269. pyusb.c:38: warning: implicit declaration of function ‘usb_strerror’
  270. pyusb.c:38: warning: initialization makes pointer from integer without a cast
  271. pyusb.c: In function ‘py_NumberAsInt’:
  272. pyusb.c:105: warning: implicit conversion shortens 64-bit value into a 32-bit value
  273. pyusb.c: In function ‘getBuffer’:
  274. pyusb.c:178: warning: implicit conversion shortens 64-bit value into a 32-bit value
  275. pyusb.c: In function ‘installModuleConstants’:
  276. pyusb.c:263: error: ‘USB_CLASS_PER_INTERFACE’ undeclared (first use in this function)
  277. pyusb.c:263: error: (Each undeclared identifier is reported only once
  278. pyusb.c:263: error: for each function it appears in.)
  279. pyusb.c:264: error: ‘USB_CLASS_AUDIO’ undeclared (first use in this function)
  280. pyusb.c:265: error: ‘USB_CLASS_COMM’ undeclared (first use in this function)
  281. pyusb.c:266: error: ‘USB_CLASS_HID’ undeclared (first use in this function)
  282. pyusb.c:267: error: ‘USB_CLASS_PRINTER’ undeclared (first use in this function)
  283. pyusb.c:268: error: ‘USB_CLASS_MASS_STORAGE’ undeclared (first use in this function)
  284. pyusb.c:269: error: ‘USB_CLASS_HUB’ undeclared (first use in this function)
  285. pyusb.c:270: error: ‘USB_CLASS_DATA’ undeclared (first use in this function)
  286. pyusb.c:271: error: ‘USB_CLASS_VENDOR_SPEC’ undeclared (first use in this function)
  287. pyusb.c:272: error: ‘USB_DT_DEVICE’ undeclared (first use in this function)
  288. pyusb.c:273: error: ‘USB_DT_CONFIG’ undeclared (first use in this function)
  289. pyusb.c:274: error: ‘USB_DT_STRING’ undeclared (first use in this function)
  290. pyusb.c:275: error: ‘USB_DT_INTERFACE’ undeclared (first use in this function)
  291. pyusb.c:276: error: ‘USB_DT_ENDPOINT’ undeclared (first use in this function)
  292. pyusb.c:277: error: ‘USB_DT_HID’ undeclared (first use in this function)
  293. pyusb.c:278: error: ‘USB_DT_REPORT’ undeclared (first use in this function)
  294. pyusb.c:279: error: ‘USB_DT_PHYSICAL’ undeclared (first use in this function)
  295. pyusb.c:280: error: ‘USB_DT_HUB’ undeclared (first use in this function)
  296. pyusb.c:281: error: ‘USB_DT_DEVICE_SIZE’ undeclared (first use in this function)
  297. pyusb.c:282: error: ‘USB_DT_CONFIG_SIZE’ undeclared (first use in this function)
  298. pyusb.c:283: error: ‘USB_DT_INTERFACE_SIZE’ undeclared (first use in this function)
  299. pyusb.c:284: error: ‘USB_DT_ENDPOINT_SIZE’ undeclared (first use in this function)
  300. pyusb.c:285: error: ‘USB_DT_ENDPOINT_AUDIO_SIZE’ undeclared (first use in this function)
  301. pyusb.c:286: error: ‘USB_DT_HUB_NONVAR_SIZE’ undeclared (first use in this function)
  302. pyusb.c:287: error: ‘USB_MAXENDPOINTS’ undeclared (first use in this function)
  303. pyusb.c:288: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
  304. pyusb.c:289: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
  305. pyusb.c:290: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
  306. pyusb.c:291: error: ‘USB_ENDPOINT_TYPE_CONTROL’ undeclared (first use in this function)
  307. pyusb.c:292: error: ‘USB_ENDPOINT_TYPE_ISOCHRONOUS’ undeclared (first use in this function)
  308. pyusb.c:293: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
  309. pyusb.c:294: error: ‘USB_ENDPOINT_TYPE_INTERRUPT’ undeclared (first use in this function)
  310. pyusb.c:295: error: ‘USB_MAXINTERFACES’ undeclared (first use in this function)
  311. pyusb.c:296: error: ‘USB_MAXALTSETTING’ undeclared (first use in this function)
  312. pyusb.c:297: error: ‘USB_MAXCONFIG’ undeclared (first use in this function)
  313. pyusb.c:298: error: ‘USB_REQ_GET_STATUS’ undeclared (first use in this function)
  314. pyusb.c:299: error: ‘USB_REQ_CLEAR_FEATURE’ undeclared (first use in this function)
  315. pyusb.c:300: error: ‘USB_REQ_SET_FEATURE’ undeclared (first use in this function)
  316. pyusb.c:301: error: ‘USB_REQ_SET_ADDRESS’ undeclared (first use in this function)
  317. pyusb.c:302: error: ‘USB_REQ_GET_DESCRIPTOR’ undeclared (first use in this function)
  318. pyusb.c:303: error: ‘USB_REQ_SET_DESCRIPTOR’ undeclared (first use in this function)
  319. pyusb.c:304: error: ‘USB_REQ_GET_CONFIGURATION’ undeclared (first use in this function)
  320. pyusb.c:305: error: ‘USB_REQ_SET_CONFIGURATION’ undeclared (first use in this function)
  321. pyusb.c:306: error: ‘USB_REQ_GET_INTERFACE’ undeclared (first use in this function)
  322. pyusb.c:307: error: ‘USB_REQ_SET_INTERFACE’ undeclared (first use in this function)
  323. pyusb.c:308: error: ‘USB_REQ_SYNCH_FRAME’ undeclared (first use in this function)
  324. pyusb.c:309: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
  325. pyusb.c:310: error: ‘USB_TYPE_CLASS’ undeclared (first use in this function)
  326. pyusb.c:311: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
  327. pyusb.c:312: error: ‘USB_TYPE_RESERVED’ undeclared (first use in this function)
  328. pyusb.c:313: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
  329. pyusb.c:314: error: ‘USB_RECIP_INTERFACE’ undeclared (first use in this function)
  330. pyusb.c:315: error: ‘USB_RECIP_ENDPOINT’ undeclared (first use in this function)
  331. pyusb.c:316: error: ‘USB_RECIP_OTHER’ undeclared (first use in this function)
  332. pyusb.c:317: error: ‘USB_ENDPOINT_IN’ undeclared (first use in this function)
  333. pyusb.c:318: error: ‘USB_ENDPOINT_OUT’ undeclared (first use in this function)
  334. pyusb.c:319: error: ‘USB_ERROR_BEGIN’ undeclared (first use in this function)
  335. pyusb.c: At top level:
  336. pyusb.c:422: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  337. pyusb.c:423: error: conflicting types for ‘set_Endpoint_fields’
  338. pyusb.h:132: error: previous declaration of ‘set_Endpoint_fields’ was here
  339. pyusb.c: In function ‘set_Endpoint_fields’:
  340. pyusb.c:424: error: dereferencing pointer to incomplete type
  341. pyusb.c:425: error: dereferencing pointer to incomplete type
  342. pyusb.c:426: error: dereferencing pointer to incomplete type
  343. pyusb.c:427: error: dereferencing pointer to incomplete type
  344. pyusb.c:428: error: dereferencing pointer to incomplete type
  345. pyusb.c: At top level:
  346. pyusb.c:434: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
  347. pyusb.c:435: error: conflicting types for ‘new_Endpoint’
  348. pyusb.h:136: error: previous declaration of ‘new_Endpoint’ was here
  349. pyusb.c: In function ‘new_Endpoint’:
  350. pyusb.c:442: warning: passing argument 2 of ‘set_Endpoint_fields’ from incompatible pointer type
  351. pyusb.c: At top level:
  352. pyusb.c:562: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  353. pyusb.c:563: error: conflicting types for ‘set_Interface_fields’
  354. pyusb.h:141: error: previous declaration of ‘set_Interface_fields’ was here
  355. pyusb.c: In function ‘set_Interface_fields’:
  356. pyusb.c:566: error: dereferencing pointer to incomplete type
  357. pyusb.c:567: error: dereferencing pointer to incomplete type
  358. pyusb.c:568: error: dereferencing pointer to incomplete type
  359. pyusb.c:569: error: dereferencing pointer to incomplete type
  360. pyusb.c:570: error: dereferencing pointer to incomplete type
  361. pyusb.c:571: error: dereferencing pointer to incomplete type
  362. pyusb.c:573: error: dereferencing pointer to incomplete type
  363. pyusb.c:579: error: dereferencing pointer to incomplete type
  364. pyusb.c:580: error: dereferencing pointer to incomplete type
  365. pyusb.c: At top level:
  366. pyusb.c:586: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
  367. pyusb.c:587: error: conflicting types for ‘new_Interface’
  368. pyusb.h:145: error: previous declaration of ‘new_Interface’ was here
  369. pyusb.c: In function ‘new_Interface’:
  370. pyusb.c:593: warning: passing argument 2 of ‘set_Interface_fields’ from incompatible pointer type
  371. pyusb.c: At top level:
  372. pyusb.c:721: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  373. pyusb.c:722: error: conflicting types for ‘set_Configuration_fields’
  374. pyusb.h:150: error: previous declaration of ‘set_Configuration_fields’ was here
  375. pyusb.c: In function ‘set_Configuration_fields’:
  376. pyusb.c:726: error: dereferencing pointer to incomplete type
  377. pyusb.c:727: error: dereferencing pointer to incomplete type
  378. pyusb.c:728: error: dereferencing pointer to incomplete type
  379. pyusb.c:729: error: dereferencing pointer to incomplete type
  380. pyusb.c:730: error: dereferencing pointer to incomplete type
  381. pyusb.c:731: error: dereferencing pointer to incomplete type
  382. pyusb.c:733: error: dereferencing pointer to incomplete type
  383. pyusb.c:737: error: dereferencing pointer to incomplete type
  384. pyusb.c:738: error: dereferencing pointer to incomplete type
  385. pyusb.c:744: error: dereferencing pointer to incomplete type
  386. pyusb.c: At top level:
  387. pyusb.c:753: warning: ‘struct usb_config_descriptor’ declared inside parameter list
  388. pyusb.c:754: error: conflicting types for ‘new_Configuration’
  389. pyusb.h:154: error: previous declaration of ‘new_Configuration’ was here
  390. pyusb.c: In function ‘new_Configuration’:
  391. pyusb.c:760: warning: passing argument 2 of ‘set_Configuration_fields’ from incompatible pointer type
  392. pyusb.c: In function ‘set_Device_fields’:
  393. pyusb.c:948: error: dereferencing pointer to incomplete type
  394. pyusb.c:951: error: dereferencing pointer to incomplete type
  395. pyusb.c:952: error: dereferencing pointer to incomplete type
  396. pyusb.c:954: error: dereferencing pointer to incomplete type
  397. pyusb.c:955: error: dereferencing pointer to incomplete type
  398. pyusb.c:958: error: dereferencing pointer to incomplete type
  399. pyusb.c:959: error: dereferencing pointer to incomplete type
  400. pyusb.c:961: error: dereferencing pointer to incomplete type
  401. pyusb.c:962: error: dereferencing pointer to incomplete type
  402. pyusb.c:965: error: dereferencing pointer to incomplete type
  403. pyusb.c:966: error: dereferencing pointer to incomplete type
  404. pyusb.c:967: error: dereferencing pointer to incomplete type
  405. pyusb.c:968: error: dereferencing pointer to incomplete type
  406. pyusb.c:969: error: dereferencing pointer to incomplete type
  407. pyusb.c:970: error: dereferencing pointer to incomplete type
  408. pyusb.c:971: error: dereferencing pointer to incomplete type
  409. pyusb.c:972: error: dereferencing pointer to incomplete type
  410. pyusb.c:973: error: dereferencing pointer to incomplete type
  411. pyusb.c:974: error: dereferencing pointer to incomplete type
  412. pyusb.c:974: error: dereferencing pointer to incomplete type
  413. pyusb.c:976: error: dereferencing pointer to incomplete type
  414. pyusb.c:978: error: dereferencing pointer to incomplete type
  415. pyusb.c:983: error: dereferencing pointer to incomplete type
  416. pyusb.c:987: error: dereferencing pointer to incomplete type
  417. pyusb.c:988: error: dereferencing pointer to incomplete type
  418. pyusb.c: At top level:
  419. pyusb.c:1097: warning: ‘struct usb_bus’ declared inside parameter list
  420. pyusb.c:1098: error: conflicting types for ‘new_Bus’
  421. pyusb.h:172: error: previous declaration of ‘new_Bus’ was here
  422. pyusb.c: In function ‘new_Bus’:
  423. pyusb.c:1106: error: dereferencing pointer to incomplete type
  424. pyusb.c:1107: error: dereferencing pointer to incomplete type
  425. pyusb.c:1107: error: dereferencing pointer to incomplete type
  426. pyusb.c:1108: error: dereferencing pointer to incomplete type
  427. pyusb.c:1108: warning: left-hand operand of comma expression has no effect
  428. pyusb.c:1108: warning: value computed is not used
  429. pyusb.c:1108: error: dereferencing pointer to incomplete type
  430. pyusb.c:1116: error: dereferencing pointer to incomplete type
  431. pyusb.c:1116: warning: left-hand operand of comma expression has no effect
  432. pyusb.c:1116: warning: value computed is not used
  433. pyusb.c:1116: error: dereferencing pointer to incomplete type
  434. pyusb.c:1116: warning: left-hand operand of comma expression has no effect
  435. pyusb.c:1116: warning: value computed is not used
  436. pyusb.c: In function ‘Py_usb_DeviceHandle_controlMsg’:
  437. pyusb.c:1215: warning: implicit declaration of function ‘usb_control_msg’
  438. pyusb.c:1215: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  439. pyusb.c: In function ‘Py_usb_DeviceHandle_setConfiguration’:
  440. pyusb.c:1269: warning: implicit declaration of function ‘usb_set_configuration’
  441. pyusb.c:1269: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  442. pyusb.c: In function ‘Py_usb_DeviceHandle_claimInterface’:
  443. pyusb.c:1307: warning: implicit declaration of function ‘usb_claim_interface’
  444. pyusb.c:1307: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  445. pyusb.c:1312: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  446. pyusb.c: In function ‘Py_usb_DeviceHandle_detachKernelDriver’:
  447. pyusb.c:1327: warning: unused variable ‘_self’
  448. pyusb.c: In function ‘Py_usb_DeviceHandle_releaseInterface’:
  449. pyusb.c:1368: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  450. pyusb.c:1371: warning: implicit declaration of function ‘usb_release_interface’
  451. pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  452. pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  453. pyusb.c:1378: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  454. pyusb.c: In function ‘Py_usb_DeviceHandle_setAltInterface’:
  455. pyusb.c:1415: warning: implicit declaration of function ‘usb_set_altinterface’
  456. pyusb.c:1415: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  457. pyusb.c: In function ‘Py_usb_DeviceHandle_bulkWrite’:
  458. pyusb.c:1466: warning: implicit declaration of function ‘usb_bulk_write’
  459. pyusb.c:1466: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  460. pyusb.c: In function ‘Py_usb_DeviceHandle_bulkRead’:
  461. pyusb.c:1519: warning: implicit declaration of function ‘usb_bulk_read’
  462. pyusb.c:1519: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  463. pyusb.c: In function ‘Py_usb_DeviceHandle_interruptWrite’:
  464. pyusb.c:1574: warning: implicit declaration of function ‘usb_interrupt_write’
  465. pyusb.c:1574: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  466. pyusb.c: In function ‘Py_usb_DeviceHandle_interruptRead’:
  467. pyusb.c:1626: warning: implicit declaration of function ‘usb_interrupt_read’
  468. pyusb.c:1626: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  469. pyusb.c: In function ‘Py_usb_DeviceHandle_resetEndpoint’:
  470. pyusb.c:1661: warning: implicit declaration of function ‘usb_resetep’
  471. pyusb.c:1661: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  472. pyusb.c: In function ‘Py_usb_DeviceHandle_reset’:
  473. pyusb.c:1680: warning: implicit declaration of function ‘usb_reset’
  474. pyusb.c:1680: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  475. pyusb.c: In function ‘Py_usb_DeviceHandle_clearHalt’:
  476. pyusb.c:1712: warning: implicit declaration of function ‘usb_clear_halt’
  477. pyusb.c:1712: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  478. pyusb.c: In function ‘Py_usb_DeviceHandle_getString’:
  479. pyusb.c:1769: warning: implicit declaration of function ‘usb_get_string_simple’
  480. pyusb.c:1769: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  481. pyusb.c:1773: warning: implicit declaration of function ‘usb_get_string’
  482. pyusb.c:1773: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  483. pyusb.c: In function ‘Py_usb_DeviceHandle_getDescriptor’:
  484. pyusb.c:1844: warning: implicit declaration of function ‘usb_get_descriptor’
  485. pyusb.c:1844: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  486. pyusb.c:1846: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
  487. pyusb.c:1846: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  488. pyusb.c: In function ‘Py_usb_DeviceHandle_del’:
  489. pyusb.c:2021: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  490. pyusb.c:2024: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  491. pyusb.c:2025: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  492. pyusb.c:2026: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  493. pyusb.c:2029: warning: implicit declaration of function ‘usb_close’
  494. pyusb.c:2029: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  495. pyusb.c: In function ‘new_DeviceHandle’:
  496. pyusb.c:2095: warning: implicit declaration of function ‘usb_open’
  497. pyusb.c:2095: warning: assignment makes pointer from integer without a cast
  498. pyusb.c:2103: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
  499. pyusb.c:2104: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
  500. pyusb.c: In function ‘busses’:
  501. pyusb.c:2124: warning: implicit declaration of function ‘usb_find_busses’
  502. pyusb.c:2131: warning: implicit declaration of function ‘usb_find_devices’
  503. pyusb.c:2138: warning: implicit declaration of function ‘usb_get_busses’
  504. pyusb.c:2138: warning: assignment makes pointer from integer without a cast
  505. pyusb.c:2145: error: dereferencing pointer to incomplete type
  506. pyusb.c:2149: error: dereferencing pointer to incomplete type
  507. pyusb.c:2150: warning: passing argument 1 of ‘new_Bus’ from incompatible pointer type
  508. pyusb.c: In function ‘initusb’:
  509. pyusb.c:2210: warning: implicit declaration of function ‘usb_init’
  510. lipo: can't open input file: /var/tmp//ccNXVGUq.out (No such file or directory)
  511. error: command 'llvm-gcc-4.2' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement