Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2012 12:34:28 +0800
From:      Christian Brassat <crshd@mail.com>
To:        freebsd-stable@freebsd.org
Subject:   Buildworld usbhidctl failure
Message-ID:  <20120410043428.GA37892@beastie>

next in thread | raw e-mail | index | archive | help
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.



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