discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Funcube Dongle source block for GNU Radio


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Funcube Dongle source block for GNU Radio
Date: Thu, 21 Jul 2011 09:22:10 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 21/07/2011 9:12 AM, Mike Jameson wrote:
Hi Alex,

Thanks for the fantastic job on gr-FCD, it works beautifully on Ubuntu 11.04 x64.

Now I am trying to get it to work on my Mac but have an issue with 'make'. Does the following error instantly ring any bells for you?

ms-MacBook-Pro:gr-fcd m$ make
make all-recursive
Making all in config
make all-am
make[3]: Nothing to be done for `all-am'.
Making all in lib
make all-am
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/Users/m/mycode/gnuradio/csete/gr-fcd/lib -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -D_THREAD_SAFE -I/opt/local/include -I/usr/local/include/gnuradio -I/usr/local/include -I/opt/local/include/libusb-1.0 -g -O2 -MT hid-libusb.lo -MD -MP -MF .deps/hid-libusb.Tpo -c -o hid-libusb.lo hid-libusb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/Users/m/mycode/gnuradio/csete/gr-fcd/lib -I/usr/local/include/gnuradio -I/usr/local/include/gnuradio/swig -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -D_THREAD_SAFE -I/opt/local/include -I/usr/local/include/gnuradio -I/usr/local/include -I/opt/local/include/libusb-1.0 -g -O2 -MT hid-libusb.lo -MD -MP -MF .deps/hid-libusb.Tpo -c hid-libusb.c -fno-common -DPIC -o .libs/hid-libusb.o hid-libusb.c:98: error: expected specifier-qualifier-list before ‘pthread_barrier_t’
hid-libusb.c: In function ‘new_hid_device’:
hid-libusb.c:123: error: ‘hid_device’ has no member named ‘shutdown_thread’
hid-libusb.c:124: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:125: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:129: error: ‘hid_device’ has no member named ‘barrier’
hid-libusb.c: In function ‘free_hid_device’:
hid-libusb.c:137: error: ‘hid_device’ has no member named ‘barrier’
hid-libusb.c: In function ‘get_usb_string’:
hid-libusb.c:361: warning: assignment makes pointer from integer without a cast
hid-libusb.c: In function ‘read_callback’:
hid-libusb.c:610: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:612: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:617: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:635: error: ‘hid_device’ has no member named ‘shutdown_thread’ hid-libusb.c:639: error: ‘hid_device’ has no member named ‘shutdown_thread’
hid-libusb.c: In function ‘read_thread’:
hid-libusb.c:662: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:663: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:674: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:677: error: ‘hid_device’ has no member named ‘barrier’
hid-libusb.c:680: error: ‘hid_device’ has no member named ‘shutdown_thread’
hid-libusb.c:695: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c: In function ‘hid_open_path’:
hid-libusb.c:822: error: ‘hid_device’ has no member named ‘barrier’
hid-libusb.c: In function ‘return_data’:
hid-libusb.c:903: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:907: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c: In function ‘hid_read’:
hid-libusb.c:928: error: ‘hid_device’ has no member named ‘input_reports’
hid-libusb.c:934: error: ‘hid_device’ has no member named ‘shutdown_thread’
hid-libusb.c: In function ‘hid_close’:
hid-libusb.c:1030: error: ‘hid_device’ has no member named ‘shutdown_thread’
hid-libusb.c:1031: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:1037: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:1038: error: ‘hid_device’ has no member named ‘transfer’
hid-libusb.c:1048: error: ‘hid_device’ has no member named ‘input_reports’
make[3]: *** [hid-libusb.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
ms-MacBook-Pro:gr-fcd m$


Cheers,

Mike
M0MIK


My guess is that the libusb on MacOS is quite different than what the gr-fcd source code is expecting. I'm not sure which API for libusb that gr-fcd uses, but clearly, it's not one that's compatible with the MacOS libusb.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]