On 2012.05.18 01:27, dan wrote:
> after noon guys im trying to port the ubertooth over to windows and get
> it working properly.

Nice.

> gcc  ubertooth-dump.c ubertooth.c -o ubertooth-dump -llibusb-1.0 -lbtbb
> ubertooth.c: In function ‘stream_rx_usb’:
> ubertooth.c:124:4: warning: passing argument 6 of
> ‘libusb_fill_bulk_transfer’ fr
> /usr/local/include/libusb-1.0/libusb.h:1148:20: note: expected
> ‘libusb_transfer_
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld:
> cannot find
> collect2: ld returned 1 exit status
> Makefile:34: recipe for target `ubertooth-dump' failed
> make: *** [ubertooth-dump] Error 1

Unfortunately, your copy/paste truncates the error message, which makes 
it difficult to try to figure out what your problem is. Especially, we 
can't see what it is that ld is unable to find. Can you make sure you 
send us the complete untruncated error report?

Now, a "cannot find" issue with ld is likely due to a missing library. 
Can you verify that the libusb one is located in a directory that ld 
will search into? The default from "make install" on cygwin is to copy 
the library into /usr/local/lib, so maybe what you're missing is 
appending a "-L/usr/local/lib" to the linker flags of your makefile?

Regards,

/Pete



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to