don't know how to make /usr/obj/usr/src/tmp/usr/lib/libusbhid.a

Jeremy Chadwick freebsd at jdc.parodius.com
Thu Dec 31 16:42:27 UTC 2009


On Thu, Dec 31, 2009 at 05:37:08PM +0100, Oliver Lehmann wrote:
> Ronald Klop writes:
> 
> >Some of the regular tips:
> >- Make clean or rm -r /usr/obj
> >- Remove the /usr/src/* and csup/cvsup some fresh src.
> 
> Yeah tried this (I probably did this in June with the same error as
> well). Now I'm getting:
> 
> ===> usr.sbin/bluetooth/bthidcontrol (depend)
> lex -t  /usr/src/usr.sbin/bluetooth/bthidcontrol/../bthidd/lexer.l > lexer.c
> yacc -d -o parser.c
> /usr/src/usr.sbin/bluetooth/bthidcontrol/../bthidd/parser.y
> rm -f .depend
> mkdep -f .depend -a    -DBTHIDCONTROL=1
> -I/usr/src/usr.sbin/bluetooth/bthidcontrol/../bthidd
> /usr/src/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
> /usr/src/usr.sbin/bluetooth/bthidcontrol/hid.c lexer.c parser.c
> /usr/src/usr.sbin/bluetooth/bthidcontrol/sdp.c
> /usr/src/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c:41:20:
> error: usbhid.h: No such file or directory
> /usr/src/usr.sbin/bluetooth/bthidcontrol/hid.c:38:20: error:
> usbhid.h: No such file or directory
> /usr/src/usr.sbin/bluetooth/bthidcontrol/../bthidd/parser.y:44:20:
> error: usbhid.h: No such file or directory
> /usr/src/usr.sbin/bluetooth/bthidcontrol/sdp.c:40:20: error:
> usbhid.h: No such file or directory
> mkdep: compile failed
> *** Error code 1

This is a different error than before.  Shot in the dark, but most of
the build problems I've seen here stem from clocks which drift
excessively (usually machines not running ntpd, or a machine which needs
ntpdate or ntpdate -b run on it).

It's a little odd (to me) that it'd recur in bthidcontrol every time,
but hey... worth a shot.  :-)

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


More information about the freebsd-stable mailing list