Error with make on raspberry pi nautilus tags/v14.2.2
On raspberry pi 4 (arm v7 architecture), I am able to do ./install_deps as well as ./do_cmake but when I make, I get the following compile error /home/sharath/os/ceph/src/include/buffer.h:740:12: error: 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)' cannot be overloaded with 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)' void advance(size_t o) { advance(static_cast<unsigned>(o)); } ^~~~~~~ my gcc version is sharath@raspberrypi:~/os/ceph/build $ gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 excerpt from ./do_cmake + cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works Please help
some more relevant info [sharath@raspberrypi /home/sharath]$ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster [sharath@raspberrypi /home/sharath]$ uname -a Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux
On Tue, Sep 24, 2019 at 2:07 AM Sharath Gururaj <e271828r@gmail.com> wrote:
On raspberry pi 4 (arm v7 architecture), I am able to do ./install_deps as well as ./do_cmake but when I make, I get the following compile error
/home/sharath/os/ceph/src/include/buffer.h:740:12: error: 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)' cannot be overloaded with 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)' void advance(size_t o) { advance(static_cast<unsigned>(o)); } ^~~~~~~
Hi Sharath, the fix of this issue was merged in master, but has not made its way to nautilus. see https://github.com/ceph/ceph/pull/28278. if you want to see it in nautilus, probably you could file a tracker ticket and connect it to the PR. so we can start there, and try to backport it with the proper process?
my gcc version is
sharath@raspberrypi:~/os/ceph/build $ gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
excerpt from ./do_cmake
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works
Please help _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
Thanks Kefu, I'm encountering a few more compile errors, I'll try to fix them and report the issues in the ticket. Thanks Sharath On Thu, Sep 26, 2019 at 11:09 AM kefu chai <tchaikov@gmail.com> wrote:
On Tue, Sep 24, 2019 at 2:07 AM Sharath Gururaj <e271828r@gmail.com> wrote:
On raspberry pi 4 (arm v7 architecture), I am able to do ./install_deps
as well as ./do_cmake but when I make, I get the following compile error
/home/sharath/os/ceph/src/include/buffer.h:740:12: error: 'void
ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)' cannot be overloaded with 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)'
void advance(size_t o) { advance(static_cast<unsigned>(o)); } ^~~~~~~
Hi Sharath, the fix of this issue was merged in master, but has not made its way to nautilus. see https://github.com/ceph/ceph/pull/28278. if you want to see it in nautilus, probably you could file a tracker ticket and connect it to the PR. so we can start there, and try to backport it with the proper process?
my gcc version is
sharath@raspberrypi:~/os/ceph/build $ gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
excerpt from ./do_cmake
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works
Please help _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
On Thu, Sep 26, 2019 at 2:10 PM Sharath Gururaj <e271828r@gmail.com> wrote:
Thanks Kefu,
I'm encountering a few more compile errors, I'll try to fix them and report the issues in the ticket.
thanks. also, i'd suggest try master also to see if it's been fixed or not.
Thanks Sharath
On Thu, Sep 26, 2019 at 11:09 AM kefu chai <tchaikov@gmail.com> wrote:
On Tue, Sep 24, 2019 at 2:07 AM Sharath Gururaj <e271828r@gmail.com> wrote:
On raspberry pi 4 (arm v7 architecture), I am able to do ./install_deps as well as ./do_cmake but when I make, I get the following compile error
/home/sharath/os/ceph/src/include/buffer.h:740:12: error: 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(size_t)' cannot be overloaded with 'void ceph::buffer::v14_2_0::list::iterator_impl<is_const>::advance(unsigned int)' void advance(size_t o) { advance(static_cast<unsigned>(o)); } ^~~~~~~
Hi Sharath, the fix of this issue was merged in master, but has not made its way to nautilus. see https://github.com/ceph/ceph/pull/28278. if you want to see it in nautilus, probably you could file a tracker ticket and connect it to the PR. so we can start there, and try to backport it with the proper process?
my gcc version is
sharath@raspberrypi:~/os/ceph/build $ gcc --version gcc (Raspbian 8.3.0-6+rpi1) 8.3.0
excerpt from ./do_cmake
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=RelWithDebInfo .. -- The CXX compiler identification is GNU 8.3.0 -- The C compiler identification is GNU 8.3.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works
Please help _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
-- Regards Kefu Chai
I've made some progress getting the code to compile. I've fixed a few compile errors, but now I'm getting a linker error that I'm not able to figure out. the error occurs during make test_cors [100%] Linking CXX executable ../../bin/test_cors /usr/bin/ld: ../../lib/libcls_otp_client.a(cls_otp_client.cc.o): in function `rados::cls::otp::OTP::check(CephContext*, librados::v14_2_0::IoCtx&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rados::cls::otp::otp_check_t*)': /home/sharath/os/ceph-master/src/cls/otp/cls_otp_client.cc:65: undefined reference to `gen_rand_alphanumeric(CephContext*, char*, int)' But the function gen_rand_alphanumeric which is linked from rgw_common.cc seems to be fine. With make VERBOSE=1 test_cors The exact command which is failing is [sharath@raspberrypi /home/sharath/os/ceph-master/build/src/test]$ /usr/bin/g++ -Wall -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char -Wno-unknown-pragmas -rdynamic -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-unknown-pragmas -Wno-ignored-qualifiers -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -O2 -g -DNDEBUG -pie CMakeFiles/test_cors.dir/test_cors.cc.o -o ../../bin/test_cors -Wl,-rpath,/home/sharath/os/ceph-master/build/lib ../../lib/librgw_a.a ../../lib/libamqp_mock.a ../../lib/libglobal.a /usr/lib/arm-linux-gnueabihf/libblkid.so /usr/lib/arm-linux-gnueabihf/libcurl.so /usr/lib/arm-linux-gnueabihf/libexpat.so -ldl ../../lib/libgmock_main.a ../../lib/libgmock.a ../../lib/libgtest.a -lpthread /usr/lib/arm-linux-gnueabihf/libldap.so /usr/lib/arm-linux-gnueabihf/liblber.so -ldl ../../lib/librados.so.2.0.0 -lrt ../../lib/libcls_otp_client.a ../../lib/libcls_lock_client.a ../../lib/libcls_rgw_client.a ../../lib/libcls_refcount_client.a ../../lib/libcls_log_client.a ../../lib/libcls_timeindex_client.a ../../lib/libcls_version_client.a ../../lib/libcls_user_client.a ../../lib/libceph-common.so.0 /usr/lib/arm-linux-gnueabihf/libblkid.so -lresolv ../../lib/libjson_spirit.a ../../lib/liberasure_code.a -ldl ../../lib/libcrc32.a ../../lib/libarch.a ../../boost/lib/libboost_random.a ../../boost/lib/libboost_program_options.a ../../boost/lib/libboost_iostreams.a ../../boost/lib/libboost_regex.a -lstdc++fs /lib/arm-linux-gnueabihf/libudev.so /usr/lib/arm-linux-gnueabihf/libibverbs.so /usr/lib/arm-linux-gnueabihf/librdmacm.so /usr/lib/arm-linux-gnueabihf/libz.so ../../lib/libcommon_utf8.a /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/liboath.so ../../boost/lib/libboost_coroutine.a ../../boost/lib/libboost_context.a ../../boost/lib/libboost_thread.a ../../boost/lib/libboost_atomic.a ../../boost/lib/libboost_system.a ../../boost/lib/libboost_date_time.a ../../boost/lib/libboost_chrono.a -lpthread -Wl,--as-needed -latomic Just to make sure the symbol is present, i dumped the symbol table for librgw_a.a and the symbols seems to be present. [sharath@raspberrypi /home/sharath/os/ceph-master/build]$ objdump -t lib/librgw_a.a | grep gen_rand_alphanumeric 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_plainP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_upperP11CephContextPci 00000dec g F .text 00000078 _Z27gen_rand_alphanumeric_upperP11CephContextPci 00000e64 g F .text 0000007c _Z27gen_rand_alphanumeric_lowerP11CephContextPci 00000ee0 g F .text 00000068 _Z21gen_rand_alphanumericP11CephContextPci 00000f48 g F .text 00000068 _Z35gen_rand_alphanumeric_no_underscoreP11CephContextPci 00000fb0 g F .text 00000080 _Z27gen_rand_alphanumeric_plainP11CephContextPci 00001da8 g F .text 0000008c _Z27gen_rand_alphanumeric_lowerP11CephContextPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_lowerP11CephContextPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z35gen_rand_alphanumeric_no_underscoreP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_lowerP11CephContextPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z21gen_rand_alphanumericP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_plainP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_upperP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_plainP11CephContextPci 00000000 *UND* 00000000 _Z27gen_rand_alphanumeric_upperP11CephContextPci Furthermore the output from a successful compile on an AMD64 also gives a similar symbol table. Why is the linker not able to find gen_rand_alphanumeric on arm64? Plz help Thanks Sharath
UPDATE: I was able to successfully compile master on raspberry pi after fixing a few compile errors. I was even able build all the debian packages (It took 30 hours) But I really want to stick to a stable release v14.2.2, so I am trying to compile that branch. I managed to fix the first few errors by seeing how it has been fixed on master. But I have got stuck on the following error. It looks like this is something deeper. It seems like it has something to do with the version of c++ itself. Is there any way to fix this error? Please help Thanks. /home/sharath/os/ceph/ceph/src/common/config.cc:174:3: error: no match for ‘operator=’ (operand types are ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >’ and ‘<brace-enclosed initializer list>’) }; ^ In file included from /usr/include/c++/8/map:61, from /home/sharath/os/ceph/ceph/src/include/encoding.h:18, from /home/sharath/os/ceph/ceph/src/include/uuid.h:8, from /home/sharath/os/ceph/ceph/src/include/types.h:21, from /home/sharath/os/ceph/ceph/src/msg/msg_types.h:23, from /home/sharath/os/ceph/ceph/src/common/entity_name.h:20, from /home/sharath/os/ceph/ceph/src/common/ceph_argparse.h:29, from /home/sharath/os/ceph/ceph/src/common/config.cc:17: /usr/include/c++/8/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(const map&) = default; ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:317:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&’ /usr/include/c++/8/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(map&&) = default; ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:321:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&&’ /usr/include/c++/8/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(initializer_list<value_type> __l) ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:335:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >’
On Wed, Oct 16, 2019 at 1:59 AM Sharath Gururaj <e271828r@gmail.com> wrote:
UPDATE: I was able to successfully compile master on raspberry pi after fixing a few compile errors. I was even able build all the debian packages (It took 30 hours)
But I really want to stick to a stable release v14.2.2, so I am trying to compile that branch. I managed to fix the first few errors by seeing how it has been fixed on master.
But I have got stuck on the following error. It looks like this is something deeper. It seems like it has something to do with the version of c++ itself. Is there any way to fix this error?
Please help
Sharath, again, there are a handful fixes addressing the FTBFS issues on armhf/arm64. in this case, it's https://github.com/ceph/ceph/pull/28277 . but i don't suggest you to try to build nautilus on 32bit platform, unless you are capable of identifying the fixes and are interested in backporting these PRs.
Thanks.
/home/sharath/os/ceph/ceph/src/common/config.cc:174:3: error: no match for ‘operator=’ (operand types are ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >’ and ‘<brace-enclosed initializer list>’) }; ^ In file included from /usr/include/c++/8/map:61, from /home/sharath/os/ceph/ceph/src/include/encoding.h:18, from /home/sharath/os/ceph/ceph/src/include/uuid.h:8, from /home/sharath/os/ceph/ceph/src/include/types.h:21, from /home/sharath/os/ceph/ceph/src/msg/msg_types.h:23, from /home/sharath/os/ceph/ceph/src/common/entity_name.h:20, from /home/sharath/os/ceph/ceph/src/common/ceph_argparse.h:29, from /home/sharath/os/ceph/ceph/src/common/config.cc:17: /usr/include/c++/8/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(const map&) = default; ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:317:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&’ /usr/include/c++/8/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(map&&) = default; ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:321:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&&’ /usr/include/c++/8/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’ operator=(initializer_list<value_type> __l) ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h:335:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >’ _______________________________________________ Dev mailing list -- dev@ceph.io To unsubscribe send an email to dev-leave@ceph.io
-- Regards Kefu Chai
participants (2)
-
kefu chai
-
Sharath Gururaj