Hello.

On Wed, 2012-05-16 at 19:48, Matthias Apitz wrote:
> 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?

Sorry for the delay on this. Moved countries and jobs and got cut off
my private OSS projects. I just created a mailing list dedicated to
dfu-util and I'm going to CC this mail to it. Hopefully some other
people can shime in with some help here.

Basically we could check for the header directly instead of pkgconfig
when being on freebsd.

regards
Stefan Schmidt
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to