Hi Michael, On Jul 19, 2010, at 5:45 PM, Michael Dickens wrote:
> Hi Elvis - Did you try "configure --with-fusb-tech=libusb1"? You have to > specify that you want to use LIBUSB version 1; config/usrp_libusb.m4 checks > to see if you've specified this on the CLI & if not then doesn't check for > this version of LIBUSB. I downloaded libusb-1.0.8 from http://www.libusb.org/ and it doesn't recognize the --with-fusb-tech=libusb1 configure option $ ./configure --with-fusb-tech=libusb1 configure: WARNING: unrecognized options: --with-fusb-tech I also checked the older legacy libusb-0.1.12, and that also didn't have the --with-fusb-tech=libusb1 option, if you list it with ./configure --help, however, the legacy version accepts this as a parameter and for this warning are being treated as errors and it fails compilation: gcc -DHAVE_CONFIG_H -I. -Werror -no-cpp-precomp -g -O2 -g -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1 cc1: warnings being treated as errors darwin.c: In function ‘usb_get_next_device’: darwin.c:257: warning: passing argument 5 of ‘IOCreatePlugInInterfaceForService’ from incompatible pointer type darwin.c: In function ‘claim_interface’: darwin.c:560: warning: passing argument 5 of ‘IOCreatePlugInInterfaceForService’ from incompatible pointer type darwin.c: In function ‘rw_completed’: darwin.c:772: warning: cast from pointer to integer of different size darwin.c:772: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ darwin.c:774: warning: cast from pointer to integer of different size darwin.c: In function ‘usb_os_find_devices’: darwin.c:1067: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 3 has type ‘UInt32’ darwin.c:1095: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘UInt32’ make[2]: *** [darwin.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Best regards, Elvis _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio