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

Compile on Solaris (SPARC) fails with errors in filamvct.cpp

    XMLWordPrintable

Details

    • 10.0.24, 10.0.25

    Description

      Doing a manual compile on Solaris. After setting the C, CXX, PATH and LD_LIBRARY_PATH variables I took the following steps:

      1. cd <src_dir>
      2. mkdir bld
      3. cd bld
      4. cmake ..
      5. make VERBOSE=1
      Relevant make output

      [ 87%] Building CXX object storage/connect/CMakeFiles/connect.dir/filamvct.cpp.o
      cd /opt/install/mariadb-10.0.21/bld/storage/connect && /opt/csw/bin/g++  -m64  -DFORCE_INIT_OF_VARS -DHAVE_CONFIG_H -DHAVE_RWLOCK_T -DHUGE_SUPPORT -DLIBXML2_SUPPORT -DLINUX -DMARIADB -DMYSQL_DYNAMIC_PLUGIN -DPIVOT_SUPPORT -DUBUNTU -DUNIX -DXMAP -DZIP_SUPPORT -Dconnect_EXPORTS -m64  -fno-exceptions -fno-rtti -fpermissive -fexceptions -fPIC  -O2 -g -DNDEBUG -DDBUG_OFF -fPIC -I/opt/install/mariadb-10.0.21/bld/include -I/opt/install/mariadb-10.0.21/include -I/opt/install/mariadb-10.0.21/sql -I/opt/install/mariadb-10.0.21/bld/pcre -I/opt/install/mariadb-10.0.21/pcre -I/opt/install/mariadb-10.0.21/extra/yassl/include -I/opt/install/mariadb-10.0.21/extra/yassl/taocrypt/include -I/usr/include/libxml2    -Wall -Wmissing-declarations -Wno-write-strings -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-parentheses -o CMakeFiles/connect.dir/filamvct.cpp.o -c /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:23: error: ‘char* strerror(int)’ conflicts with a previous declaration
       char *strerror(int num);
                             ^
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: previous declaration ‘char* std::strerror(int)’
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VCTFAM::MakeEmptyFile(PGLOBAL, char*)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:401:68: error: call of overloaded ‘strerror(int&)’ is ambiguous
         sprintf(g->Message, MSG(MAKE_EMPTY_FILE), To_File, strerror(errno));
                                                                          ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:401:68: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VCTFAM::WriteBuffer(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:730:75: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(WRITE_STRERROR), To_File, strerror(errno));
                                                                                 ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:730:75: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VCTFAM::DeleteRecords(PGLOBAL, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:843:66: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(TRUNCATE_ERROR), strerror(errno));
                                                                        ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:843:66: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VCTFAM::MoveIntermediateLines(PGLOBAL, bool*)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:941:65: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(READ_SEEK_ERROR), strerror(errno));
                                                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:941:65: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:965:66: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(WRITE_SEEK_ERR), strerror(errno));
                                                                        ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:965:66: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:970:67: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(DEL_WRITE_ERROR), strerror(errno));
                                                                         ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:970:67: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:998:65: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(DEL_WRITE_ERROR), strerror(errno));
                                                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:998:65: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VCTFAM::CleanUnusedSpace(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1040:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(WRITE_SEEK_ERR), strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1040:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1045:65: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(DEL_WRITE_ERROR), strerror(errno));
                                                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1045:65: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1062:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(WRITE_SEEK_ERR), strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1062:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1067:65: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(DEL_WRITE_ERROR), strerror(errno));
                                                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1067:65: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VCTFAM::ReadBlock(PGLOBAL, PVCTCOL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1222:57: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(FSEEK_ERROR), strerror(errno));
                                                               ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1222:57: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1234:38: error: call of overloaded ‘strerror(int&)’ is ambiguous
                     To_File, strerror(errno));
                                            ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1234:38: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VCTFAM::WriteBlock(PGLOBAL, PVCTCOL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1273:57: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(FSEEK_ERROR), strerror(errno));
                                                               ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1273:57: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1285:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
                   (UseTemp) ? To_Fbt->Fname : To_File, strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1285:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1288:47: error: call of overloaded ‘strerror(int&)’ is ambiguous
             htrc("Write error: %s\n", strerror(errno));
                                                     ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1288:47: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VCMFAM::DeleteRecords(PGLOBAL, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1695:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(TRUNCATE_ERROR), strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:1695:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VECFAM::WriteBuffer(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2176:75: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(WRITE_STRERROR), To_File, strerror(errno));
                                                                                 ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2176:75: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VECFAM::DeleteRecords(PGLOBAL, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2281:66: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(TRUNCATE_ERROR), strerror(errno));
                                                                        ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2281:66: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VECFAM::MoveIntermediateLines(PGLOBAL, bool*)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2386:67: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(READ_SEEK_ERROR), strerror(errno));
                                                                         ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2386:67: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2402:66: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(WRITE_SEEK_ERR), strerror(errno));
                                                                        ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2402:66: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2407:65: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(DEL_WRITE_ERROR), strerror(errno));
                                                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2407:65: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VECFAM::RenameTempFile(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2456:51: error: call of overloaded ‘strerror(int&)’ is ambiguous
                       filename, filetemp, strerror(errno));
                                                         ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2456:51: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2460:51: error: call of overloaded ‘strerror(int&)’ is ambiguous
                       tempname, filename, strerror(errno));
                                                         ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2460:51: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2465:41: error: call of overloaded ‘strerror(int&)’ is ambiguous
                       filetemp, strerror(errno));
                                               ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2465:41: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VECFAM::ReadBlock(PGLOBAL, PVCTCOL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2566:57: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(FSEEK_ERROR), strerror(errno));
                                                               ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2566:57: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2585:33: error: call of overloaded ‘strerror(int&)’ is ambiguous
                     fn, strerror(errno));
                                       ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2585:33: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool VECFAM::WriteBlock(PGLOBAL, PVCTCOL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2622:59: error: call of overloaded ‘strerror(int&)’ is ambiguous
             sprintf(g->Message, MSG(FSEEK_ERROR), strerror(errno));
                                                                 ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2622:59: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2637:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(WRITE_STRERROR), fn, strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2637:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2640:47: error: call of overloaded ‘strerror(int&)’ is ambiguous
             htrc("Write error: %s\n", strerror(errno));
                                                     ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2640:47: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int VMPFAM::DeleteRecords(PGLOBAL, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2995:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
               sprintf(g->Message, MSG(TRUNCATE_ERROR), strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:2995:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘bool BGVFAM::BigRead(PGLOBAL, HANDLE, void*, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3118:60: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(READ_ERROR), fn, strerror(errno));
                                                                  ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3118:60: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘bool BGVFAM::BigWrite(PGLOBAL, HANDLE, void*, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3172:64: error: call of overloaded ‘strerror(int&)’ is ambiguous
           sprintf(g->Message, MSG(WRITE_STRERROR), fn, strerror(errno));
                                                                      ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3172:64: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool BGVFAM::MakeEmptyFile(PGLOBAL, char*)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3409:68: error: call of overloaded ‘strerror(int&)’ is ambiguous
         sprintf(g->Message, MSG(MAKE_EMPTY_FILE), To_File, strerror(errno));
                                                                          ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3409:68: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool BGVFAM::OpenTableFile(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3601:38: error: call of overloaded ‘strerror(int&)’ is ambiguous
           strcat(g->Message, strerror(errno));
                                            ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3601:38: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual int BGVFAM::DeleteRecords(PGLOBAL, int)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3910:66: error: call of overloaded ‘strerror(int&)’ is ambiguous
                 sprintf(g->Message, MSG(TRUNCATE_ERROR), strerror(errno));
                                                                        ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3910:66: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp: In member function ‘virtual bool BGVFAM::OpenTempFile(PGLOBAL)’:
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3973:38: error: call of overloaded ‘strerror(int&)’ is ambiguous
           strcat(g->Message, strerror(errno));
                                            ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:3973:38: note: candidates are:
      In file included from /usr/include/string.h:18:0,
                       from /opt/install/mariadb-10.0.21/storage/connect/global.h:9,
                       from /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:51:
      /usr/include/iso/string_iso.h:68:14: note: char* std::strerror(int)
       extern char *strerror(int);
                    ^
      /opt/install/mariadb-10.0.21/storage/connect/filamvct.cpp:70:7: note: char* strerror(int)
       char *strerror(int num);
             ^
      *** Error code 1
      make: Fatal error: Command failed for target `storage/connect/CMakeFiles/connect.dir/filamvct.cpp.o'
      Current working directory /opt/install/mariadb-10.0.21/bld
      *** Error code 1
      make: Fatal error: Command failed for target `storage/connect/CMakeFiles/connect.dir/all'
      Current working directory /opt/install/mariadb-10.0.21/bld
      *** Error code 1
      make: Fatal error: Command failed for target `all'
       

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              troglodyte Eliott Spenser
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.