[Buildroot] libusb now compile - patch

Allan Clark allanc at chickenandporn.com
Thu Sep 20 00:21:57 UTC 2007


On 9/20/07, Hebbar <gururajakr at sanyo.co.in> wrote:
>
> Hi Sushi Sensei,
> Thanks for the patch. Now i am able to build libusb. unfortunately when i
> try to build usbutils i get an error saying
>
> <snip>
> checking for usb_get_string_simple in -lusb... no
> configure: error: get libusb 0.1.8 or newer
> make: ***
> [/home/guru/project/original/bldrt/buildroot/build_arm/usbutils-0.72/.configured]
> Error 1

In libusb/libusb.mk, try this change:

<     cp -dpf $(LIBUSB_DIR)/.libs/libusb*.so.* $(TARGET_DIR)/usr/lib
--
>     cp -dpf $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib

notice ".so.*" ==> ".so*" -- this will allow libusb.so to exist, and
perhaps allow the build to continue.  Otherwise, if the libusb.a is
there, and not working, check the build path.

If this doesn't work, in private email, can you send your .config, or
provide a download URL?  I'm curious, and have some time in 16 hours.

Allan
-- 
allanc at chickenandporn.com  "金鱼" http://linkedin.com/in/goldfish
please, no proprietary attachments (http://tinyurl.com/cbgq)


More information about the buildroot mailing list