checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for libusb_init in -lusb-1.0... no configure: error: in `/WRLinux-cgl-cgl_qemux86-64_Fedora17-2013-04-08_09-32-11/bitbake_build/tmp/work/x86_64-wrs-linux/usbutils-0.91-r5/usbutils-0.91/usbhid-dump': configure: error: libusb is required, but was not found, abort. Try installing libusb-1.0-0-dev package. See `config.log' for more details configure: error: ./configure failed for usbhid-dump Configure failed. The contents of all config.log files follows to aid debugging /WRLinux-cgl-cgl_qemux86-64_Fedora17-2013-04-08_09-32-11/bitbake_build/tmp/work/x86_64-wrs-linux/usbutils-0.91-r5/usbutils-0.91/config.log configure: exit 1 ERROR: oe_runconf failed WARNING: exit code 1 from a shell command. ERROR: Function failed: do_configure (see /WRLinux-cgl-cgl_qemux86-64_Fedora17-2013-04-08_09-32-11/bitbake_build/tmp/work/x86_64-wrs-linux/usbutils-0.91-r5/temp/do_configure/log.do_configure.24449 for further information)
Use bash to build.
1. Use dash as default sh sudo ln -sf /usr/bin/dash /bin/sh 2. Build usbutils make -C build libusb1.distclean usbutils.distclean make -C build usbutils 3. Restore sh sudo ln -sf /usr/bin/bash /bin/sh