06.11.2010 15:17, davidMbrooke пишет: > Hi Stefaan, > > On Sat, 2010-11-06 at 10:51 +0100, Stefaan Van Dooren wrote: > >> checking for libusb version via pkg-config... checking via libusb-config... >> 0.1.12 found >> checking for libusb cflags... >> checking for libusb ldflags... -L/usr/lib -lusb >> checking for usb.h... yes >> checking for usb_init... no > This is the problem - it doesn't find usb_init() so it concludes that > libusb isn't going to work The root cause is that it is looking for > libusb.so in /usr/lib (on the build host), which is wrong... > > I have modified source/nut/buildtool.mk to add --with-usb-includes and > --with-usb-libs for the "configure" command. It works for me now, but > then it worked for me (and Andrew) before... > > Could you try again please. Should be sufficient to run: > buildtool.pl srcclean nut > rm -rf source/nut > buildtool.pl build nut > > > dMb As I saw in log, it also can't find snmp libraries. P.S. Possible it'll be easier to replace all /(usr/)lib into configure script to BT_STAGING_DIR/(usr/)lib ? I do this for one of packages via perl regexp; but I can't remember what package I modified.. Possible, GCC. Unfortunately for some days I will not have enough free time to do this by myself.
------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel