Re: Error when building libmtp-0.3.0
- From: "Marco A. Cruz Quevedo" <macruzq@xxxxxxxxx>
- Date: Sat, 26 Jul 2008 23:33:36 -0700 (PDT)
On Jul 26, 1:17 am, Robert Komar <r...@xxxxxxxxxxxxxxx> wrote:
Marco A. Cruz Quevedo <macr...@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
I appeciate very much your suggestion: I updated my libusb-0.1.8 to
libusb-0.1.12 and then rebuild libmtp without anu error message. Now I
am going to test it.
Thanks again.
Regards,
Marco.
------------------------------------------
Freedom is not a permission for chaos.
.
- References:
- Error when building libmtp-0.3.0
- From: Marco A. Cruz Quevedo
- Re: Error when building libmtp-0.3.0
- From: Robert Komar
- Error when building libmtp-0.3.0
- Prev by Date: Re: What technology for a new disk array?
- Next by Date: Re: 2D PCIe graphics card with (ubuntu) open source driver.
- Previous by thread: Re: Error when building libmtp-0.3.0
- Next by thread: Networking pictures guide
- Index(es):
Relevant Pages
|