Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2009 08:47:44 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: don't know how to make /usr/obj/usr/src/tmp/usr/lib/libusbhid.a
Message-ID:  <20091231164744.GB4372@icarus.home.lan>
In-Reply-To: <20091231164001.16003.qmail@avocado.salatschuessel.net>
References:  <20091231101259.3f28dc5b.lehmann@ans-netz.de> <op.u5ssm1yd8527sy@82-170-177-25.ip.telfort.nl> <20091231163708.15920.qmail@avocado.salatschuessel.net> <20091231164001.16003.qmail@avocado.salatschuessel.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 31, 2009 at 05:40:01PM +0100, Oliver Lehmann wrote:
> I think that this error might be related to my "special" src.conf.
> Maybe WITHOUT_USB is causing this - but - this shouldn't be - right?

src/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c on RELENG_7
specifically includes usbhid.h, which is used for USB HID definitions
and related stuff, so I'd say your guess is correct.

$ uname -r
7.2-STABLE
$ grep -n -i usb /usr/src/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
41:#include <usbhid.h>

Regarding the odd mismatch (first a missing library archive, then a
missing .h file): chances are your "old" /usr/obj may have contained the
usbhid.h file somewhere (e.g. a previous kernel or world was built there
*before* you added WITHOUT_USB=1 to src.conf), then later you added
WITHOUT_USB=1 to src.conf without nuking /usr/obj.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091231164744.GB4372>