Subject: Re: build failure
To: None <rmk@rmkhome.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 12/23/2001 02:31:48
Update again, it's been fixed.
-- Lennart
Rick Kelly wrote:
> build failure in usr.bin/usbhidctl
>
> Notice the -lusbhid. I don't where that came from. And usbhidctl built
> okay.
>
> dependall ===> usr.bin/usbhidctl
> CC=/usr/src/toolbin/bin/i386--netbsdelf-gcc /usr/src/toolbin/bin/nbmkdep -a -nostdinc -isystem /usr/include usbhid.c
> /usr/src/toolbin/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -isystem /usr/include -c usbhid.c
> /usr/src/toolbin/bin/i386--netbsdelf-gcc -o usbhidctl -nostdlib -Wl,-rpath-link,/usr/lib /usr/lib/crt0.o /usr/lib/crtbegin.o usbhid.o -lusbhid -L/usr/lib -lgcc -lc -lgcc /usr/lib/crtend.o
> /usr/src/toolbin/i386--netbsdelf/bin/ld: cannot find -lusbhid
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/usr.bin/usbhidctl
> *** Error code 1
>
> --
> Rick Kelly rmk@rmkhome.com www.rmkhome.com