Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-2790

LP #1038816: Compile error in database.cpp for Percona Server 5.6 alpha

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Roel Van de Paar last update 09-01-2013 04:17:43

      make[2]: Leaving directory `/percona-server/5.6/Percona-Server/storage/HandlerSocket-Plugin-for-MySQL/libhsclient'
      Making all in handlersocket
      make[2]: Entering directory `/percona-server/5.6/Percona-Server/storage/HandlerSocket-Plugin-for-MySQL/handlersocket'
      /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/include -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/regex -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0 -I/usr/local/Percona-Server-5.6.5-alpha60.0-271.Linux.x86_64/include -fPIC -g -static-libgcc -fno-omit-frame-pointer -DPERCONA_INNODB_VERSION=alpha60.0 -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -DDBUG_OFF -I../libhsclient -O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -DPERCONA_INNODB_VERSION=alpha60.0 -Wall -g -fno-rtti -fno-exceptions -fPIC -DPIC -MT handlersocket_la-database.lo -MD -MP -MF .deps/handlersocket_la-database.Tpo -c -o handlersocket_la-database.lo `test -f 'database.cpp' || echo './'`database.cpp
      libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/include -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0/regex -I/percona-server/5.6/Percona-Server-5.6.5-alpha60.0 -I/usr/local/Percona-Server-5.6.5-alpha60.0-271.Linux.x86_64/include -fPIC -g -static-libgcc -fno-omit-frame-pointer -DPERCONA_INNODB_VERSION=alpha60.0 -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -DDBUG_OFF -I../libhsclient -O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -DPERCONA_INNODB_VERSION=alpha60.0 -Wall -g -fno-rtti -fno-exceptions -fPIC -DPIC -MT handlersocket_la-database.lo -MD -MP -MF .deps/handlersocket_la-database.Tpo -c database.cpp -fPIC -DPIC -o .libs/handlersocket_la-database.o
      database.cpp: In member function 'virtual void dena::dbcontext::init_thread(const void*, volatile int&)':
      database.cpp:312:5: error: 'threads' was not declared in this scope
      database.cpp:313:7: error: 'thread_count' was not declared in this scope
      database.cpp: In member function 'virtual void dena::dbcontext::term_thread()':
      database.cpp:351:7: error: 'thread_count' was not declared in this scope
      In file included from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/datadict.h:18:0,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/table.h:23,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/field.h:20,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/unireg.h:172,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/sql_class.h:23,
      from mysql_incl.hpp:26,
      from database.cpp:16:
      /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/handler.h: In member function 'void dena::dbcontext::cmd_find_internal(dena::dbcallback_i&, const dena::prep_stmt&, ha_rkey_function, const dena::cmd_exec_args&)':
      /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/handler.h:1823:15: error: 'virtual int handler::index_prev(uchar*)' is protected
      database.cpp:815:38: error: within this context
      In file included from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/datadict.h:18:0,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/table.h:23,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/field.h:20,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/unireg.h:172,
      from /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/sql_class.h:23,
      from mysql_incl.hpp:26,
      from database.cpp:16:
      /percona-server/5.6/Percona-Server-5.6.5-alpha60.0/sql/handler.h:1820:15: error: 'virtual int handler::index_next(uchar*)' is protected
      database.cpp:819:38: error: within this context
      make[2]: *** [handlersocket_la-database.lo] Error 1
      make[2]: Leaving directory `/percona-server/5.6/Percona-Server/storage/HandlerSocket-Plugin-for-MySQL/handlersocket'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/percona-server/5.6/Percona-Server/storage/HandlerSocket-Plugin-for-MySQL'
      make: *** [all] Error 2

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: