From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugs at busybox.net Date: Sat, 8 Mar 2008 17:09:29 -0800 Subject: [Buildroot] [buildroot 0002494]: Attempt to build usb tools fails by missing libusb.so Message-ID: <0e304e81194e3a264db151c91af98f77@busybox.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net A NOTE has been added to this issue. ====================================================================== http://busybox.net/bugs/view.php?id=2494 ====================================================================== Reported By: ucdamiano Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 2494 Category: Architecture Specific Reproducibility: always Severity: block Priority: normal Status: assigned ====================================================================== Date Submitted: 03-08-2008 04:29 PST Last Modified: 03-08-2008 17:09 PST ====================================================================== Summary: Attempt to build usb tools fails by missing libusb.so Description: I try to build USB libraries packages on ARM S3C2410, the vanilla compilation is OK and the generated systems works (only using OABi, but it works) but when I try to add support for USB I get the following error (see additional information) ====================================================================== ---------------------------------------------------------------------- ucdamiano - 03-08-08 06:23 ---------------------------------------------------------------------- It is possible to continue by issuing cp build_arm/staging_dir/lib/libusb.so build_arm/staging_dir/usr/lib ---------------------------------------------------------------------- hbr_in - 03-08-08 17:09 ---------------------------------------------------------------------- Hi, here is the patch to correct this error. i had sent this earlier but no one comited this. Regards Gururaja diff -purN buildroot/package/libusb/libusb.mk buildroot_patched/package/libusb/libusb.mk --- buildroot/package/libusb/libusb.mk 2008-03-04 03:15:13.000000000 -0500 +++ buildroot_patched/package/libusb/libusb.mk 2008-02-21 16:46:07.000000000 -0500 @@ -56,7 +56,7 @@ $(STAGING_DIR)/lib/libusb.so: $(LIBUSB_D $(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so - cp -dpf $(STAGING_DIR)/usr/lib/libusb*.so* $(TARGET_DIR)/usr/lib/ + cp -dpf $(STAGING_DIR)/lib/libusb*.so* $(TARGET_DIR)/usr/lib/ $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so* libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY) Issue History Date Modified Username Field Change ====================================================================== 03-08-08 04:29 ucdamiano New Issue 03-08-08 04:29 ucdamiano Status new => assigned 03-08-08 04:29 ucdamiano Assigned To => buildroot 03-08-08 06:19 ucdamiano Issue Monitored: ucdamiano 03-08-08 06:23 ucdamiano Note Added: 0005614 03-08-08 17:09 hbr_in Note Added: 0005634 ======================================================================