Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4939

compilation error of hsclient.cpp

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 5.3.12
    • N/A
    • Compiling
    • None
    • linux/debian 6, intel compiler 11

    Description

      libtool: link: icpc -I./../libhsclient -O3 -mssse3 -fno-implicit-templates -fno-exceptions -fno-rtti -fimplicit-templates -O3 -mssse3 -rdynamic -o hsclient hsclient-hsclient.o  -L/devel/mariadb-5.3.12/plugin/handler_socket/libhsclient /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a -lcrypt -lnsl -lm -lpthread -lrt
      icpc: command line warning #10006: ignoring unknown option '-fimplicit-templates'
      hsclient-hsclient.o: In function `main':
      hsclient.cpp:(.text+0x682): undefined reference to `std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&)'
      hsclient.cpp:(.text+0x789): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_insert_aux(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, dena::string_ref const&)'
      hsclient.cpp:(.text+0xb9c): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::string> >*)'
      hsclient-hsclient.o: In function `dena::hstcpcli_main(int, char**)':
      hsclient.cpp:(.text+0x12e6): undefined reference to `std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&)'
      hsclient.cpp:(.text+0x13e2): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_insert_aux(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, dena::string_ref const&)'
      hsclient.cpp:(.text+0x17de): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::string> >*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::config::get_str(std::string const&, std::string const&) const':
      config.cpp:(.text+0x1b): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&) const'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::config::get_int(std::string const&, long long) const':
      config.cpp:(.text+0xe0): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&) const'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-config.o): In function `dena::parse_args(int, char**, dena::config&)':
      config.cpp:(.text+0x233): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_lower_bound(std::_Rb_tree_node<std::pair<std::string const, std::string> >*, std::_Rb_tree_node<std::pair<std::string const, std::string> >*, std::string const&)'
      config.cpp:(.text+0x288): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_insert_unique_(std::_Rb_tree_const_iterator<std::pair<std::string const, std::string> >, std::pair<std::string const, std::string> const&)'
      config.cpp:(.text+0x31e): undefined reference to `std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::find(std::string const&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-hstcpcli.o): In function `dena::hstcpcli::get_next_row()':
      hstcpcli.cpp:(.text+0x4040): undefined reference to `std::vector<dena::string_ref, std::allocator<dena::string_ref> >::_M_fill_insert(__gnu_cxx::__normal_iterator<dena::string_ref*, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >, unsigned long, dena::string_ref const&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::atoi_uint32_nocheck(char const*, char const*)':
      string_util.cpp:(.text+0x62): undefined reference to `unsigned int dena::atoi_tmpl_nocheck<unsigned int>(char const*, char const*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::atoll_nocheck(char const*, char const*)':
      string_util.cpp:(.text+0x72): undefined reference to `long long dena::atoi_signed_tmpl_nocheck<long long>(char const*, char const*)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_ref const&, dena::string_ref*, unsigned long)':
      string_util.cpp:(.text+0x222): undefined reference to `unsigned long dena::split_tmpl_arr<dena::string_ref>(char, dena::string_ref const&, dena::string_ref*, unsigned long)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_wref const&, dena::string_wref*, unsigned long)':
      string_util.cpp:(.text+0x232): undefined reference to `unsigned long dena::split_tmpl_arr<dena::string_wref>(char, dena::string_wref const&, dena::string_wref*, unsigned long)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_ref const&, std::vector<dena::string_ref, std::allocator<dena::string_ref> >&)':
      string_util.cpp:(.text+0x242): undefined reference to `unsigned long dena::split_tmpl_vec<dena::string_ref, std::vector<dena::string_ref, std::allocator<dena::string_ref> > >(char, dena::string_ref const&, std::vector<dena::string_ref, std::allocator<dena::string_ref> >&)'
      /devel/mariadb-5.3.12/plugin/handler_socket/libhsclient/.libs/libhsclient.a(libhsclient_la-string_util.o): In function `dena::split(char, dena::string_wref const&, std::vector<dena::string_wref, std::allocator<dena::string_wref> >&)':
      string_util.cpp:(.text+0x252): undefined reference to `unsigned long dena::split_tmpl_vec<dena::string_wref, std::vector<dena::string_wref, std::allocator<dena::string_wref> > >(char, dena::string_wref const&, std::vector<dena::string_wref, std::allocator<dena::string_wref> >&)'
      make[3]: *** [hsclient] Error 1
      make[3]: Leaving directory `/devel/mariadb-5.3.12/plugin/handler_socket/client'

      Attachments

        Activity

          People

            Unassigned Unassigned
            gfischer gfischer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.