Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

build make 시 오류 문의

안녕하세요 현재 정상적으로 ifun server를 이용하고 있는 프로젝트 source를 svn으로 다른 컴퓨터에서 사용하려고 하고있습니다.

project-source폴더 전체를 커밋 후 다른 컴퓨터에서 해당 project-source폴더를 받은 후 빌드를 진행하였으나,

make 도중에 에러가 발생하여 문의드립니다. 에러 내용은 아래와 같습니다.

root@server-XPS-8920:~# cd sfrserver-build/debug root@server-XPS-8920:~/sfrserver-build/debug# make Scanning dependencies of target internal_create_launchers [ 1%] Generating sfrserver.matchmaker-launcher [ 3%] Generating sfrserver.matchmaker-local [ 5%] Generating sfrserver.game-launcher [ 7%] Generating sfrserver.game-local [ 9%] Generating sfrserver.lobby-launcher [ 11%] Generating sfrserver.lobby-local [ 11%] Built target internal_create_launchers Scanning dependencies of target internal_import_manifest_dirs [ 12%] Generating manifests/matchmaker/MANIFEST.json [ 14%] Generating manifests/game/MANIFEST.json [ 16%] Generating manifests/lobby/MANIFEST.json [ 16%] Built target internal_import_manifest_dirs Scanning dependencies of target internal_import_resource_dirs [ 18%] Generating resources/game_data [ 20%] Generating resources/client_data [ 22%] Generating resources/json_protocols [ 22%] Built target internal_import_resource_dirs Scanning dependencies of target funapi_utf8_file_check [ 24%] Checking if files are valid UTF-8... [ 24%] Built target funapi_utf8_file_check [ 25%] Generating funapi/network/fun_message.pb.cc, funapi/network/fun_message.pb.h, funapi/network/fun_message_pb2.py [ 27%] Generating funapi/distribution/fun_dedicated_server_rpc_message.pb.cc, funapi/distribution/fun_dedicated_server_rpc_message.pb.h, funapi/distribution/fun_dedicated_server_rpc_message_pb2.py [ 29%] Generating funapi/distribution/fun_rpc_message.pb.cc, funapi/distribution/fun_rpc_message.pb.h, funapi/distribution/fun_rpc_message_pb2.py [ 31%] Generating funapi/service/multicast_message.pb.cc, funapi/service/multicast_message.pb.h, funapi/service/multicast_message_pb2.py [ 33%] Generating funapi/service/redirect_message.pb.cc, funapi/service/redirect_message.pb.h, funapi/service/redirect_message_pb2.py [ 35%] Generating funapi/management/maintenance_message.pb.cc, funapi/management/maintenance_message.pb.h, funapi/management/maintenance_message_pb2.py [ 37%] Generating funapi/network/ping_message.pb.cc, funapi/network/ping_message.pb.h, funapi/network/ping_message_pb2.py [ 38%] Generating sfrserver_rpc_messages.pb.cc, sfrserver_rpc_messages.pb.h, sfrserver_rpc_messages_pb2.py [ 40%] Generating sfrserver_loggers.h, sfrserver_loggers.cc, /root/sfrserver-source/mono/ActivityLog/sfrserver_loggers.cs [ 42%] Generating sfrserver_messages.pb.cc, sfrserver_messages.pb.h, sfrserver_messages_pb2.py [ 44%] Generating sfrserver_dedicated_server_rpc_messages.pb.cc, sfrserver_dedicated_server_rpc_messages.pb.h, sfrserver_dedicated_server_rpc_messages_pb2.py Scanning dependencies of target sfrserver [ 46%] Building CXX object src/CMakeFiles/sfrserver.dir/object_model/sfrserver_object.cc.o In file included from /usr/include/funapi/system/logging.h:16:0, from /usr/include/funapi.h:56, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /root/sfrserver-source/src/object_model/../object_model/common.h: In member function ‘ValueType sfrserver::MapRefBase<keytype, valuetype="">::GetAt(const KeyType&) const’: /root/sfrserver-source/src/object_model/../object_model/common.h:349:19: error: ‘class fun::AttributeValue’ has no member named ‘IsNull’ LOG_IF(FATAL, r.IsNull()) << "wrong key: " << key; ^ In file included from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12:0, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /root/sfrserver-source/src/object_model/../object_model/common.h: In member function ‘void sfrserver::MapRefBase<keytype, valuetype="">::SetAt(const KeyType&, const ValueType&)’: /root/sfrserver-source/src/object_model/../object_model/common.h:359:41: error: no matching function for call to ‘fun::Object::SetMapElement(const string&, fun::AttributeValue, fun::AttributeValue)’ AttributeValue(ConvertTo<>(value))); ^ In file included from /usr/include/funapi.h:32:0, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/funapi/object/object.h:292:8: note: candidate: void fun::Object::SetMapElement(const string&, const fun::AttributeValue&, const boost::shared_ptr<fun::attributevalue>&) void SetMapElement( ^ /usr/include/funapi/object/object.h:292:8: note: no known conversion for argument 3 from ‘fun::AttributeValue’ to ‘const boost::shared_ptr<fun::attributevalue>&’ /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static boost::shared_ptr<sfrserver::character> sfrserver::Character::Create(const string&)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: error: no match for ‘operator=’ (operand types are ‘std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<fun::attributevalue> >::mapped_type {aka boost::shared_ptr<fun::attributevalue>}’ and ‘fun::AttributeValue’) key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:500:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(const boost::shared_ptr<t>&) [with T = fun::AttributeValue] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:500:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘const boost::shared_ptr<fun::attributevalue>&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:509:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(const boost::shared_ptr<y>&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=(shared_ptr<y> const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:509:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: note: ‘fun::AttributeValue’ is not derived from ‘const boost::shared_ptr<x>’ key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:520:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( std::auto_ptr<y> & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:520:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: note: ‘fun::AttributeValue’ is not derived from ‘std::auto_ptr<y>’ key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( std::auto_ptr<y> && r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: note: ‘fun::AttributeValue’ is not derived from ‘std::auto_ptr<y>’ key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:551:18: note: candidate: template<class y,="" class="" d=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = fun::AttributeValue] shared_ptr & operator=( std::unique_ptr<y, d=""> && r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:551:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: note: ‘fun::AttributeValue’ is not derived from ‘std::unique_ptr<_Tp, _Dp>’ key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:587:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::shared_ptr<t>&&) [with T = fun::AttributeValue] shared_ptr & operator=( shared_ptr && r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:587:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘boost::shared_ptr<fun::attributevalue>&&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:594:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::shared_ptr<y>&&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( shared_ptr<y> && r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:594:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:805:22: note: ‘fun::AttributeValue’ is not derived from ‘boost::shared_ptr<x>’ key_params["Name"] = AttributeValue(name); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:604:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::detail::sp_nullptr_t) [with T = fun::AttributeValue; boost::detail::sp_nullptr_t = std::nullptr_t] shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_NOEXCEPT // nev ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:604:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘boost::detail::sp_nullptr_t {aka std::nullptr_t}’ /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static boost::shared_ptr<sfrserver::character> sfrserver::Character::FetchByName(const string&, fun::LockType)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:873:71: error: no matching function for call to ‘fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const char [5], fun::AttributeValue&, fun::LockType&)’ Ptr<object> obj = Object::Fetch(model, "Name", key_value, lock_type); ^ In file included from /usr/include/funapi.h:32:0, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/funapi/object/object.h:101:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const Id&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:101:22: note: candidate expects 3 arguments, 4 provided /usr/include/funapi/object/object.h:104:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const boost::shared_ptr<fun::attributevalue>&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:104:22: note: no known conversion for argument 3 from ‘fun::AttributeValue’ to ‘const boost::shared_ptr<fun::attributevalue>&’ /usr/include/funapi/object/object.h:109:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMap&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:109:22: note: candidate expects 3 arguments, 4 provided /usr/include/funapi/object/object.h:113:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const ObjectIdVector&, fun::LockType, fun::Object::ObjectIdObjectPairVector) static void Fetch( ^ /usr/include/funapi/object/object.h:113:15: note: no known conversion for argument 2 from ‘const char [5]’ to ‘const ObjectIdVector& {aka const std::vector<boost::uuids::uuid>&}’ /usr/include/funapi/object/object.h:117:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const AttributeValueVector&, fun::LockType, fun::Object::AttributeValueObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:117:15: note: candidate expects 5 arguments, 4 provided /usr/include/funapi/object/object.h:123:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMapVector&, fun::LockType, fun::Object::AttributeMapObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:123:15: note: no known conversion for argument 2 from ‘const char [5]’ to ‘const AttributeValueMapVector& {aka const std::vector<std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<fun::attributevalue> > >&}’ /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static void sfrserver::Character::FetchByName(const std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::pair<std::__cxx11::basic_string<char>, boost::shared_ptr<sfrserver::character> > >, fun::LockType)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:899:60: error: no matching function for call to ‘fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const char [5], std::vector<fun::attributevalue>&, fun::LockType&, std::vector<std::pair<fun::attributevalue, boost::shared_ptr<fun::object=""> > >)’ Object::Fetch(model, "Name", key_values, lock_type, &objs); ^ In file included from /usr/include/funapi.h:32:0, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/funapi/object/object.h:101:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const Id&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:101:22: note: candidate expects 3 arguments, 5 provided /usr/include/funapi/object/object.h:104:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const boost::shared_ptr<fun::attributevalue>&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:104:22: note: candidate expects 4 arguments, 5 provided /usr/include/funapi/object/object.h:109:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMap&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:109:22: note: candidate expects 3 arguments, 5 provided /usr/include/funapi/object/object.h:113:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const ObjectIdVector&, fun::LockType, fun::Object::ObjectIdObjectPairVector) static void Fetch( ^ /usr/include/funapi/object/object.h:113:15: note: candidate expects 4 arguments, 5 provided /usr/include/funapi/object/object.h:117:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const AttributeValueVector&, fun::LockType, fun::Object::AttributeValueObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:117:15: note: no known conversion for argument 3 from ‘std::vector<fun::attributevalue>’ to ‘const AttributeValueVector& {aka const std::vector<boost::shared_ptr<fun::attributevalue> >&}’ /usr/include/funapi/object/object.h:123:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMapVector&, fun::LockType, fun::Object::AttributeMapObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:123:15: note: candidate expects 4 arguments, 5 provided /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static boost::shared_ptr<sfrserver::user> sfrserver::User::Create(const string&)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: error: no match for ‘operator=’ (operand types are ‘std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<fun::attributevalue> >::mapped_type {aka boost::shared_ptr<fun::attributevalue>}’ and ‘fun::AttributeValue’) key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:500:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(const boost::shared_ptr<t>&) [with T = fun::AttributeValue] shared_ptr & operator=( shared_ptr const & r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:500:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘const boost::shared_ptr<fun::attributevalue>&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:509:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(const boost::shared_ptr<y>&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=(shared_ptr<y> const & r) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:509:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: note: ‘fun::AttributeValue’ is not derived from ‘const boost::shared_ptr<x>’ key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:520:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::auto_ptr<_Up>&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( std::auto_ptr<y> & r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:520:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: note: ‘fun::AttributeValue’ is not derived from ‘std::auto_ptr<y>’ key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::auto_ptr<_Up>&&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( std::auto_ptr<y> && r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:529:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: note: ‘fun::AttributeValue’ is not derived from ‘std::auto_ptr<y>’ key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:551:18: note: candidate: template<class y,="" class="" d=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(std::unique_ptr<_Up, _Ep>&&) [with Y = Y; D = D; T = fun::AttributeValue] shared_ptr & operator=( std::unique_ptr<y, d=""> && r ) ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:551:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: note: ‘fun::AttributeValue’ is not derived from ‘std::unique_ptr<_Tp, _Dp>’ key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:587:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::shared_ptr<t>&&) [with T = fun::AttributeValue] shared_ptr & operator=( shared_ptr && r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:587:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘boost::shared_ptr<fun::attributevalue>&&’ /usr/include/boost/smart_ptr/shared_ptr.hpp:594:18: note: candidate: template<class y=""> boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::shared_ptr<y>&&) [with Y = Y; T = fun::AttributeValue] shared_ptr & operator=( shared_ptr<y> && r ) BOOST_NOEXCEPT ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:594:18: note: template argument deduction/substitution failed: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1132:20: note: ‘fun::AttributeValue’ is not derived from ‘boost::shared_ptr<x>’ key_params["Id"] = AttributeValue(id); ^ In file included from /usr/include/boost/smart_ptr/weak_ptr.hpp:18:0, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /root/sfrserver-source/src/object_model/../object_model/common.h:12, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/boost/smart_ptr/shared_ptr.hpp:604:18: note: candidate: boost::shared_ptr<t>& boost::shared_ptr<t>::operator=(boost::detail::sp_nullptr_t) [with T = fun::AttributeValue; boost::detail::sp_nullptr_t = std::nullptr_t] shared_ptr & operator=( boost::detail::sp_nullptr_t ) BOOST_NOEXCEPT // nev ^ /usr/include/boost/smart_ptr/shared_ptr.hpp:604:18: note: no known conversion for argument 1 from ‘fun::AttributeValue’ to ‘boost::detail::sp_nullptr_t {aka std::nullptr_t}’ /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static boost::shared_ptr<sfrserver::user> sfrserver::User::FetchById(const string&, fun::LockType)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1200:69: error: no matching function for call to ‘fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const char [3], fun::AttributeValue&, fun::LockType&)’ Ptr<object> obj = Object::Fetch(model, "Id", key_value, lock_type); ^ In file included from /usr/include/funapi.h:32:0, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/funapi/object/object.h:101:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const Id&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:101:22: note: candidate expects 3 arguments, 4 provided /usr/include/funapi/object/object.h:104:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const boost::shared_ptr<fun::attributevalue>&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:104:22: note: no known conversion for argument 3 from ‘fun::AttributeValue’ to ‘const boost::shared_ptr<fun::attributevalue>&’ /usr/include/funapi/object/object.h:109:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMap&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:109:22: note: candidate expects 3 arguments, 4 provided /usr/include/funapi/object/object.h:113:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const ObjectIdVector&, fun::LockType, fun::Object::ObjectIdObjectPairVector) static void Fetch( ^ /usr/include/funapi/object/object.h:113:15: note: no known conversion for argument 2 from ‘const char [3]’ to ‘const ObjectIdVector& {aka const std::vector<boost::uuids::uuid>&}’ /usr/include/funapi/object/object.h:117:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const AttributeValueVector&, fun::LockType, fun::Object::AttributeValueObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:117:15: note: candidate expects 5 arguments, 4 provided /usr/include/funapi/object/object.h:123:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMapVector&, fun::LockType, fun::Object::AttributeMapObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:123:15: note: no known conversion for argument 2 from ‘const char [3]’ to ‘const AttributeValueMapVector& {aka const std::vector<std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<fun::attributevalue> > >&}’ /root/sfrserver-source/src/object_model/sfrserver_object.cc: In static member function ‘static void sfrserver::User::FetchById(const std::vector<std::__cxx11::basic_string<char> >&, std::vector<std::pair<std::__cxx11::basic_string<char>, boost::shared_ptr<sfrserver::user> > >, fun::LockType)’: /root/sfrserver-source/src/object_model/sfrserver_object.cc:1226:58: error: no matching function for call to ‘fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const char [3], std::vector<fun::attributevalue>&, fun::LockType&, std::vector<std::pair<fun::attributevalue, boost::shared_ptr<fun::object=""> > >)’ Object::Fetch(model, "Id", key_values, lock_type, &objs); ^ In file included from /usr/include/funapi.h:32:0, from /root/sfrserver-source/src/object_model/../object_model/common.h:17, from /root/sfrserver-source/src/object_model/../sfrserver_object.h:12, from /root/sfrserver-source/src/object_model/sfrserver_object.cc:10: /usr/include/funapi/object/object.h:101:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const Id&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:101:22: note: candidate expects 3 arguments, 5 provided /usr/include/funapi/object/object.h:104:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const boost::shared_ptr<fun::attributevalue>&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:104:22: note: candidate expects 4 arguments, 5 provided /usr/include/funapi/object/object.h:109:22: note: candidate: static boost::shared_ptr<fun::object> fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMap&, fun::LockType) static Ptr<object> Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:109:22: note: candidate expects 3 arguments, 5 provided /usr/include/funapi/object/object.h:113:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const ObjectIdVector&, fun::LockType, fun::Object::ObjectIdObjectPairVector) static void Fetch( ^ /usr/include/funapi/object/object.h:113:15: note: candidate expects 4 arguments, 5 provided /usr/include/funapi/object/object.h:117:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const string&, const AttributeValueVector&, fun::LockType, fun::Object::AttributeValueObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:117:15: note: no known conversion for argument 3 from ‘std::vector<fun::attributevalue>’ to ‘const AttributeValueVector& {aka const std::vector<boost::shared_ptr<fun::attributevalue> >&}’ /usr/include/funapi/object/object.h:123:15: note: candidate: static void fun::Object::Fetch(const boost::shared_ptr<const fun::objectmodel="">&, const AttributeValueMapVector&, fun::LockType, fun::Object::AttributeMapObjectPairVector) static void Fetch(const Ptr<const objectmodel=""> &model, ^ /usr/include/funapi/object/object.h:123:15: note: candidate expects 4 arguments, 5 provided src/CMakeFiles/sfrserver.dir/build.make:250: 'src/CMakeFiles/sfrserver.dir/object_model/sfrserver_object.cc.o' 타겟에 대한 명령이 실패했습니다 make[2]: * [src/CMakeFiles/sfrserver.dir/object_model/sfrserver_object.cc.o] 오류 1 CMakeFiles/Makefile2:269: 'src/CMakeFiles/sfrserver.dir/all' 타겟에 대한 명령이 실패했습니다 make[1]: [src/CMakeFiles/sfrserver.dir/all] 오류 2 Makefile:149: 'all' 타겟에 대한 명령이 실패했습니다 make: ** [all] 오류 2