Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sudo python setup.py installrunning install
- running build
- running build_ext
- building 'usb' extension
- 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
- In file included from pyusb.c:11:
- pyusb.h:6:17: error: usb.h: No such file or directory
- In file included from pyusb.c:11:
- pyusb.h:121: error: expected specifier-qualifier-list before ‘usb_dev_handle’
- pyusb.h:132: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.h:132: warning: its scope is only this definition or declaration, which is probably not what you want
- pyusb.h:136: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.h:141: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.h:145: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.h:150: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.h:154: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.h:172: warning: ‘struct usb_bus’ declared inside parameter list
- pyusb.c: In function ‘PyUSB_Error’:
- pyusb.c:38: warning: implicit declaration of function ‘usb_strerror’
- pyusb.c:38: warning: initialization makes pointer from integer without a cast
- pyusb.c: In function ‘installModuleConstants’:
- pyusb.c:263: error: ‘USB_CLASS_PER_INTERFACE’ undeclared (first use in this function)
- pyusb.c:263: error: (Each undeclared identifier is reported only once
- pyusb.c:263: error: for each function it appears in.)
- pyusb.c:264: error: ‘USB_CLASS_AUDIO’ undeclared (first use in this function)
- pyusb.c:265: error: ‘USB_CLASS_COMM’ undeclared (first use in this function)
- pyusb.c:266: error: ‘USB_CLASS_HID’ undeclared (first use in this function)
- pyusb.c:267: error: ‘USB_CLASS_PRINTER’ undeclared (first use in this function)
- pyusb.c:268: error: ‘USB_CLASS_MASS_STORAGE’ undeclared (first use in this function)
- pyusb.c:269: error: ‘USB_CLASS_HUB’ undeclared (first use in this function)
- pyusb.c:270: error: ‘USB_CLASS_DATA’ undeclared (first use in this function)
- pyusb.c:271: error: ‘USB_CLASS_VENDOR_SPEC’ undeclared (first use in this function)
- pyusb.c:272: error: ‘USB_DT_DEVICE’ undeclared (first use in this function)
- pyusb.c:273: error: ‘USB_DT_CONFIG’ undeclared (first use in this function)
- pyusb.c:274: error: ‘USB_DT_STRING’ undeclared (first use in this function)
- pyusb.c:275: error: ‘USB_DT_INTERFACE’ undeclared (first use in this function)
- pyusb.c:276: error: ‘USB_DT_ENDPOINT’ undeclared (first use in this function)
- pyusb.c:277: error: ‘USB_DT_HID’ undeclared (first use in this function)
- pyusb.c:278: error: ‘USB_DT_REPORT’ undeclared (first use in this function)
- pyusb.c:279: error: ‘USB_DT_PHYSICAL’ undeclared (first use in this function)
- pyusb.c:280: error: ‘USB_DT_HUB’ undeclared (first use in this function)
- pyusb.c:281: error: ‘USB_DT_DEVICE_SIZE’ undeclared (first use in this function)
- pyusb.c:282: error: ‘USB_DT_CONFIG_SIZE’ undeclared (first use in this function)
- pyusb.c:283: error: ‘USB_DT_INTERFACE_SIZE’ undeclared (first use in this function)
- pyusb.c:284: error: ‘USB_DT_ENDPOINT_SIZE’ undeclared (first use in this function)
- pyusb.c:285: error: ‘USB_DT_ENDPOINT_AUDIO_SIZE’ undeclared (first use in this function)
- pyusb.c:286: error: ‘USB_DT_HUB_NONVAR_SIZE’ undeclared (first use in this function)
- pyusb.c:287: error: ‘USB_MAXENDPOINTS’ undeclared (first use in this function)
- pyusb.c:288: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
- pyusb.c:289: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
- pyusb.c:290: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
- pyusb.c:291: error: ‘USB_ENDPOINT_TYPE_CONTROL’ undeclared (first use in this function)
- pyusb.c:292: error: ‘USB_ENDPOINT_TYPE_ISOCHRONOUS’ undeclared (first use in this function)
- pyusb.c:293: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
- pyusb.c:294: error: ‘USB_ENDPOINT_TYPE_INTERRUPT’ undeclared (first use in this function)
- pyusb.c:295: error: ‘USB_MAXINTERFACES’ undeclared (first use in this function)
- pyusb.c:296: error: ‘USB_MAXALTSETTING’ undeclared (first use in this function)
- pyusb.c:297: error: ‘USB_MAXCONFIG’ undeclared (first use in this function)
- pyusb.c:298: error: ‘USB_REQ_GET_STATUS’ undeclared (first use in this function)
- pyusb.c:299: error: ‘USB_REQ_CLEAR_FEATURE’ undeclared (first use in this function)
- pyusb.c:300: error: ‘USB_REQ_SET_FEATURE’ undeclared (first use in this function)
- pyusb.c:301: error: ‘USB_REQ_SET_ADDRESS’ undeclared (first use in this function)
- pyusb.c:302: error: ‘USB_REQ_GET_DESCRIPTOR’ undeclared (first use in this function)
- pyusb.c:303: error: ‘USB_REQ_SET_DESCRIPTOR’ undeclared (first use in this function)
- pyusb.c:304: error: ‘USB_REQ_GET_CONFIGURATION’ undeclared (first use in this function)
- pyusb.c:305: error: ‘USB_REQ_SET_CONFIGURATION’ undeclared (first use in this function)
- pyusb.c:306: error: ‘USB_REQ_GET_INTERFACE’ undeclared (first use in this function)
- pyusb.c:307: error: ‘USB_REQ_SET_INTERFACE’ undeclared (first use in this function)
- pyusb.c:308: error: ‘USB_REQ_SYNCH_FRAME’ undeclared (first use in this function)
- pyusb.c:309: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
- pyusb.c:310: error: ‘USB_TYPE_CLASS’ undeclared (first use in this function)
- pyusb.c:311: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
- pyusb.c:312: error: ‘USB_TYPE_RESERVED’ undeclared (first use in this function)
- pyusb.c:313: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
- pyusb.c:314: error: ‘USB_RECIP_INTERFACE’ undeclared (first use in this function)
- pyusb.c:315: error: ‘USB_RECIP_ENDPOINT’ undeclared (first use in this function)
- pyusb.c:316: error: ‘USB_RECIP_OTHER’ undeclared (first use in this function)
- pyusb.c:317: error: ‘USB_ENDPOINT_IN’ undeclared (first use in this function)
- pyusb.c:318: error: ‘USB_ENDPOINT_OUT’ undeclared (first use in this function)
- pyusb.c:319: error: ‘USB_ERROR_BEGIN’ undeclared (first use in this function)
- pyusb.c: At top level:
- pyusb.c:422: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.c:423: error: conflicting types for ‘set_Endpoint_fields’
- pyusb.h:132: error: previous declaration of ‘set_Endpoint_fields’ was here
- pyusb.c: In function ‘set_Endpoint_fields’:
- pyusb.c:424: error: dereferencing pointer to incomplete type
- pyusb.c:425: error: dereferencing pointer to incomplete type
- pyusb.c:426: error: dereferencing pointer to incomplete type
- pyusb.c:427: error: dereferencing pointer to incomplete type
- pyusb.c:428: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:434: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.c:435: error: conflicting types for ‘new_Endpoint’
- pyusb.h:136: error: previous declaration of ‘new_Endpoint’ was here
- pyusb.c: In function ‘new_Endpoint’:
- pyusb.c:442: warning: passing argument 2 of ‘set_Endpoint_fields’ from incompatible pointer type
- pyusb.c: At top level:
- pyusb.c:562: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.c:563: error: conflicting types for ‘set_Interface_fields’
- pyusb.h:141: error: previous declaration of ‘set_Interface_fields’ was here
- pyusb.c: In function ‘set_Interface_fields’:
- pyusb.c:566: error: dereferencing pointer to incomplete type
- pyusb.c:567: error: dereferencing pointer to incomplete type
- pyusb.c:568: error: dereferencing pointer to incomplete type
- pyusb.c:569: error: dereferencing pointer to incomplete type
- pyusb.c:570: error: dereferencing pointer to incomplete type
- pyusb.c:571: error: dereferencing pointer to incomplete type
- pyusb.c:573: error: dereferencing pointer to incomplete type
- pyusb.c:579: error: dereferencing pointer to incomplete type
- pyusb.c:580: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:586: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.c:587: error: conflicting types for ‘new_Interface’
- pyusb.h:145: error: previous declaration of ‘new_Interface’ was here
- pyusb.c: In function ‘new_Interface’:
- pyusb.c:593: warning: passing argument 2 of ‘set_Interface_fields’ from incompatible pointer type
- pyusb.c: At top level:
- pyusb.c:721: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.c:722: error: conflicting types for ‘set_Configuration_fields’
- pyusb.h:150: error: previous declaration of ‘set_Configuration_fields’ was here
- pyusb.c: In function ‘set_Configuration_fields’:
- pyusb.c:726: error: dereferencing pointer to incomplete type
- pyusb.c:727: error: dereferencing pointer to incomplete type
- pyusb.c:728: error: dereferencing pointer to incomplete type
- pyusb.c:729: error: dereferencing pointer to incomplete type
- pyusb.c:730: error: dereferencing pointer to incomplete type
- pyusb.c:731: error: dereferencing pointer to incomplete type
- pyusb.c:733: error: dereferencing pointer to incomplete type
- pyusb.c:737: error: dereferencing pointer to incomplete type
- pyusb.c:738: error: dereferencing pointer to incomplete type
- pyusb.c:744: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:753: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.c:754: error: conflicting types for ‘new_Configuration’
- pyusb.h:154: error: previous declaration of ‘new_Configuration’ was here
- pyusb.c: In function ‘new_Configuration’:
- pyusb.c:760: warning: passing argument 2 of ‘set_Configuration_fields’ from incompatible pointer type
- pyusb.c: In function ‘set_Device_fields’:
- pyusb.c:948: error: dereferencing pointer to incomplete type
- pyusb.c:951: error: dereferencing pointer to incomplete type
- pyusb.c:952: error: dereferencing pointer to incomplete type
- pyusb.c:954: error: dereferencing pointer to incomplete type
- pyusb.c:955: error: dereferencing pointer to incomplete type
- pyusb.c:958: error: dereferencing pointer to incomplete type
- pyusb.c:959: error: dereferencing pointer to incomplete type
- pyusb.c:961: error: dereferencing pointer to incomplete type
- pyusb.c:962: error: dereferencing pointer to incomplete type
- pyusb.c:965: error: dereferencing pointer to incomplete type
- pyusb.c:966: error: dereferencing pointer to incomplete type
- pyusb.c:967: error: dereferencing pointer to incomplete type
- pyusb.c:968: error: dereferencing pointer to incomplete type
- pyusb.c:969: error: dereferencing pointer to incomplete type
- pyusb.c:970: error: dereferencing pointer to incomplete type
- pyusb.c:971: error: dereferencing pointer to incomplete type
- pyusb.c:972: error: dereferencing pointer to incomplete type
- pyusb.c:973: error: dereferencing pointer to incomplete type
- pyusb.c:974: error: dereferencing pointer to incomplete type
- pyusb.c:974: error: dereferencing pointer to incomplete type
- pyusb.c:976: error: dereferencing pointer to incomplete type
- pyusb.c:978: error: dereferencing pointer to incomplete type
- pyusb.c:983: error: dereferencing pointer to incomplete type
- pyusb.c:987: error: dereferencing pointer to incomplete type
- pyusb.c:988: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:1097: warning: ‘struct usb_bus’ declared inside parameter list
- pyusb.c:1098: error: conflicting types for ‘new_Bus’
- pyusb.h:172: error: previous declaration of ‘new_Bus’ was here
- pyusb.c: In function ‘new_Bus’:
- pyusb.c:1106: error: dereferencing pointer to incomplete type
- pyusb.c:1107: error: dereferencing pointer to incomplete type
- pyusb.c:1107: error: dereferencing pointer to incomplete type
- pyusb.c:1108: error: dereferencing pointer to incomplete type
- pyusb.c:1108: warning: left-hand operand of comma expression has no effect
- pyusb.c:1108: warning: value computed is not used
- pyusb.c:1108: error: dereferencing pointer to incomplete type
- pyusb.c:1116: error: dereferencing pointer to incomplete type
- pyusb.c:1116: warning: left-hand operand of comma expression has no effect
- pyusb.c:1116: warning: value computed is not used
- pyusb.c:1116: error: dereferencing pointer to incomplete type
- pyusb.c:1116: warning: left-hand operand of comma expression has no effect
- pyusb.c:1116: warning: value computed is not used
- pyusb.c: In function ‘Py_usb_DeviceHandle_controlMsg’:
- pyusb.c:1215: warning: implicit declaration of function ‘usb_control_msg’
- pyusb.c:1215: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_setConfiguration’:
- pyusb.c:1269: warning: implicit declaration of function ‘usb_set_configuration’
- pyusb.c:1269: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_claimInterface’:
- pyusb.c:1307: warning: implicit declaration of function ‘usb_claim_interface’
- pyusb.c:1307: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1312: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘Py_usb_DeviceHandle_detachKernelDriver’:
- pyusb.c:1327: warning: unused variable ‘_self’
- pyusb.c: In function ‘Py_usb_DeviceHandle_releaseInterface’:
- pyusb.c:1368: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:1371: warning: implicit declaration of function ‘usb_release_interface’
- pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:1378: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘Py_usb_DeviceHandle_setAltInterface’:
- pyusb.c:1415: warning: implicit declaration of function ‘usb_set_altinterface’
- pyusb.c:1415: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_bulkWrite’:
- pyusb.c:1466: warning: implicit declaration of function ‘usb_bulk_write’
- pyusb.c:1466: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_bulkRead’:
- pyusb.c:1519: warning: implicit declaration of function ‘usb_bulk_read’
- pyusb.c:1519: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_interruptWrite’:
- pyusb.c:1574: warning: implicit declaration of function ‘usb_interrupt_write’
- pyusb.c:1574: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_interruptRead’:
- pyusb.c:1626: warning: implicit declaration of function ‘usb_interrupt_read’
- pyusb.c:1626: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_resetEndpoint’:
- pyusb.c:1661: warning: implicit declaration of function ‘usb_resetep’
- pyusb.c:1661: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_reset’:
- pyusb.c:1680: warning: implicit declaration of function ‘usb_reset’
- pyusb.c:1680: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_clearHalt’:
- pyusb.c:1712: warning: implicit declaration of function ‘usb_clear_halt’
- pyusb.c:1712: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_getString’:
- pyusb.c:1769: warning: implicit declaration of function ‘usb_get_string_simple’
- pyusb.c:1769: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1773: warning: implicit declaration of function ‘usb_get_string’
- pyusb.c:1773: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_getDescriptor’:
- pyusb.c:1844: warning: implicit declaration of function ‘usb_get_descriptor’
- pyusb.c:1844: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1846: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
- pyusb.c:1846: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_del’:
- pyusb.c:2021: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2024: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:2025: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2026: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:2029: warning: implicit declaration of function ‘usb_close’
- pyusb.c:2029: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘new_DeviceHandle’:
- pyusb.c:2095: warning: implicit declaration of function ‘usb_open’
- pyusb.c:2095: warning: assignment makes pointer from integer without a cast
- pyusb.c:2103: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2104: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘busses’:
- pyusb.c:2124: warning: implicit declaration of function ‘usb_find_busses’
- pyusb.c:2131: warning: implicit declaration of function ‘usb_find_devices’
- pyusb.c:2138: warning: implicit declaration of function ‘usb_get_busses’
- pyusb.c:2138: warning: assignment makes pointer from integer without a cast
- pyusb.c:2145: error: dereferencing pointer to incomplete type
- pyusb.c:2149: error: dereferencing pointer to incomplete type
- pyusb.c:2150: warning: passing argument 1 of ‘new_Bus’ from incompatible pointer type
- pyusb.c: In function ‘initusb’:
- pyusb.c:2210: warning: implicit declaration of function ‘usb_init’
- In file included from pyusb.c:11:
- pyusb.h:6:17: error: usb.h: No such file or directory
- In file included from pyusb.c:11:
- pyusb.h:121: error: expected specifier-qualifier-list before ‘usb_dev_handle’
- pyusb.h:132: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.h:132: warning: its scope is only this definition or declaration, which is probably not what you want
- pyusb.h:136: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.h:141: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.h:145: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.h:150: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.h:154: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.h:172: warning: ‘struct usb_bus’ declared inside parameter list
- pyusb.c: In function ‘PyUSB_Error’:
- pyusb.c:38: warning: implicit declaration of function ‘usb_strerror’
- pyusb.c:38: warning: initialization makes pointer from integer without a cast
- pyusb.c: In function ‘py_NumberAsInt’:
- pyusb.c:105: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pyusb.c: In function ‘getBuffer’:
- pyusb.c:178: warning: implicit conversion shortens 64-bit value into a 32-bit value
- pyusb.c: In function ‘installModuleConstants’:
- pyusb.c:263: error: ‘USB_CLASS_PER_INTERFACE’ undeclared (first use in this function)
- pyusb.c:263: error: (Each undeclared identifier is reported only once
- pyusb.c:263: error: for each function it appears in.)
- pyusb.c:264: error: ‘USB_CLASS_AUDIO’ undeclared (first use in this function)
- pyusb.c:265: error: ‘USB_CLASS_COMM’ undeclared (first use in this function)
- pyusb.c:266: error: ‘USB_CLASS_HID’ undeclared (first use in this function)
- pyusb.c:267: error: ‘USB_CLASS_PRINTER’ undeclared (first use in this function)
- pyusb.c:268: error: ‘USB_CLASS_MASS_STORAGE’ undeclared (first use in this function)
- pyusb.c:269: error: ‘USB_CLASS_HUB’ undeclared (first use in this function)
- pyusb.c:270: error: ‘USB_CLASS_DATA’ undeclared (first use in this function)
- pyusb.c:271: error: ‘USB_CLASS_VENDOR_SPEC’ undeclared (first use in this function)
- pyusb.c:272: error: ‘USB_DT_DEVICE’ undeclared (first use in this function)
- pyusb.c:273: error: ‘USB_DT_CONFIG’ undeclared (first use in this function)
- pyusb.c:274: error: ‘USB_DT_STRING’ undeclared (first use in this function)
- pyusb.c:275: error: ‘USB_DT_INTERFACE’ undeclared (first use in this function)
- pyusb.c:276: error: ‘USB_DT_ENDPOINT’ undeclared (first use in this function)
- pyusb.c:277: error: ‘USB_DT_HID’ undeclared (first use in this function)
- pyusb.c:278: error: ‘USB_DT_REPORT’ undeclared (first use in this function)
- pyusb.c:279: error: ‘USB_DT_PHYSICAL’ undeclared (first use in this function)
- pyusb.c:280: error: ‘USB_DT_HUB’ undeclared (first use in this function)
- pyusb.c:281: error: ‘USB_DT_DEVICE_SIZE’ undeclared (first use in this function)
- pyusb.c:282: error: ‘USB_DT_CONFIG_SIZE’ undeclared (first use in this function)
- pyusb.c:283: error: ‘USB_DT_INTERFACE_SIZE’ undeclared (first use in this function)
- pyusb.c:284: error: ‘USB_DT_ENDPOINT_SIZE’ undeclared (first use in this function)
- pyusb.c:285: error: ‘USB_DT_ENDPOINT_AUDIO_SIZE’ undeclared (first use in this function)
- pyusb.c:286: error: ‘USB_DT_HUB_NONVAR_SIZE’ undeclared (first use in this function)
- pyusb.c:287: error: ‘USB_MAXENDPOINTS’ undeclared (first use in this function)
- pyusb.c:288: error: ‘USB_ENDPOINT_ADDRESS_MASK’ undeclared (first use in this function)
- pyusb.c:289: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
- pyusb.c:290: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
- pyusb.c:291: error: ‘USB_ENDPOINT_TYPE_CONTROL’ undeclared (first use in this function)
- pyusb.c:292: error: ‘USB_ENDPOINT_TYPE_ISOCHRONOUS’ undeclared (first use in this function)
- pyusb.c:293: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
- pyusb.c:294: error: ‘USB_ENDPOINT_TYPE_INTERRUPT’ undeclared (first use in this function)
- pyusb.c:295: error: ‘USB_MAXINTERFACES’ undeclared (first use in this function)
- pyusb.c:296: error: ‘USB_MAXALTSETTING’ undeclared (first use in this function)
- pyusb.c:297: error: ‘USB_MAXCONFIG’ undeclared (first use in this function)
- pyusb.c:298: error: ‘USB_REQ_GET_STATUS’ undeclared (first use in this function)
- pyusb.c:299: error: ‘USB_REQ_CLEAR_FEATURE’ undeclared (first use in this function)
- pyusb.c:300: error: ‘USB_REQ_SET_FEATURE’ undeclared (first use in this function)
- pyusb.c:301: error: ‘USB_REQ_SET_ADDRESS’ undeclared (first use in this function)
- pyusb.c:302: error: ‘USB_REQ_GET_DESCRIPTOR’ undeclared (first use in this function)
- pyusb.c:303: error: ‘USB_REQ_SET_DESCRIPTOR’ undeclared (first use in this function)
- pyusb.c:304: error: ‘USB_REQ_GET_CONFIGURATION’ undeclared (first use in this function)
- pyusb.c:305: error: ‘USB_REQ_SET_CONFIGURATION’ undeclared (first use in this function)
- pyusb.c:306: error: ‘USB_REQ_GET_INTERFACE’ undeclared (first use in this function)
- pyusb.c:307: error: ‘USB_REQ_SET_INTERFACE’ undeclared (first use in this function)
- pyusb.c:308: error: ‘USB_REQ_SYNCH_FRAME’ undeclared (first use in this function)
- pyusb.c:309: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
- pyusb.c:310: error: ‘USB_TYPE_CLASS’ undeclared (first use in this function)
- pyusb.c:311: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
- pyusb.c:312: error: ‘USB_TYPE_RESERVED’ undeclared (first use in this function)
- pyusb.c:313: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
- pyusb.c:314: error: ‘USB_RECIP_INTERFACE’ undeclared (first use in this function)
- pyusb.c:315: error: ‘USB_RECIP_ENDPOINT’ undeclared (first use in this function)
- pyusb.c:316: error: ‘USB_RECIP_OTHER’ undeclared (first use in this function)
- pyusb.c:317: error: ‘USB_ENDPOINT_IN’ undeclared (first use in this function)
- pyusb.c:318: error: ‘USB_ENDPOINT_OUT’ undeclared (first use in this function)
- pyusb.c:319: error: ‘USB_ERROR_BEGIN’ undeclared (first use in this function)
- pyusb.c: At top level:
- pyusb.c:422: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.c:423: error: conflicting types for ‘set_Endpoint_fields’
- pyusb.h:132: error: previous declaration of ‘set_Endpoint_fields’ was here
- pyusb.c: In function ‘set_Endpoint_fields’:
- pyusb.c:424: error: dereferencing pointer to incomplete type
- pyusb.c:425: error: dereferencing pointer to incomplete type
- pyusb.c:426: error: dereferencing pointer to incomplete type
- pyusb.c:427: error: dereferencing pointer to incomplete type
- pyusb.c:428: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:434: warning: ‘struct usb_endpoint_descriptor’ declared inside parameter list
- pyusb.c:435: error: conflicting types for ‘new_Endpoint’
- pyusb.h:136: error: previous declaration of ‘new_Endpoint’ was here
- pyusb.c: In function ‘new_Endpoint’:
- pyusb.c:442: warning: passing argument 2 of ‘set_Endpoint_fields’ from incompatible pointer type
- pyusb.c: At top level:
- pyusb.c:562: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.c:563: error: conflicting types for ‘set_Interface_fields’
- pyusb.h:141: error: previous declaration of ‘set_Interface_fields’ was here
- pyusb.c: In function ‘set_Interface_fields’:
- pyusb.c:566: error: dereferencing pointer to incomplete type
- pyusb.c:567: error: dereferencing pointer to incomplete type
- pyusb.c:568: error: dereferencing pointer to incomplete type
- pyusb.c:569: error: dereferencing pointer to incomplete type
- pyusb.c:570: error: dereferencing pointer to incomplete type
- pyusb.c:571: error: dereferencing pointer to incomplete type
- pyusb.c:573: error: dereferencing pointer to incomplete type
- pyusb.c:579: error: dereferencing pointer to incomplete type
- pyusb.c:580: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:586: warning: ‘struct usb_interface_descriptor’ declared inside parameter list
- pyusb.c:587: error: conflicting types for ‘new_Interface’
- pyusb.h:145: error: previous declaration of ‘new_Interface’ was here
- pyusb.c: In function ‘new_Interface’:
- pyusb.c:593: warning: passing argument 2 of ‘set_Interface_fields’ from incompatible pointer type
- pyusb.c: At top level:
- pyusb.c:721: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.c:722: error: conflicting types for ‘set_Configuration_fields’
- pyusb.h:150: error: previous declaration of ‘set_Configuration_fields’ was here
- pyusb.c: In function ‘set_Configuration_fields’:
- pyusb.c:726: error: dereferencing pointer to incomplete type
- pyusb.c:727: error: dereferencing pointer to incomplete type
- pyusb.c:728: error: dereferencing pointer to incomplete type
- pyusb.c:729: error: dereferencing pointer to incomplete type
- pyusb.c:730: error: dereferencing pointer to incomplete type
- pyusb.c:731: error: dereferencing pointer to incomplete type
- pyusb.c:733: error: dereferencing pointer to incomplete type
- pyusb.c:737: error: dereferencing pointer to incomplete type
- pyusb.c:738: error: dereferencing pointer to incomplete type
- pyusb.c:744: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:753: warning: ‘struct usb_config_descriptor’ declared inside parameter list
- pyusb.c:754: error: conflicting types for ‘new_Configuration’
- pyusb.h:154: error: previous declaration of ‘new_Configuration’ was here
- pyusb.c: In function ‘new_Configuration’:
- pyusb.c:760: warning: passing argument 2 of ‘set_Configuration_fields’ from incompatible pointer type
- pyusb.c: In function ‘set_Device_fields’:
- pyusb.c:948: error: dereferencing pointer to incomplete type
- pyusb.c:951: error: dereferencing pointer to incomplete type
- pyusb.c:952: error: dereferencing pointer to incomplete type
- pyusb.c:954: error: dereferencing pointer to incomplete type
- pyusb.c:955: error: dereferencing pointer to incomplete type
- pyusb.c:958: error: dereferencing pointer to incomplete type
- pyusb.c:959: error: dereferencing pointer to incomplete type
- pyusb.c:961: error: dereferencing pointer to incomplete type
- pyusb.c:962: error: dereferencing pointer to incomplete type
- pyusb.c:965: error: dereferencing pointer to incomplete type
- pyusb.c:966: error: dereferencing pointer to incomplete type
- pyusb.c:967: error: dereferencing pointer to incomplete type
- pyusb.c:968: error: dereferencing pointer to incomplete type
- pyusb.c:969: error: dereferencing pointer to incomplete type
- pyusb.c:970: error: dereferencing pointer to incomplete type
- pyusb.c:971: error: dereferencing pointer to incomplete type
- pyusb.c:972: error: dereferencing pointer to incomplete type
- pyusb.c:973: error: dereferencing pointer to incomplete type
- pyusb.c:974: error: dereferencing pointer to incomplete type
- pyusb.c:974: error: dereferencing pointer to incomplete type
- pyusb.c:976: error: dereferencing pointer to incomplete type
- pyusb.c:978: error: dereferencing pointer to incomplete type
- pyusb.c:983: error: dereferencing pointer to incomplete type
- pyusb.c:987: error: dereferencing pointer to incomplete type
- pyusb.c:988: error: dereferencing pointer to incomplete type
- pyusb.c: At top level:
- pyusb.c:1097: warning: ‘struct usb_bus’ declared inside parameter list
- pyusb.c:1098: error: conflicting types for ‘new_Bus’
- pyusb.h:172: error: previous declaration of ‘new_Bus’ was here
- pyusb.c: In function ‘new_Bus’:
- pyusb.c:1106: error: dereferencing pointer to incomplete type
- pyusb.c:1107: error: dereferencing pointer to incomplete type
- pyusb.c:1107: error: dereferencing pointer to incomplete type
- pyusb.c:1108: error: dereferencing pointer to incomplete type
- pyusb.c:1108: warning: left-hand operand of comma expression has no effect
- pyusb.c:1108: warning: value computed is not used
- pyusb.c:1108: error: dereferencing pointer to incomplete type
- pyusb.c:1116: error: dereferencing pointer to incomplete type
- pyusb.c:1116: warning: left-hand operand of comma expression has no effect
- pyusb.c:1116: warning: value computed is not used
- pyusb.c:1116: error: dereferencing pointer to incomplete type
- pyusb.c:1116: warning: left-hand operand of comma expression has no effect
- pyusb.c:1116: warning: value computed is not used
- pyusb.c: In function ‘Py_usb_DeviceHandle_controlMsg’:
- pyusb.c:1215: warning: implicit declaration of function ‘usb_control_msg’
- pyusb.c:1215: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_setConfiguration’:
- pyusb.c:1269: warning: implicit declaration of function ‘usb_set_configuration’
- pyusb.c:1269: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_claimInterface’:
- pyusb.c:1307: warning: implicit declaration of function ‘usb_claim_interface’
- pyusb.c:1307: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1312: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘Py_usb_DeviceHandle_detachKernelDriver’:
- pyusb.c:1327: warning: unused variable ‘_self’
- pyusb.c: In function ‘Py_usb_DeviceHandle_releaseInterface’:
- pyusb.c:1368: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:1371: warning: implicit declaration of function ‘usb_release_interface’
- pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1371: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:1378: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘Py_usb_DeviceHandle_setAltInterface’:
- pyusb.c:1415: warning: implicit declaration of function ‘usb_set_altinterface’
- pyusb.c:1415: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_bulkWrite’:
- pyusb.c:1466: warning: implicit declaration of function ‘usb_bulk_write’
- pyusb.c:1466: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_bulkRead’:
- pyusb.c:1519: warning: implicit declaration of function ‘usb_bulk_read’
- pyusb.c:1519: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_interruptWrite’:
- pyusb.c:1574: warning: implicit declaration of function ‘usb_interrupt_write’
- pyusb.c:1574: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_interruptRead’:
- pyusb.c:1626: warning: implicit declaration of function ‘usb_interrupt_read’
- pyusb.c:1626: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_resetEndpoint’:
- pyusb.c:1661: warning: implicit declaration of function ‘usb_resetep’
- pyusb.c:1661: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_reset’:
- pyusb.c:1680: warning: implicit declaration of function ‘usb_reset’
- pyusb.c:1680: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_clearHalt’:
- pyusb.c:1712: warning: implicit declaration of function ‘usb_clear_halt’
- pyusb.c:1712: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_getString’:
- pyusb.c:1769: warning: implicit declaration of function ‘usb_get_string_simple’
- pyusb.c:1769: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1773: warning: implicit declaration of function ‘usb_get_string’
- pyusb.c:1773: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_getDescriptor’:
- pyusb.c:1844: warning: implicit declaration of function ‘usb_get_descriptor’
- pyusb.c:1844: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:1846: warning: implicit declaration of function ‘usb_get_descriptor_by_endpoint’
- pyusb.c:1846: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘Py_usb_DeviceHandle_del’:
- pyusb.c:2021: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2024: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:2025: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2026: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c:2029: warning: implicit declaration of function ‘usb_close’
- pyusb.c:2029: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c: In function ‘new_DeviceHandle’:
- pyusb.c:2095: warning: implicit declaration of function ‘usb_open’
- pyusb.c:2095: warning: assignment makes pointer from integer without a cast
- pyusb.c:2103: error: ‘Py_usb_DeviceHandle’ has no member named ‘deviceHandle’
- pyusb.c:2104: error: ‘Py_usb_DeviceHandle’ has no member named ‘interfaceClaimed’
- pyusb.c: In function ‘busses’:
- pyusb.c:2124: warning: implicit declaration of function ‘usb_find_busses’
- pyusb.c:2131: warning: implicit declaration of function ‘usb_find_devices’
- pyusb.c:2138: warning: implicit declaration of function ‘usb_get_busses’
- pyusb.c:2138: warning: assignment makes pointer from integer without a cast
- pyusb.c:2145: error: dereferencing pointer to incomplete type
- pyusb.c:2149: error: dereferencing pointer to incomplete type
- pyusb.c:2150: warning: passing argument 1 of ‘new_Bus’ from incompatible pointer type
- pyusb.c: In function ‘initusb’:
- pyusb.c:2210: warning: implicit declaration of function ‘usb_init’
- lipo: can't open input file: /var/tmp//ccNXVGUq.out (No such file or directory)
- error: command 'llvm-gcc-4.2' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement