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

Not able to compile source with -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=Debug

    XMLWordPrintable

Details

    • 10.0.30

    Description

      I Pulled the sources from GIT HUB and executed the below commands. Error occurs in make

      $ cmake -DBUILD_CONFIG=mysql_release -DCMAKE_BUILD_TYPE=debug -DWITH_JEMALLOC=yes ../mariadb
       
      $ make
       
      [ 68%] Building CXX object storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o
      In file included from /home/maria/playground/mariadb/zlib/zconf.h:12:0,
                       from /home/maria/playground/mariadb/zlib/zlib.h:34,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/serialize/compress.h:41,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/serialize/sub_block.h:41,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/txn/rollback.h:42,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/logger/log.h:48,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/ft.h:45,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/ft-internal.h:47,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/ft/ft-flusher.h:41,
                       from /home/maria/playground/mariadb/storage/tokudb/PerconaFT/src/ydb.cc:52:
      /home/maria/playground/mariadbeclipse/include/config.h:691:2: error: #error <my_config.h> MUST be included first!
       #error <my_config.h> MUST be included first!
        ^~~~~
      cc1plus: error: unrecognized command line option '-Wno-pointer-bool-conversion' [-Werror]
      cc1plus: all warnings being treated as errors
      storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/build.make:62: recipe for target 'storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o' failed
      make[2]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o] Error 1
      CMakeFiles/Makefile2:6957: recipe for target 'storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/all' failed
      make[1]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/all] Error 2
      Makefile:160: recipe for target 'all' failed
      make: *** [all] Error 2
      

      Same error i got when i compiled with Kubuntu as well.

      Attachments

        Activity

          People

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