* [tegrarcm PATCH] configure.ac: Request at least libusb 1.0.9
@ 2015-04-08 16:55 Tobias Klauser
[not found] ` <1428512112-15430-1-git-send-email-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2015-04-08 16:55 UTC (permalink / raw)
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA
tegrarcm needs at least libusb 1.0.9 which introduces libusb_error_name.
Otherwise the build fails with the following linker error:
usb.o: In function `usb_read':
.../tegrarcm/src/usb.c:260: undefined reference to `libusb_error_name'
usb.o: In function `usb_write':
.../tegrarcm/src/usb.c:233: undefined reference to `libusb_error_name'
Signed-off-by: Tobias Klauser <tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index c95a0ec..51ac73d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ AC_CHECK_LIB([pthread],
[pthread_create],
[HAVE_PTHREAD=1],
[AC_MSG_ERROR([libpthread is not installed.])])
-PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
+PKG_CHECK_MODULES([LIBUSB], [libusb-1.0 >= 1.0.9])
AC_LANG(C++)
SAVED_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -lcryptopp -lpthread"
--
2.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [tegrarcm PATCH] configure.ac: Request at least libusb 1.0.9
[not found] ` <1428512112-15430-1-git-send-email-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org>
@ 2015-04-13 16:04 ` Stephen Warren
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2015-04-13 16:04 UTC (permalink / raw)
To: Tobias Klauser; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA
On 04/08/2015 10:55 AM, Tobias Klauser wrote:
> tegrarcm needs at least libusb 1.0.9 which introduces libusb_error_name.
> Otherwise the build fails with the following linker error:
>
> usb.o: In function `usb_read':
> .../tegrarcm/src/usb.c:260: undefined reference to `libusb_error_name'
> usb.o: In function `usb_write':
> .../tegrarcm/src/usb.c:233: undefined reference to `libusb_error_name'
I have applied this.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-13 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-08 16:55 [tegrarcm PATCH] configure.ac: Request at least libusb 1.0.9 Tobias Klauser
[not found] ` <1428512112-15430-1-git-send-email-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org>
2015-04-13 16:04 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).