Advertisement
Guest User

Untitled

a guest
Aug 16th, 2010
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. usrp2.cc:41:33: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> class boost::weak_ptr’
  2. usrp2.cc:41:33: error: expected a type, got ‘usrp2::usrp2::usrp2’
  3. usrp2.cc:43:75: error: type/value mismatch at argument 1 in template parameter list for ‘template<class T> class boost::weak_ptr’
  4. usrp2.cc:43:75: error: expected a type, got ‘usrp2::usrp2::usrp2’
  5. usrp2.cc: In static member function ‘static usrp2::usrp2::sptr usrp2::usrp2::find_existing_or_make_new(const std::string&, usrp2::props*, size_t)’:
  6. 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’
  7. usrp2.cc:64:31: error: no matching function for call to ‘boost::shared_ptr<usrp2::usrp2>::shared_ptr(int&)’
  8. /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]
  9. /usr/include/boost/smart_ptr/shared_ptr.hpp:169:1: note: boost::shared_ptr<usrp2::usrp2>::shared_ptr(const boost::shared_ptr<usrp2::usrp2>&)
  10. usrp2.cc:73:23: error: expected type-specifier
  11. usrp2.cc:73:23: error: expected ‘)’
  12. usrp2.cc:74:30: error: no matching function for call to ‘usrp2::usrp_table_entry::usrp_table_entry(std::string&, usrp2::usrp2::sptr&)’
  13. usrp2.cc:43:5: note: candidates are: usrp2::usrp_table_entry::usrp_table_entry(const std::string&, int)
  14. usrp2.cc:38:27: note: usrp2::usrp_table_entry::usrp_table_entry(const usrp2::usrp_table_entry&)
  15. In file included from /usr/include/boost/shared_ptr.hpp:17:0,
  16. from /home/moe/downloads/ABS/gnuradio-stable/src/gnuradio-3.3.0/usrp2/host/include/usrp2/usrp2.h:22,
  17. from usrp2.cc:23:
  18. /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]’:
  19. usrp2.cc:73:56: instantiated from here
  20. /usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert ‘int*’ to ‘usrp2::usrp2*’ in initialization
  21. make: *** [usrp2.lo] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement