On 27/02/2011 20:50, Chris Frey wrote: > On Mon, Feb 28, 2011 at 01:06:52AM +0530, Naveen wrote: >> /root/Desktop/Rajendra/KY_POD/tollchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: >> cannot find -lusb collect2: ld returned 1 exit status make[2]: *** [btool] > Looks like you're not providing a path to your libusb libraries. When I've cross compiled Barry for ARM I've always found that you just need to set PKG_CONFIG_LIBDIR to $ROOTFS/usr and PKG_CONFIG_PATH to $ROOTFS/usr/lib/pkgconfig (assuming that ROOTFS is set to the location of your ARM rootfs and that you installed libusb to an install root of $ROOTFS/usr). All the configure magic should then work correctly.
Regards, Toby ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Barry-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/barry-devel
