Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 00:33:12 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: FreeBSD 8.2 and DisplayLink devices?
Message-ID:  <20110712003312.1e20eddb.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20110711035246.GA2150@tinyCurrent>
References:  <20110710194410.4ff1f096.torfinn.ingolfsen@broadpark.no> <201107101956.03740.hselasky@c2i.net> <20110710200629.00aab8b3.torfinn.ingolfsen@broadpark.no> <20110710181316.GA1147@tiny> <20110711015905.ff232e6b.torfinn.ingolfsen@broadpark.no> <20110711035246.GA2150@tinyCurrent>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jul 2011 05:52:46 +0200
Matthias Apitz <guru@unixarea.de> wrote:

> So, look into the log file config.log to understand what it is missing;

Good advice! 
Here is a part of it:
configure:13177: gcc -o conftest -I/usr/local/include -I/usr/local/include -L/usr/local/lib  conftest.c -lusb  >&5
/var/tmp//cctcQ0kE.o(.text+0xa): In function `main':
: undefined reference to `usb_get_driver_np'
...
configure:13204: result: no
configure:13209: error: Can't find libusb. On ubuntu, try sudo apt-get install libusb-dev

According to [1], this function is implemted on Linux only - a Linuxism.
I'll see if I want to fix it.

References:
1) http://libusb.sourceforge.net/doc/function.usbgetdrivernp.html
-- 
Torfinn




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110712003312.1e20eddb.torfinn.ingolfsen>