Advertisement
cyter

g++ example.cpp -lcurlpp -lcurl

Oct 15th, 2016
649
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:53:0,
  2.                  from example.cpp:3:
  3. /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:224:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  4.    std::auto_ptr<_xmlSAXHandler> sax_handler_;
  5.         ^
  6. In file included from /usr/include/c++/5/memory:81:0,
  7.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  8.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  9.                  from example.cpp:3:
  10. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  11.    template<typename> class auto_ptr;
  12.                             ^
  13. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:54:0,
  14.                  from example.cpp:3:
  15. /usr/include/libxml++-2.6/libxml++/parsers/textreader.h:260:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  16.      std::auto_ptr<PropertyReader> propertyreader;
  17.           ^
  18. In file included from /usr/include/c++/5/memory:81:0,
  19.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  20.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  21.                  from example.cpp:3:
  22. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  23.    template<typename> class auto_ptr;
  24.                             ^
  25. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:69:0,
  26.                  from example.cpp:3:
  27. /usr/include/libxml++-2.6/libxml++/relaxngschema.h:108:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  28.    std::auto_ptr<Impl> pimpl_;
  29.         ^
  30. In file included from /usr/include/c++/5/memory:81:0,
  31.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  32.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  33.                  from example.cpp:3:
  34. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  35.    template<typename> class auto_ptr;
  36.                             ^
  37. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:70:0,
  38.                  from example.cpp:3:
  39. /usr/include/libxml++-2.6/libxml++/xsdschema.h:99:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  40.    std::auto_ptr<Impl> pimpl_;
  41.         ^
  42. In file included from /usr/include/c++/5/memory:81:0,
  43.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  44.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  45.                  from example.cpp:3:
  46. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  47.    template<typename> class auto_ptr;
  48.                             ^
  49. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:73:0,
  50.                  from example.cpp:3:
  51. /usr/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:159:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  52.    std::auto_ptr<Impl> pimpl_;
  53.         ^
  54. In file included from /usr/include/c++/5/memory:81:0,
  55.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  56.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  57.                  from example.cpp:3:
  58. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  59.    template<typename> class auto_ptr;
  60.                             ^
  61. In file included from /usr/include/libxml++-2.6/libxml++/libxml++.h:75:0,
  62.                  from example.cpp:3:
  63. /usr/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:149:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  64.    std::auto_ptr<Impl> pimpl_;
  65.         ^
  66. In file included from /usr/include/c++/5/memory:81:0,
  67.                  from /usr/include/libxml++-2.6/libxml++/parsers/saxparser.h:14,
  68.                  from /usr/include/libxml++-2.6/libxml++/libxml++.h:53,
  69.                  from example.cpp:3:
  70. /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
  71.    template<typename> class auto_ptr;
  72.                             ^
  73. /tmp/ccmkN1t2.o: In function `curlpp::internal::OptionContainer<std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::OptionContainer(std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
  74. /usr/include/curlpp/internal/OptionContainer.inl:38: undefined reference to `curlpp::internal::SList::SList(std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
  75. /tmp/ccmkN1t2.o: In function `curlpp::internal::OptionContainer<std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::setValue(std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
  76. /usr/include/curlpp/internal/OptionContainer.inl:52: undefined reference to `curlpp::internal::SList::operator=(std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
  77. /tmp/ccmkN1t2.o: In function `curlpp::OptionTrait<std::ostream*, (CURLoption)10001>::updateHandleToMe(curlpp::internal::CurlHandle*) const':
  78. /usr/include/curlpp/Option.inl:148: undefined reference to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  79. /tmp/ccmkN1t2.o: In function `curlpp::OptionTrait<bool, (CURLoption)52>::updateHandleToMe(curlpp::internal::CurlHandle*) const':
  80. /usr/include/curlpp/Option.inl:148: undefined reference to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  81. /tmp/ccmkN1t2.o: In function `curlpp::OptionTrait<std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, (CURLoption)10023>::updateHandleToMe(curlpp::internal::CurlHandle*) const':
  82. /usr/include/curlpp/Option.inl:148: undefined reference to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  83. /tmp/ccmkN1t2.o: In function `curlpp::OptionTrait<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, (CURLoption)10002>::updateHandleToMe(curlpp::internal::CurlHandle*) const':
  84. /usr/include/curlpp/Option.inl:148: undefined reference to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  85. /tmp/ccmkN1t2.o: In function `curlpp::Option<std::ostream*>::getValue() const':
  86. /usr/include/curlpp/Option.inl:114: undefined reference to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  87. /tmp/ccmkN1t2.o:/usr/include/curlpp/Option.inl:114: more undefined references to `curlpp::UnsetOption::UnsetOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
  88. /tmp/ccmkN1t2.o: In function `curlpp::internal::OptionContainer<std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::getValue()':
  89. /usr/include/curlpp/internal/OptionContainer.inl:59: undefined reference to `curlpp::internal::SList::operator std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >[abi:cxx11]()'
  90. collect2: error: ld returned 1 exit status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement