Hello Antonio! On Tue, Jun 22, 2010 at 8:58 AM, antonio bergnoli <a.bergn...@gmail.com> wrote: > and what about libftdi ? ./configure --with-libusb=1.0 failed because > libftdi wants to link to libusb-0.1
libftdi depends either on libusb-0.1 or libusb-1.0 (depending on the libftdi version) and this is internal libftdi dependency. Libusb is another method in UrJTAG to access the USB devices not using the libftdi. On FreeBSD libusb is rewritten to match BSD license, it is a part of the system and it use the 0.1 libusb API. Yesterday on Fedora 12 I have built UrJTAG and as dependency I need to install libftdi that was already 1.0 using libusb 1.0. On my BSD I have checked if the libftdi-0.17 program requires linking with the libusb anyway and it turned true, so it can be difficult to maintain platform independece and use libftdi-0.x/libusb-0.x and libusb-1.0 at the same time (also libusb and libusb-win32 have other API???)... %pkg-config --cflags --libs libftdi -I/usr/local/include -L/usr/local/lib -lftdi -lusb Maybe it is possible to use -lusb for libusb-0.x and -lusb1 for libusb-1.x? Maybe the libftdi programs should link only with -lftdi and no -lusb for clear separation from libusb? Im not sure of that, but with my projects Im leaving UBS in favor of Ethernet because of this inconsistency. Best regatds, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ UrJTAG-development mailing list UrJTAG-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/urjtag-development