George,
The latest versions of GNUradio no longer use omnithreads - I believe everything the used them has switched over to using boost threads. I'm not sure what portions of the BBN code use threads (I suspect there is a watcher thread checking the message queue from the PLCP for received packets), but they probably need to be changed to either use boost::threads directly, or if gruel supplies a wrapper, use that. Hopefully the required changes are minimal. If I get a chance next week, I can take a look and see what it takes to build on my machine.
 Doug


On 5/21/10 4:37 PM, George Nychis wrote:

were you able to build the usrp2 branch successfully with the newest version of GNU Radio and Ubuntu? I am failing with a lot of errors with the newest version of git and Ubuntu 10.04

In file included from bbn_tap.h:39,
                 from bbn.cc:3840:
/usr/local/include/gnuradio/omnithread.h:139:2: error: #error "No implementation header file" /usr/local/include/gnuradio/omnithread.h:154:2: error: #error "Implementation header file incomplete"
In file included from bbn_tap.h:39,
                 from bbn.cc:3840:
/usr/local/include/gnuradio/omnithread.h:208: error: ISO C++ forbids declaration of ‘OMNI_MUTEX_IMPLEMENTATION’ with no type /usr/local/include/gnuradio/omnithread.h:209: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:209: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h: In member function ‘void omni_mutex::lock()’: /usr/local/include/gnuradio/omnithread.h:189: error: ‘OMNI_MUTEX_LOCK_IMPLEMENTATION’ was not declared in this scope /usr/local/include/gnuradio/omnithread.h:189: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h: In member function ‘void omni_mutex::unlock()’: /usr/local/include/gnuradio/omnithread.h:190: error: ‘OMNI_MUTEX_UNLOCK_IMPLEMENTATION’ was not declared in this scope /usr/local/include/gnuradio/omnithread.h:190: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h: In member function ‘int omni_mutex::trylock()’: /usr/local/include/gnuradio/omnithread.h:191: error: ‘OMNI_MUTEX_TRYLOCK_IMPLEMENTATION’ was not declared in this scope /usr/local/include/gnuradio/omnithread.h:191: error: expected ‘;’ before ‘}’ token
/usr/local/include/gnuradio/omnithread.h: At global scope:
/usr/local/include/gnuradio/omnithread.h:288: error: ISO C++ forbids declaration of ‘OMNI_CONDITION_IMPLEMENTATION’ with no type /usr/local/include/gnuradio/omnithread.h:289: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:289: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:323: error: ISO C++ forbids declaration of ‘OMNI_SEMAPHORE_IMPLEMENTATION’ with no type /usr/local/include/gnuradio/omnithread.h:324: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:324: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:613: error: ISO C++ forbids declaration of ‘OMNI_THREAD_IMPLEMENTATION’ with no type /usr/local/include/gnuradio/omnithread.h:614: error: expected ‘;’ before ‘}’ token /usr/local/include/gnuradio/omnithread.h:614: error: expected ‘;’ before ‘}’ token
In file included from bbn.cc:3844:
bbn_plcp80211_bb.h:62: warning: ‘typedef’ was ignored in this declaration


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to