FreeBSD 8.2 and DisplayLink devices?
Daniel O'Connor
doconnor at gsoft.com.au
Mon Jul 11 03:54:24 UTC 2011
On 11/07/2011, at 7:59, Torfinn Ingolfsen wrote:
> On Sun, 10 Jul 2011 20:13:17 +0200
> Matthias Apitz <guru at unixarea.de> wrote:
>
>>
>> CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib ' ./configure
>>
>
> Same error as before. Also tried
> env CFLAGS='-I/usr/local/include' CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib ' ./configure
>
> it didn't make a difference - same error as before.
It's probably using pkg-config and FreeBSD doesn't ship with a .pc file for libusb.
Create files like so
[midget 12:51] ~ >cat /usr/local/libdata/pkgconfig/libusb.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libusb
Description: USB access library
Version: 0.1
Libs: -L${libdir} -lusb
Cflags: -I${includedir}
[midget 12:51] ~ >cat /usr/local/libdata/pkgconfig/libusb-1.0.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libusb
Description: USB access library
Version: 1.0.1
Libs: -L${libdir} -lusb
Cflags: -I${includedir}
and try it again.
It would be nice if FreeBSD shipped with those files in (say) /usr/libdata/pkgconfig and the pkg-config port was tweaked to search there as well but it hasn't happened yet..
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the freebsd-usb
mailing list