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
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello,
5
6 I'can't configure libgphoto2 2.1.2-rc3 from cvs right on Gentoo. If I run the
7 configure script it says:
8
9 [...]
10 checking for libusb-config... /usr/bin/libusb-config
11 checking usb.h usability... yes
12 checking usb.h presence... yes
13 checking for usb.h... yes
14 checking for usb_busses in -lusb... no
15 configure: WARNING:
16 *** You need at least version 0.1.5 of the libusb library for USB support
17 *** http://sourceforge.net/projects/libusb/
18 *** If you cannot find the
19 [...]
20 Please check whether the configuration I detected matches what you
21 would like to have. E.g. make sure that USB support is there if you
22 intend to use USB cameras with libgphoto2.
23 [...]
24
25 But I've libusb 0.1.7 installed. I've already checked if I had also other
26 versions installed but I've *only* this version that I installed with emerge.
27
28 I've tested it on Debian testing and it works....so I think there is
29 something wrong (bug) in Gentoo (I use also the "unstable" packages from
30 Gentoo.).
31
32 Extra information:
33 Gentoo:
34 ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
35 libtoolize (GNU libtool) 1.4.3
36 autoconf (GNU Autoconf) 2.57
37 gphoto2 and libgphoto2 (latest from ebuilds) already installed
38
39 Debian testing:
40 autoconf (GNU Autoconf) 2.57
41
42 I've already tried to build the binaries on Debian and "make install" them on
43 Gentoo but this doesn't works:
44
45 ptpcam.o(.text+0x85): In function `ptp_read_func':
46 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:195: undefined reference
47 to `usb_bulk_read'
48 ptpcam.o(.text+0xe1):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:197
49 : undefined reference to `usb_bulk_read'
50 ptpcam.o(.text+0x11c): In function `ptp_write_func':
51 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:213: undefined reference
52 to `usb_bulk_write'
53 ptpcam.o(.text+0x25e): In function `init_ptp_usb':
54 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:339: undefined reference
55 to `usb_open'
56 ptpcam.o(.text+0x2a7): In function `init_usb':
57 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:353: undefined reference
58 to `usb_init'
59 ptpcam.o(.text+0x2ac):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:35
60 4: undefined reference to `usb_find_busses'
61 ptpcam.o(.text+0x2b1):/home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:35
62 5: undefined reference to `usb_find_devices'
63 ptpcam.o(.text+0x568): In function `list_devices':
64 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:484: undefined reference
65 to `usb_release_interface'
66 ptpcam.o(.text+0x846): In function `list_properties':
67 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:604: undefined reference
68 to `usb_release_interface'
69 ptpcam.o(.text+0xc74): In function `getset_property':
70 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:782: undefined reference
71 to `usb_release_interface'
72 ptpcam.o(.text+0x1155): In function `usb_get_endpoint_status':
73 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:791: undefined reference
74 to `usb_control_msg'
75 ptpcam.o(.text+0x11a6): In function `usb_clear_stall_feature':
76 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:802: undefined reference
77 to `usb_control_msg'
78 ptpcam.o(.text+0x11f6): In function `usb_ptp_get_device_status':
79 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:812: undefined reference
80 to `usb_control_msg'
81 ptpcam.o(.text+0x1247): In function `usb_ptp_device_reset':
82 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:823: undefined reference
83 to `usb_control_msg'
84 ptpcam.o(.text+0x13ed): In function `reset_device':
85 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:903: undefined reference
86 to `usb_release_interface'
87 ptpcam.o(.text+0x289): In function `init_ptp_usb':
88 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:345: undefined reference
89 to `usb_claim_interface'
90 ptpcam.o(.text+0x2b9): In function `init_usb':
91 /home/sander/gphoto/libgphoto3/camlibs/ptp2/ptpcam.c:356: undefined reference
92 to `usb_get_busses'
93 collect2: ld returned 1 exit status
94 make[2]: *** [ptpcam] Error 1
95 make[2]: Leaving directory `/home/sander/gphoto/libgphoto3/camlibs/ptp2'
96 make[1]: *** [install-recursive] Error 1
97 make[1]: Leaving directory `/home/sander/gphoto/libgphoto3/camlibs'
98 make: *** [install-recursive] Error 1
99
100 Can someone helps me to fix this f*cking issue (I'm already 3 days bussy with
101 trying to get my new camera working onder Gentoo :( )? I have to get this
102 working this evening :D because I went on hollidays tomorrow... You also can
103 contact me on my Jabber ID (see sig) to fasten up solving the issue.
104
105 - - --
106 Mvg, Sander Devrieze.
107
108 Jabber ID : sander@××××××××.de ( www.jabber.org )
109 Public Key: www.keyserver.net ( 0x73470923 )
110 -----BEGIN PGP SIGNATURE-----
111 Version: GnuPG v1.2.2 (GNU/Linux)
112
113 iD8DBQE+/dIYK+G8aHNHCSMRAtdWAJ9OO6q0YctXbvPtNYbi3QWwyxKtFACcDksy
114 EypsePy7b/40/bJuDdgwQ8Y=
115 =0a8Z
116 -----END PGP SIGNATURE-----
117
118
119 --
120 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>