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

Compilation failure with libwrap

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.10
    • Fix Version/s: 10.0.12
    • Component/s: None
    • Labels:
      None
    • Environment:
      Slackware-current

      Description

      Trying to compile MariaDB on Slackware-current with -DWITH_LIBWRAP=ON results in a compilation failure:

      [ 31%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o
      In file included from /tmp/mariadb-10.0.10/include/my_sys.h:34:0,
                       from /tmp/mariadb-10.0.10/sql/sql_plugin.h:43,
                       from /tmp/mariadb-10.0.10/sql/mysqld.cc:17:
      /tmp/mariadb-10.0.10/sql/mysqld.cc: In function ‘void handle_connections_sockets()’:
      /tmp/mariadb-10.0.10/sql/mysqld.cc:6203:31: error: ‘connection_tcpwrap_errors’ was not declared in this scope
                 statistic_increment(connection_tcpwrap_errors, &LOCK_status);
                                     ^
      /tmp/mariadb-10.0.10/include/my_pthread.h:809:35: note: in definition of macro ‘statistic_increment’
       #define statistic_increment(V,L) (V)++
                                         ^
      make[2]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 1
      make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
      make: *** [all] Error 2

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            pprkut Heinz Wiesinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: