Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugs at busybox.net <bugs@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [buildroot 0002494]: Attempt to build usb tools fails by missing libusb.so
Date: Sat, 8 Mar 2008 17:09:29 -0800	[thread overview]
Message-ID: <0e304e81194e3a264db151c91af98f77@busybox.net> (raw)


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                          
======================================================================

             reply	other threads:[~2008-03-09  1:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09  1:09 bugs at busybox.net [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-27 13:01 [Buildroot] [buildroot 0002494]: Attempt to build usb tools fails by missing libusb.so bugs at busybox.net
2008-03-11  8:28 bugs at busybox.net
2008-03-08 14:23 bugs at busybox.net
2008-03-08 12:29 bugs at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e304e81194e3a264db151c91af98f77@busybox.net \
    --to=bugs@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox