[Kea-users] logc4plus - no known conversion

Nathan Royce naroyce at hotmail.com
Tue Feb 3 00:46:40 UTC 2015


make[5]: Entering directory '/home/user/Desktop/kea/src/lib/log'  CXX      libkea_log_la-logimpl_messages.lo  CXX      libkea_log_la-log_formatter.lo  CXX      libkea_log_la-logger.lo  CXX      libkea_log_la-logger_impl.loIn file included from /home/user/Desktop/boost/boost/bind/mem_fn.hpp:25:0,                 from /home/user/Desktop/boost/boost/mem_fn.hpp:22,                 from /home/user/Desktop/boost/boost/function/detail/prologue.hpp:18,                 from /home/user/Desktop/boost/boost/function.hpp:24,                 from /home/user/Desktop/boost/boost/algorithm/string/detail/find_iterator.hpp:18,                 from /home/user/Desktop/boost/boost/algorithm/string/find_iterator.hpp:24,                 from /home/user/Desktop/boost/boost/algorithm/string/iter_find.hpp:27,                 from /home/user/Desktop/boost/boost/algorithm/string/split.hpp:16,                 from /home/user/Desktop/boost/boost/algorithm/string.hpp:23,                 from logger_impl.cc:24:/home/user/Desktop/boost/boost/get_pointer.hpp:27:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] template<class T> T * get_pointer(std::auto_ptr<T> const& p)                                        ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/locale_conv.h:41:0,                 from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/locale:43,                 from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/iomanip:43,                 from logger_impl.cc:16:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^  CXX      libkea_log_la-logger_level.loIn file included from /home/user/Desktop/boost/boost/bind/mem_fn.hpp:25:0,                 from /home/user/Desktop/boost/boost/mem_fn.hpp:22,                 from /home/user/Desktop/boost/boost/function/detail/prologue.hpp:18,                 from /home/user/Desktop/boost/boost/function.hpp:24,                 from /home/user/Desktop/boost/boost/algorithm/string/detail/find_iterator.hpp:18,                 from /home/user/Desktop/boost/boost/algorithm/string/find_iterator.hpp:24,                 from /home/user/Desktop/boost/boost/algorithm/string/iter_find.hpp:27,                 from /home/user/Desktop/boost/boost/algorithm/string/split.hpp:16,                 from /home/user/Desktop/boost/boost/algorithm/string.hpp:23,                 from logger_level.cc:19:/home/user/Desktop/boost/boost/get_pointer.hpp:27:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] template<class T> T * get_pointer(std::auto_ptr<T> const& p)                                        ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/locale_conv.h:41:0,                 from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/locale:43,                 from /home/user/Desktop/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp:44,                 from /home/user/Desktop/boost/boost/lexical_cast/detail/converter_lexical.hpp:53,                 from /home/user/Desktop/boost/boost/lexical_cast/try_lexical_convert.hpp:34,                 from /home/user/Desktop/boost/boost/lexical_cast.hpp:32,                 from ../../../src/lib/log/log_formatter.h:23,                 from ../../../src/lib/log/logger.h:28,                 from ../../../src/lib/log/macros.h:18,                 from logger_level.cc:16:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^  CXX      libkea_log_la-logger_level_impl.lo  CXX      libkea_log_la-logger_manager.lo  CXX      libkea_log_la-logger_manager_impl.loIn file included from /home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:28:0,                 from /home/user/Desktop/boost/boost/shared_ptr.hpp:17,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )                                 ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:242:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations] template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >                                                                 ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:441:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()                               ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:454:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()                      ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:520:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     shared_ptr & operator=( std::auto_ptr<Y> & r )                                  ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:529:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     shared_ptr & operator=( std::auto_ptr<Y> && r )                                  ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^In file included from /home/user/Desktop/boost/boost/shared_ptr.hpp:17:0,                 from ../../../src/lib/log/buffer_appender_impl.h:22,                 from logger_manager_impl.cc:36:/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':/home/user/Desktop/boost/boost/smart_ptr/shared_ptr.hpp:531:38: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );                                      ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^logger_manager_impl.cc: In static member function 'static void isc::log::LoggerManagerImpl::setConsoleAppenderLayout(log4cplus::SharedAppenderPtr&)':logger_manager_impl.cc:250:5: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     auto_ptr<log4cplus::Layout> layout(new log4cplus::PatternLayout(pattern));     ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^logger_manager_impl.cc:251:31: error: no matching function for call to 'log4cplus::Appender::setLayout(std::auto_ptr<log4cplus::Layout>&)'     appender->setLayout(layout);                               ^In file included from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:216:22: note: candidate: virtual void log4cplus::Appender::setLayout(std::unique_ptr<log4cplus::Layout>)         virtual void setLayout(std::unique_ptr<Layout> layout);                      ^/home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:216:22: note:   no known conversion for argument 1 from 'std::auto_ptr<log4cplus::Layout>' to 'std::unique_ptr<log4cplus::Layout>'logger_manager_impl.cc: In static member function 'static void isc::log::LoggerManagerImpl::setSyslogAppenderLayout(log4cplus::SharedAppenderPtr&)':logger_manager_impl.cc:265:5: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]     auto_ptr<log4cplus::Layout> layout(new log4cplus::PatternLayout(pattern));     ^In file included from /home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/memory:81:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/layout.h:39,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/cross-tools/armv7l-unknown-linux-gnueabihf/include/c++/5.0.0/bits/unique_ptr.h:49:28: note: declared here   template<typename> class auto_ptr;                            ^logger_manager_impl.cc:266:31: error: no matching function for call to 'log4cplus::Appender::setLayout(std::auto_ptr<log4cplus::Layout>&)'     appender->setLayout(layout);                               ^In file included from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/spi/appenderattachable.h:33:0,                 from /home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/logger.h:36,                 from logger_manager_impl.cc:20:/home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:216:22: note: candidate: virtual void log4cplus::Appender::setLayout(std::unique_ptr<log4cplus::Layout>)         virtual void setLayout(std::unique_ptr<Layout> layout);                      ^/home/user/Desktop/CLFS/armv7l-unknown-linux-gnueabihf/include/log4cplus/appender.h:216:22: note:   no known conversion for argument 1 from 'std::auto_ptr<log4cplus::Layout>' to 'std::unique_ptr<log4cplus::Layout>'Makefile:696: recipe for target 'libkea_log_la-logger_manager_impl.lo' failedmake[5]: *** [libkea_log_la-logger_manager_impl.lo] Error 1make[5]: Leaving directory '/home/user/Desktop/kea/src/lib/log'Makefile:809: recipe for target 'all-recursive' failedmake[4]: *** [all-recursive] Error 1make[4]: Leaving directory '/home/user/Desktop/kea/src/lib/log'Makefile:406: recipe for target 'all-recursive' failedmake[3]: *** [all-recursive] Error 1make[3]: Leaving directory '/home/user/Desktop/kea/src/lib'Makefile:406: recipe for target 'all-recursive' failedmake[2]: *** [all-recursive] Error 1make[2]: Leaving directory '/home/user/Desktop/kea/src'Makefile:862: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/home/user/Desktop/kea'Makefile:727: recipe for target 'all' failedmake: *** [all] Error 2
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20150202/579452d4/attachment-0001.html>


More information about the Kea-users mailing list