Wei Hu
2006-09-26 20:26:03 UTC
Hi,
When I tried to build the usb module I got the following error:
~/bitpim-svn/bitpim/src/native/usb$ swig -python -I/usr/include libusb.i
/usr/include/usb.h:69: Error: Syntax error in input(3).
/usr/include/usb.h:104: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:132: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:139: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:157: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:257: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:268: Warning(312): Nested struct not currently
supported (ignored).
I've attached the header file usb.h.
My system is running Debian unstable.
The version of libusb-dev is 0.1.12 and the kernel is 2.6.16.
When I tried to build the usb module I got the following error:
~/bitpim-svn/bitpim/src/native/usb$ swig -python -I/usr/include libusb.i
/usr/include/usb.h:69: Error: Syntax error in input(3).
/usr/include/usb.h:104: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:132: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:139: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:157: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:257: Warning(312): Nested struct not currently
supported (ignored).
/usr/include/usb.h:268: Warning(312): Nested struct not currently
supported (ignored).
I've attached the header file usb.h.
My system is running Debian unstable.
The version of libusb-dev is 0.1.12 and the kernel is 2.6.16.