Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2011 11:22:51 +0800
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: FreeBSD 8.2 and DisplayLink devices?
Message-ID:  <5A792F9E-4860-4892-ACC4-9250F025EDB0@gsoft.com.au>
In-Reply-To: <20110711015905.ff232e6b.torfinn.ingolfsen@broadpark.no>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11/07/2011, at 7:59, Torfinn Ingolfsen wrote:

> On Sun, 10 Jul 2011 20:13:17 +0200
> Matthias Apitz <guru@unixarea.de> wrote:
>=20
>>=20
>> CFLAGS=3D'-I/usr/local/include' CPPFLAGS=3D'-I/usr/local/include' =
LDFLAGS=3D'-L/usr/local/lib '  ./configure
>>=20
>=20
> Same error as before. Also tried
> env CFLAGS=3D'-I/usr/local/include' CPPFLAGS=3D'-I/usr/local/include' =
LDFLAGS=3D'-L/usr/local/lib '  ./configure
>=20
> 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=20
prefix=3D/usr
exec_prefix=3D${prefix}
libdir=3D${exec_prefix}/lib
includedir=3D${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=20
prefix=3D/usr
exec_prefix=3D${prefix}
libdir=3D${exec_prefix}/lib
includedir=3D${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









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A792F9E-4860-4892-ACC4-9250F025EDB0>