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
Message-Id: 200306281936.24919.s.devrieze@pandora.be
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

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
*** http://sourceforge.net/projects/libusb/
*** 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 works....so I think there is
 something wrong (bug) in Gentoo (I use also the "unstable" packages from
 Gentoo.).

Extra information:
Gentoo:
ltmain.sh (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'
ptpcam.o(.text+0xe1):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:197
: 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'
ptpcam.o(.text+0x2ac):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:35
4: undefined reference to `usb_find_busses'
ptpcam.o(.text+0x2b1):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:35
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 ( www.jabber.org )
Public Key: www.keyserver.net  (   0x73470923   )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+/dIYK+G8aHNHCSMRAtdWAJ9OO6q0YctXbvPtNYbi3QWwyxKtFACcDksy
EypsePy7b/40/bJuDdgwQ8Y=
=0a8Z
-----END PGP SIGNATURE-----


--
gentoo-dev@g.o mailing list

Replies

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>