To: | |
---|---|
Subject: | Re: [ts-7000] libusb |
From: | Dino Sbrocca <> |
Date: | Thu, 6 Jul 2006 23:50:27 -0400 (EDT) |
Anand, I have achieved some level of success. 1. I re-installed my cross toolchain from the TS web site (ftp://ftp.embeddedarm.com/ts-arm-linux-cd/cross-toolchains/crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2) 2. I downloaded and unpacked the latest source for libusb (http://prdownloads.sourceforge.net/libusb/libusb-0.1.12.tar.gz) 3. I ran the following configure command. The problem with the command that I sent to you previously was that it wasn't overriding the c++ compiler which is now required by version 0.1.12. The old command caused the make utility to use the native c++ compiler. ( CC=arm-linux-gcc CXX=arm-linux-gcc ./configure --prefix=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux --program-prefix=arm-linux- --host=arm-pc-linux-gnu) 4. I ran the make command (make). This command will successfully compile all of the libusb core code and fail when it tries to compile the libusb test programs. I ignored the test programs. 5. I adopted root authority (su) 6. I added the cross compiler to my path. The new install process performs a compile. (PATH=$PATH:/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin) 7. I ran the install (make install). This command will successfully install all core libusb objects and fail when it tries to install the libusb test programs. I ignored the test programs. 8. I ftp'ed the libusb-0.1.so.4 file over to the /lib directory on the TS7260. 9. I cross compiled my test program and tested it on the TS7260. It worked. I will continue to investigate the failure of the libusb test programs. Dino Sbrocca <> wrote:
__._,_.___
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] TS-7300 Linux fast boot: 1.69 seconds!, Jesse Off |
---|---|
Next by Date: | [ts-7000] Re: Boy did I blow it, Eduardo Mendiola |
Previous by Thread: | Re: [ts-7000] libusb, Dino Sbrocca |
Next by Thread: | Re: [ts-7000] libusb, Anand S Madhusoodanan |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU