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

fil0pagecompress.cc fails to compile with lzo 2.10

    XMLWordPrintable

Details

    Description

      lzo2.10 :

       
      storage/innobase/CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o
      cd /usr/src/mariadb/build-10.2.8/storage/innobase && /usr/bin/c++   -DBTR_CUR_ADAPT -DBTR_CUR_HASH_ADAPT -DCOMPILER_HINTS -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE=1 -DHAVE_IB_LINUX_FUTEX=1 -DHAVE_LZO=1 -DHAVE_NANOSLEEP=1 -DHAVE_SCHED_GETCPU=1 -DLINUX_NATIVE_AIO=1 -DMUTEX_EVENT -D_FILE_OFFSET_BITS=64 -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -I/usr/src/mariadb/build-10.2.8/include -I/usr/src/mariadb/10.2.8/storage/innobase/include -I/usr/src/mariadb/10.2.8/storage/innobase/handler -I/usr/src/mariadb/10.2.8/libbinlogevents/include -I/usr/src/mariadb/10.2.8/include -I/usr/src/mariadb/10.2.8/sql -I/usr/local/openssl/1.0.2h/include    -DUNIV_LINUX -D_GNU_SOURCE=1  -fvisibility=hidden -o CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o -c /usr/src/mariadb/10.2.8/storage/innobase/fil/fil0pagecompress.cc
      /usr/src/mariadb/10.2.8/storage/innobase/fil/fil0pagecompress.cc: In function ‘byte* fil_compress_page(fil_space_t*, byte*, byte*, ulint, ulint, ulint, bool, ulint*)’:
      /usr/src/mariadb/10.2.8/storage/innobase/fil/fil0pagecompress.cc:185:69: error: invalid conversion from ‘ulint* {aka unsigned int*}’ to ‘lzo_uint* {aka long unsigned int*}’ [-fpermissive]
      /usr/include/lzo/lzo1x.h:105:1: error:   initializing argument 4 of ‘int lzo1x_1_15_compress(const unsigned char*, lzo_uint, unsigned char*, lzo_uint*, void*)’ [-fpermissive]
      /usr/src/mariadb/10.2.8/storage/innobase/fil/fil0pagecompress.cc: In function ‘void fil_decompress_page(byte*, byte*, ulong, ulint*, bool)’:
      /usr/src/mariadb/10.2.8/storage/innobase/fil/fil0pagecompress.cc:526:52: error: invalid conversion from ‘ulint* {aka unsigned int*}’ to ‘lzo_uint* {aka long unsigned int*}’ [-fpermissive]
      /usr/include/lzo/lzo1x.h:56:1: error:   initializing argument 4 of ‘int lzo1x_decompress(const unsigned char*, lzo_uint, unsigned char*, lzo_uint*, void*)’ [-fpermissive]
      

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            jplindst Jan Lindström (Inactive)
            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.