Advertisement
Guest User

Untitled

a guest
Aug 1st, 2010
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. -Woverloaded-virtual -pthread -MT usrp2.lo -MD -MP -MF .deps/usrp2.Tpo -c usrp2.cc -fPIC -DPIC -o .libs/usrp2.o
  2. usrp2.cc:41:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> class boost::weak_ptr’
  3. usrp2.cc:41:33: error: expected a type, got ‘usrp2::usrp2::usrp2’
  4. usrp2.cc:43:75: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> class boost::weak_ptr’
  5. usrp2.cc:43:75: error: expected a type, got ‘usrp2::usrp2::usrp2’
  6. usrp2.cc: In static member function ‘static usrp2::usrp2::sptr usrp2::usrp2::find_existing_or_make_new(const std::string&, usrp2::props*, size_t)’:
  7. usrp2.cc:60:20: error: request for member ‘expired’ in ‘p.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = usrp2::usrp_table_entry*, _Container = std::vector<usrp2::usrp_table_entry>, __gnu_cxx::__normal_iterator<_Iterator, _Container>::pointer = usrp2::usrp_table_entry*]()->usrp2::usrp_table_entry::value’, which is of non-class type ‘int’
  8. usrp2.cc:64:31: error: no matching function for call to ‘boost::shared_ptr<usrp2::usrp2>::shared_ptr(int&)’
  9. /usr/include/boost/smart_ptr/shared_ptr.hpp:182:5: note: candidates are: boost::shared_ptr< <template-parameter-1-1> >::shared_ptr() [with T = usrp2::usrp2]
  10. /usr/include/boost/smart_ptr/shared_ptr.hpp:169:1: note: boost::shared_ptr<usrp2::usrp2>::shared_ptr(const boost::shared_ptr<usrp2::usrp2>&)
  11. usrp2.cc:73:23: error: expected type-specifier
  12. usrp2.cc:73:23: error: expected ‘)’
  13. usrp2.cc:74:30: error: no matching function for call to ‘usrp2::usrp_table_entry::usrp_table_entry(std::string&, usrp2::usrp2::sptr&)’
  14. usrp2.cc:43:5: note: candidates are: usrp2::usrp_table_entry::usrp_table_entry(const std::string&, int)
  15. usrp2.cc:38:27: note: usrp2::usrp_table_entry::usrp_table_entry(const usrp2::usrp_table_entry&)
  16. In file included from /usr/include/boost/shared_ptr.hpp:17:0,
  17. from /home/zxz/workarea/gnuradio/gnuradio-3.3.0/usrp2/host/include/usrp2/usrp2.h:22,
  18. from usrp2.cc:23:
  19. /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor ‘boost::shared_ptr< <template-parameter-1-1> >::shared_ptr(Y*) [with Y = int, T = usrp2::usrp2]’:
  20. usrp2.cc:73:56: instantiated from here
  21. /usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert ‘int*’ to ‘usrp2::usrp2*’ in initialization
  22. make[4]: *** [usrp2.lo] Error 1
  23. make[4]: Leaving directory `/home/zxz/workarea/gnuradio/gnuradio-3.3.0/usrp2/host/lib'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement