Gentoo Archives: gentoo-dev

From: Sander Devrieze <s.devrieze@×××××××.be> (by way of Sander Devrieze <s.devrieze@×××××××.be>)
To: gentoo-dev@g.o
Subject: [gentoo-dev] libgphoto2 2.1.2-rc3 problem...bug?
Date: Sat, 28 Jun 2003 17:38:42
Hash: SHA1


I'can't configure libgphoto2 2.1.2-rc3 from cvs right on Gentoo. If I run the
configure script it says:

checking for libusb-config... /usr/bin/libusb-config
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_busses in -lusb... no
configure: WARNING:
*** You need at least version 0.1.5 of the libusb library for USB support
*** If you cannot find the
Please check whether the configuration I detected matches what you
would like to have. E.g. make sure that USB support is there if you
intend to use USB cameras with libgphoto2.

But I've libusb 0.1.7 installed. I've already checked if I had also other
versions installed but I've *only* this version that I installed with emerge.

I've tested it on Debian testing and it I think there is
 something wrong (bug) in Gentoo (I use also the "unstable" packages from

Extra information:
Gentoo: (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
libtoolize (GNU libtool) 1.4.3
autoconf (GNU Autoconf) 2.57
gphoto2 and libgphoto2 (latest from ebuilds) already installed

Debian testing:
autoconf (GNU Autoconf) 2.57

I've already tried to build the binaries on Debian and "make install" them on
Gentoo but this doesn't works:

ptpcam.o(.text+0x85): In function `ptp_read_func':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:195: undefined reference
to `usb_bulk_read'
: undefined reference to `usb_bulk_read'
ptpcam.o(.text+0x11c): In function `ptp_write_func':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:213: undefined reference
to `usb_bulk_write'
ptpcam.o(.text+0x25e): In function `init_ptp_usb':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:339: undefined reference
to `usb_open'
ptpcam.o(.text+0x2a7): In function `init_usb':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:353: undefined reference
to `usb_init'
4: undefined reference to `usb_find_busses'
5: undefined reference to `usb_find_devices'
ptpcam.o(.text+0x568): In function `list_devices':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:484: undefined reference
to `usb_release_interface'
ptpcam.o(.text+0x846): In function `list_properties':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:604: undefined reference
to `usb_release_interface'
ptpcam.o(.text+0xc74): In function `getset_property':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:782: undefined reference
to `usb_release_interface'
ptpcam.o(.text+0x1155): In function `usb_get_endpoint_status':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:791: undefined reference
to `usb_control_msg'
ptpcam.o(.text+0x11a6): In function `usb_clear_stall_feature':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:802: undefined reference
to `usb_control_msg'
ptpcam.o(.text+0x11f6): In function `usb_ptp_get_device_status':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:812: undefined reference
to `usb_control_msg'
ptpcam.o(.text+0x1247): In function `usb_ptp_device_reset':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:823: undefined reference
to `usb_control_msg'
ptpcam.o(.text+0x13ed): In function `reset_device':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:903: undefined reference
to `usb_release_interface'
ptpcam.o(.text+0x289): In function `init_ptp_usb':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:345: undefined reference
to `usb_claim_interface'
ptpcam.o(.text+0x2b9): In function `init_usb':
/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:356: undefined reference
to `usb_get_busses'
collect2: ld returned 1 exit status
make[2]: *** [ptpcam] Error 1
make[2]: Leaving directory `/home/sander/gphoto/libgphoto3/camlibs/ptp2'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/sander/gphoto/libgphoto3/camlibs'
make: *** [install-recursive] Error 1

Can someone helps me to fix this f*cking issue (I'm already 3 days bussy with
trying to get my new camera working onder Gentoo :( )? I have to get this 
working this evening :D because I went on hollidays tomorrow... You also can 
contact me on my Jabber ID (see sig) to fasten up solving the issue.

- - --
Mvg, Sander Devrieze.

Jabber ID : sander@××××××××.de ( )
Public Key:  (   0x73470923   )
Version: GnuPG v1.2.2 (GNU/Linux)


gentoo-dev@g.o mailing list


Subject Author
Re: [gentoo-dev] libgphoto2 2.1.2-rc3 problem...bug? Alastair Tse <liquidx@g.o>
[gentoo-dev] Re: libgphoto2 2.1.2-rc3 problem...bug? Arnaud Launay <asl@××××××.org>