El día Wednesday, May 16, 2012 a las 05:56:13PM +0100, Stefan Schmidt escribió:

> > I fetched 0.6 and it configures and make fine on FreeBSD 9-CURRENT with:
> > 
> > $ USB_CFLAGS=" " USB_LIBS="-lusb" ./configure
> > $ make
> 
> Great. As I never worked with FreeBSD before I'm wondering how to best
> integrate this into our aututols setup. I expected that it would work
> right away. Any experience what we might be missign?

Hi,

The "problem" is that USB support in FreeBSD is just in the OS (header
and lib) itself;

$ man -S3 usb
says:

LIBUSB(3)              FreeBSD Library Functions Manual LIBUSB(3)

NAME
     libusb -- USB access library

LIBRARY
     USB access library (libusb, -lusb)

SYNOPSIS
     #include <libusb.h>

DESCRIPTION
     The libusb library contains interfaces for directly managing a usb
     device.  The current implementation supports v1.0 of the libusb API.

...

(let me know if you want a copy of the complete man page)

This means that the h-file is in /usr/include/libusb.h and the shared
lib in /usr/lib/libusb.so; there are no pkgconf entries to ask for;

Does this help you?

        matthias
-- 
Matthias Apitz
e <g...@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to