Buildworld usbhidctl failure

Christian Brassat crshd at mail.com
Tue Apr 10 04:34:41 UTC 2012


Hi,

I've been trying to update my 9-RELEASE to STABLE. Buildworld keeps
compiling for quite a while, but then fails with:

> ===> usr.bin/usbhidctl (all)
> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -march=core2
> -DNDEBUG -std=gnu99 -Wsystem-headers -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts
> -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition
> -Wno-pointer-sign -c /usr/src/usr.bin/usbhidctl/usbhid.c
> clang -O2 -pipe -O2 -fno-strict-aliasing -pipe -march=core2
> -DNDEBUG -std=gnu99 -Wsystem-headers -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
> -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts
> -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition
> -Wno-pointer-sign -L/usr/lib -L/usr/local/lib -o usbhidctl usbhid.o
> -lusbhid
> clang: warning: argument unused during compilation: '-std=gnu99'
> usbhid.o: In function `main':
> /usr/src/usr.bin/usbhidctl/usbhid.c:(.text+0x8e6): undefined reference to `hid_set_report'
> /usr/src/usr.bin/usbhidctl/usbhid.c:(.text+0x9f2): undefined reference to `hid_get_report'
> /usr/src/usr.bin/usbhidctl/usbhid.c:(.text+0xb89): undefined reference to `hid_get_report'
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop in /usr/src/usr.bin/usbhidctl.
> *** Error code 1
> 
> Stop in /usr/src/usr.bin.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.

I'm not sure what else is needed for proper troubleshooting, so let me
know if I need to provide additional information.

Greetings,
Christian

-- 
I used to have a signature. But it was too embarassed to be seen with me.


More information about the freebsd-stable mailing list