Re: Error when building libmtp-0.3.0
- From: Robert Komar <robk@xxxxxxxxxxxxxxx>
- Date: Sat, 26 Jul 2008 06:17:33 GMT
Marco A. Cruz Quevedo <macruzq@xxxxxxxxx> wrote:
Recently I downloaded libmtp-0.3.0 and build it and I get the
following errors:
- - - - - - - - - - - -
libusb-glue.c: In function `LIBMTP_Detect_Raw_Devices':
libusb-glue.c:517: error: structure has no member named `devnum'
libusb-glue.c: In function `configure_usb_device':
libusb-glue.c:1615: error: structure has no member named `devnum'
libusb-glue.c: At top level:
- - - - - - - - - - - -
I could not figure out what is missing. As far as I can see, libmtp
depends on libusb: I have installed libusb 0.1.8-3 .
My system Fedora Core 3, Linux 2.6.23.12.
That's a pretty old version of Fedora, and so, an old version of
libusb. You'll probably have to get a newer version of it and
build that, as well (or build an older version of libmtp).
My Slamd64 system has libusb-0.1.12, and the usb_device struct
in /usr/include/usb.h contains 'u_int8_t devnum'. Your older
version of usb.h is probably missing that member.
Cheers,
Rob Komar
.
- Follow-Ups:
- Re: Error when building libmtp-0.3.0
- From: Marco A. Cruz Quevedo
- Re: Error when building libmtp-0.3.0
- References:
- Error when building libmtp-0.3.0
- From: Marco A. Cruz Quevedo
- Error when building libmtp-0.3.0
- Prev by Date: Re: Why do not CRT/LCD monitors come with USB?
- Next by Date: Re: Why do not CRT/LCD monitors come with USB?
- Previous by thread: Error when building libmtp-0.3.0
- Next by thread: Re: Error when building libmtp-0.3.0
- Index(es):