From owner-freebsd-usb@FreeBSD.ORG Thu Feb 21 01:11:19 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3951406 for ; Thu, 21 Feb 2013 01:11:18 +0000 (UTC) (envelope-from xiaofanc@gmail.com) Received: from mail-qe0-f47.google.com (mail-qe0-f47.google.com [209.85.128.47]) by mx1.freebsd.org (Postfix) with ESMTP id BE60494C for ; Thu, 21 Feb 2013 01:11:18 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id 2so3986787qea.20 for ; Wed, 20 Feb 2013 17:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=e208NUJR2pl6PN6cs6voCudBRijkaMXJ7JOnU9eUWhc=; b=lDEcjIgxLlCMLAGLCG87+g7Sji1mtRE+SFOymghMPv7EDXVRBz9D8onNQeKpuBdOCC /jY8ikxcAvN+FyFqgAT4mHEw2PY7ZZNaAApbDWS7QOSCXlaWj5F5m2NIbT5CTOIwUjtF dLgm+ZQnLL4ZU5dIFn9i0bBtOmj9VEjCh8NgQnWTUP+QGc3XZOZEI787RPpHJkyla77p Q5idnLmzLFnfWdERRLnsPO8itq3Kz8BImmsblTpMFEtcl8HZy7r3hEK5vrK1yM9qyLiu lg6kBQlfAx4Jn+nk1KqwIXFvCrxEEF06Y1BO0G4rtIyji60xA5nF8Auyi+J57hLU9vwK /nxA== MIME-Version: 1.0 X-Received: by 10.224.72.134 with SMTP id m6mr10278163qaj.42.1361409077974; Wed, 20 Feb 2013 17:11:17 -0800 (PST) Received: by 10.49.87.197 with HTTP; Wed, 20 Feb 2013 17:11:17 -0800 (PST) In-Reply-To: <201302201804.09100.hselasky@c2i.net> References: <5124932E.5080205@passap.ru> <201302201804.09100.hselasky@c2i.net> Date: Thu, 21 Feb 2013 09:11:17 +0800 Message-ID: Subject: Re: argyllcms and usb (0.1 and 1.0) From: Xiaofan Chen To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 01:11:19 -0000 On Thu, Feb 21, 2013 at 1:04 AM, Hans Petter Selasky wrote: > USE_LIBUSB1 should be set, and -lusb must be used as linker flag, not - > lusb-1.0 like under linux. > > In FreeBSD -lusb is a multi-API library, including v0.1, v1.0 and v2.0. Header > files are in /usr/include Maybe it is good to have a pkg-config pc file for libusb-0.1 and libusb-1.0 wrapper to point to the correct -lusb flag. Reference: http://freebsd.1045724.n5.nabble.com/libusb-config-missing-td4055538.html Or maybe it is good to have symbolic link to libusb-1.0.so. -- Xiaofan